Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 18:27:08 +1100
From:      "Wilkinson, Alex" <alex.wilkinson@cba.com.au>
To:        freebsd-fs@freebsd.org
Subject:   HAST -  Unable to receive request header: Socket is not connected (10.0-BETA1)
Message-ID:  <20131029072708.GC86932@margz.perth.internal>

next in thread | raw e-mail | index | archive | help
Hi all,

Using FreeBSD 10.0-BETA1, setting up a HAST cluster as such:

   listen tcp://0.0.0.0

   on host-a {
               listen tcp4://172.18.3.11
   }
   on host-b {
               listen tcp4://172.18.3.12
   }

   resource export {
           on host-a {
                   local /dev/mfid0p4
                   remote tcp4://172.18.3.12
           }
           on host-b {
                   local /dev/mfid0p4
                   remote tcp4://172.18.3.11
           }
   }


Running hastd in foreground + debug on primary I see:

   [DEBUG][2] Checking hooks.
   [DEBUG][2] [export] (primary) remote_send: Taking request.
   [DEBUG][2] [export] (primary) remote_guard: Checking connections.
   [DEBUG][2] Checking hooks.
   [DEBUG][2] [export] (primary) remote_guard: Reconnecting to tcp4://172.18.3.12.
   [DEBUG][1] [export] (primary) Negotiated protocol version 2.
   [WARNING] [export] (primary) Data size differs between nodes (local=128819612160, remote=128848941568).
   [DEBUG][2] [export] (primary) remote_guard: Reconnect to tcp4://172.18.3.12 failed.
   [DEBUG][2] Checking hooks.
   [DEBUG][2] Checking hooks.
   [DEBUG][2] [export] (primary) remote_send: Taking request.
   [DEBUG][2] [export] (primary) remote_guard: Checking connections.
   [DEBUG][2] [export] (primary) remote_guard: Reconnecting to tcp4://172.18.3.12.
   [DEBUG][1] [export] (primary) Negotiated protocol version 2.
   [WARNING] [export] (primary) Data size differs between nodes (local=128819612160, remote=128848941568).
   [DEBUG][2] [export] (primary) remote_guard: Reconnect to tcp4://172.18.3.12 failed.

Running hastd in foreground + debug on secondary I see:

   [INFO] Connection from tcp://172.18.3.11:41306 to tcp://172.18.3.12:8457.
   [DEBUG][2] tcp://172.18.3.11:41306: resource=export
   [DEBUG][2] tcp://172.18.3.11:41306: version=0
   [DEBUG][1] Negotiated protocol version 1.
   [DEBUG][1] [export] (secondary) Outgoing connection to tcp://172.18.3.11:41306 configured.
   [DEBUG][1] [export] (secondary) Obtained info about /dev/mfid0p4.
   [DEBUG][1] [export] (secondary) Locked /dev/mfid0p4.
   [DEBUG][1] [export] (secondary) Privileges successfully dropped using capsicum+jail+setgid+setuid.
   [INFO] [export] (secondary) Privileges successfully dropped.
   [DEBUG][2] [export] (secondary) [DEBUG][2]disk: Taking request.
   [DEBUG][2] [export] (secondary) recv: Taking free request.
   [DEBUG][2] [export] (secondary) recv: (0x80204a330) Got request.
    [export] (secondary) send: Taking request.
   [ERROR] [export] (secondary) Unable to receive request header: Socket is not connected.
   [DEBUG][1] Unable to receive event header: Socket is not connected.
   [DEBUG][2] Checking hooks.
   [ERROR] [export] (secondary) Worker process exited ungracefully (pid=2341, exitcode=75).

I can successfully open a socket via netcat.

Any ideas ?

   -Alex

************** IMPORTANT MESSAGE *****************************       
This e-mail message is intended only for the addressee(s) and contains information which may be
confidential. 
If you are not the intended recipient please advise the sender by return email, do not use or
disclose the contents, and delete the message and any attachments from your system. Unless
specifically indicated, this email does not constitute formal advice or commitment by the sender
or the Commonwealth Bank of Australia (ABN 48 123 123 124) or its subsidiaries. 
We can be contacted through our web site: commbank.com.au. 
If you no longer wish to receive commercial electronic messages from us, please reply to this
e-mail by typing Unsubscribe in the subject line. 
**************************************************************






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131029072708.GC86932>