GlusterFS: "0-management: connection attempt failed"

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
peter_b
Chatterbox
Posts: 370
Joined: Tue Nov 12, 2013 2:05 am

GlusterFS: "0-management: connection attempt failed"

Post by peter_b »

[PROBLEM]
On a 3-node glusterfs v3.4.6 setup on Debian 7 (Wheezy), I got "/var/log/glusterfs/etc-glusterfs-glusterd.vol.log" flooded with the following error/warning about "Connection refused" ever 3 seconds (!):

Code: Select all

[2015-03-23 12:54:47.965886] I [glusterd-handler.c:2172:__glusterd_handle_friend_update] 0-: Received my uuid as Friend
[2015-03-23 12:54:51.499622] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
[2015-03-23 12:54:54.500224] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
[2015-03-23 12:54:57.500839] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
[2015-03-23 12:55:00.501423] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
[2015-03-23 12:55:03.502059] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
...
...
[2015-03-24 11:26:51.831856] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
[2015-03-24 11:26:54.832377] E [socket.c:2872:socket_connect] 0-management: connection attempt failed (Connection refused)
The share can be mounted, the data is accessible without problems, but the logs say that something's not running smoothly :(


[SOLUTION]
This seems to be caused by issue #976750, where turning off NFS support causes these connection attempt failures.
It should already be fixed in v3.4.1, but that doesn't seem to be true.

Workaround: Don't disable NFS support ;)

Code: Select all

$ gluster volume set $GLUSTER_VOL nfs.disable off
Post Reply