[Gluster-users] 'Host not connected' when creating a volume on VBox VMs

Stroppa Daniele (strp) strp at zhaw.ch
Thu Aug 15 14:27:00 UTC 2013

Hi all,

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.

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.
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 failed (No route to host)', but if I try to ping or ssh to the gluster-node1 host it works without any problem.

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.

# iptables --list -n
Chain INPUT (policy ACCEPT)
target     prot opt source               destination
ACCEPT     all  --             state RELATED,ESTABLISHED
ACCEPT     icmp --  
ACCEPT     all  --  
ACCEPT     tcp  --             state NEW tcp dpt:22
REJECT     all  --             reject-with icmp-host-prohibited

Chain FORWARD (policy ACCEPT)
target     prot opt source               destination
REJECT     all  --             reject-with icmp-host-prohibited

Chain OUTPUT (policy ACCEPT)
target     prot opt source               destination

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface   U     0      0        0 eth1   U     0      0        0 eth0     U     1002   0        0 eth0     U     1003   0        0 eth1         UG    0      0        0 eth0

(eth1 is an Host-only interface on the Vbox VMs)

Am I missing something? Any suggestions?

Daniele Stroppa
Institute of Information Technology
Zürich University of Applied Sciences

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20130815/ba3c58ac/attachment.html>

More information about the Gluster-users mailing list