From owner-freebsd-fs@FreeBSD.ORG Tue Oct 29 07:28:27 2013 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 13A5F5EC for ; Tue, 29 Oct 2013 07:28:27 +0000 (UTC) (envelope-from alex.wilkinson@cba.com.au) Received: from igw12blk.cba.com.au (igwx12.cba.com.au [140.168.71.12]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 7D56F2FB7 for ; Tue, 29 Oct 2013 07:28:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=cba.com.au; i=@cba.com.au; q=dns/txt; s=CBAdkim-110609; t=1383031706; x=1698391706; h=date:from:to:subject:message-id:mime-version; bh=F5nG2ua62MfRZP928i9y5itlGcy65GdbhA6q5ai8DTk=; b=daDRqaunsstXNF7dMXD6olluguMIG86hhQ0C7mtAmrOHdnEM5zxEg+pw Ho3hY+v+gEssS/bgQPn56gQcrGUICA==; X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,591,1378821600"; d="scan'208";a="75458985" Received: from unknown (HELO aaunswc27.au.cbainet.com) ([10.30.10.34]) by igw12.cba.com.au with ESMTP; 29 Oct 2013 18:27:13 +1100 Received: from margz.perth.internal ([10.138.102.216]) by aaunswc27.au.cbainet.com with Microsoft SMTPSVC(6.0.3790.4675); Tue, 29 Oct 2013 18:27:13 +1100 Date: Tue, 29 Oct 2013 18:27:08 +1100 From: "Wilkinson, Alex" 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> Mail-Followup-To: freebsd-fs@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Organisation: Commonwealth Bank Australia X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.21 (2010-09-15) X-OriginalArrivalTime: 29 Oct 2013 07:27:13.0310 (UTC) FILETIME=[4968EBE0:01CED478] X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 29 Oct 2013 07:28:27 -0000 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. **************************************************************