<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>Hi all,</div>
<div><br>
</div>
<div>I'm trying to deploy a simple GlusterFS cluster on CentOS using Virtualbox. I only have two nodes (gluster-node1 and gluster-node4) with two bricks each and I'm creating a volume with replica level 2.&nbsp;</div>
<div><br>
</div>
<div>When I issue the volume create command on gluster-node4 I get this error: 'Host gluster-node1.test not connected'. The glustersd daemon is running on both host and if I check the peer status it returns 'State: Peer in Cluster (Disconnected)' on both host.&nbsp;</div>
<div>I checked the /var/log/glusterfs/etc-glusterfs-glusterd.vol.log file on gluster-node4 and found this error 'E [socket.c:2157:socket_connect_finish] 0-management: connection to 192.168.1.61:24007 failed (No route to host)', but if I try to ping or ssh to
 the gluster-node1 host it works without any problem.</div>
<div><br>
</div>
<div>As far as I can see there is no rule in iptables that would block this connection and I can see a route in the routing table.</div>
<div><br>
</div>
<div>#&nbsp;iptables --list -n</div>
<div>Chain INPUT (policy ACCEPT)</div>
<div>target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div>ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state RELATED,ESTABLISHED&nbsp;</div>
<div>ACCEPT &nbsp; &nbsp; icmp -- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div>ACCEPT &nbsp; &nbsp; all &nbsp;-- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div>ACCEPT &nbsp; &nbsp; tcp &nbsp;-- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; state NEW tcp dpt:22&nbsp;</div>
<div>REJECT &nbsp; &nbsp; all &nbsp;-- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reject-with icmp-host-prohibited&nbsp;</div>
<div><br>
</div>
<div>Chain FORWARD (policy ACCEPT)</div>
<div>target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div>
<div>REJECT &nbsp; &nbsp; all &nbsp;-- &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0/0 &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; reject-with icmp-host-prohibited&nbsp;</div>
<div><br>
</div>
<div>Chain OUTPUT (policy ACCEPT)</div>
<div>target &nbsp; &nbsp; prot opt source &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; destination</div>
<div><br>
</div>
<div>#&nbsp;route -n</div>
<div>Kernel IP routing table</div>
<div>Destination &nbsp; &nbsp; Gateway &nbsp; &nbsp; &nbsp; &nbsp; Genmask &nbsp; &nbsp; &nbsp; &nbsp; Flags Metric Ref &nbsp; &nbsp;Use Iface</div>
<div>192.168.1.0 &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.0 &nbsp; U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1</div>
<div>10.0.2.0 &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.255.0 &nbsp; U &nbsp; &nbsp; 0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0</div>
<div>169.254.0.0 &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1002 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0</div>
<div>169.254.0.0 &nbsp; &nbsp; 0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 255.255.0.0 &nbsp; &nbsp; U &nbsp; &nbsp; 1003 &nbsp; 0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth1</div>
<div>0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; 10.0.2.2 &nbsp; &nbsp; &nbsp; &nbsp;0.0.0.0 &nbsp; &nbsp; &nbsp; &nbsp; UG &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp;0 &nbsp; &nbsp; &nbsp; &nbsp;0 eth0</div>
<div><br>
</div>
<div>(eth1 is an Host-only interface on the Vbox VMs)</div>
<div><br>
</div>
<div>Am I missing something? Any suggestions?</div>
<div><br>
</div>
<div>Thanks,</div>
<div>
<div>
<div style="font-family: Consolas; font-size: medium; ">
<div><span style="font-family: Calibri; ">--</span></div>
<div><span style="font-family: Calibri; ">Daniele Stroppa</span></div>
<div><span style="font-family: Calibri; ">Researcher</span></div>
<div><span style="font-family: Calibri; ">Institute of Information Technology</span></div>
<div><span style="font-family: Calibri; ">Zürich University of Applied Sciences</span></div>
<div><a href="http://www.cloudcomp.ch/" style="color: purple; "><span style="font-family: Calibri; ">http://www.cloudcomp.ch</span></a></div>
</div>
</div>
<br>
</div>
</body>
</html>