<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. </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. </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># iptables --list -n</div>
<div>Chain INPUT (policy ACCEPT)</div>
<div>target prot opt source destination </div>
<div>ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 state RELATED,ESTABLISHED </div>
<div>ACCEPT icmp -- 0.0.0.0/0 0.0.0.0/0 </div>
<div>ACCEPT all -- 0.0.0.0/0 0.0.0.0/0 </div>
<div>ACCEPT tcp -- 0.0.0.0/0 0.0.0.0/0 state NEW tcp dpt:22 </div>
<div>REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited </div>
<div><br>
</div>
<div>Chain FORWARD (policy ACCEPT)</div>
<div>target prot opt source destination </div>
<div>REJECT all -- 0.0.0.0/0 0.0.0.0/0 reject-with icmp-host-prohibited </div>
<div><br>
</div>
<div>Chain OUTPUT (policy ACCEPT)</div>
<div>target prot opt source destination</div>
<div><br>
</div>
<div># route -n</div>
<div>Kernel IP routing table</div>
<div>Destination Gateway Genmask Flags Metric Ref Use Iface</div>
<div>192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1</div>
<div>10.0.2.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0</div>
<div>169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0</div>
<div>169.254.0.0 0.0.0.0 255.255.0.0 U 1003 0 0 eth1</div>
<div>0.0.0.0 10.0.2.2 0.0.0.0 UG 0 0 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>