[Gluster-users] 0-resolver: getaddrinfo failed (Name or service not known)

Volnei volnei at vcplinux.com.br
Fri Jul 11 17:33:03 UTC 2014


Hi,

I'm running glusterfs on a subnet, which has no DNS resolution.
I put the IPs and hostnames in /etc/hosts.
But during boot, the glusterd.service not initialize due to the error 
showed below.
However, after boot, via the command line, if I start the service, it 
starts normally.


What can be happening?

There is two NIC's on server:
eth0: 192.168.1.100
eth1: 192.168.2.11  (used by glusterfs)

/etc/hosts
192.168.2.11    g01-s1r-srv02
192.168.2.31    g01-s2r-srv01


Thank in advance.



[2014-07-11 17:13:28.221572] I [glusterfsd.c:1959:main] 
0-/usr/sbin/glusterd: Started running /usr/sbin/glusterd version 3.5.1 
(/usr/sbin/glusterd -p /run/glusterd.pid)
[2014-07-11 17:13:28.230218] I [glusterd.c:1122:init] 0-management: 
Using /var/lib/glusterd as working directory
[2014-07-11 17:13:28.233746] I [socket.c:3561:socket_init] 
0-socket.management: SSL support is NOT enabled
[2014-07-11 17:13:28.233762] I [socket.c:3576:socket_init] 
0-socket.management: using system polling thread
[2014-07-11 17:13:28.236122] W [rdma.c:4194:__gf_rdma_ctx_create] 
0-rpc-transport/rdma: rdma_cm event channel creation failed (No such device)
[2014-07-11 17:13:28.236137] E [rdma.c:4482:init] 0-rdma.management: 
Failed to initialize IB Device
[2014-07-11 17:13:28.236143] E [rpc-transport.c:333:rpc_transport_load] 
0-rpc-transport: 'rdma' initialization failed
[2014-07-11 17:13:28.236179] W [rpcsvc.c:1521:rpcsvc_transport_create] 
0-rpc-service: cannot create listener, initing the transport failed
[2014-07-11 17:13:28.236230] I [socket.c:3561:socket_init] 
0-socket.management: SSL support is NOT enabled
[2014-07-11 17:13:28.236238] I [socket.c:3576:socket_init] 
0-socket.management: using system polling thread
[2014-07-11 17:13:28.237929] I 
[glusterd.c:367:glusterd_check_gsync_present] 0-glusterd: 
geo-replication module not installed in the system
[2014-07-11 17:13:28.356802] I 
[glusterd-store.c:1421:glusterd_restore_op_version] 0-glusterd: 
retrieved op-version: 30501
[2014-07-11 17:13:28.467890] E 
[glusterd-store.c:1979:glusterd_store_retrieve_volume] 0-: Unknown key: 
brick-0
[2014-07-11 17:13:28.467968] E 
[glusterd-store.c:1979:glusterd_store_retrieve_volume] 0-: Unknown key: 
brick-1
[2014-07-11 17:13:29.781633] I 
[glusterd-handler.c:2912:glusterd_friend_add] 0-management: connect 
returned 0
[2014-07-11 17:13:29.781775] I [rpc-clnt.c:972:rpc_clnt_connection_init] 
0-management: setting frame-timeout to 600
[2014-07-11 17:13:29.781878] I [socket.c:3561:socket_init] 0-management: 
SSL support is NOT enabled
[2014-07-11 17:13:29.781907] I [socket.c:3576:socket_init] 0-management: 
using system polling thread
[2014-07-11 17:13:29.782032] E [common-utils.c:222:gf_resolve_ip6] 
0-resolver: getaddrinfo failed (Name or service not known)
[2014-07-11 17:13:29.782059] E 
[name.c:249:af_inet_client_get_remote_sockaddr] 0-management: DNS 
resolution failed on host 192.168.2.31
[2014-07-11 17:13:29.782224] I [glusterd.c:138:glusterd_uuid_init] 
0-management: retrieved UUID: 8b002a56-b3cb-47e9-9e82-e6438de89b78
[2014-07-11 17:13:29.782994] E [glusterd-utils.c:186:glusterd_unlock] 
0-management: Cluster lock not held!
[2014-07-11 17:13:29.783438] E 
[glusterd-store.c:2632:glusterd_resolve_all_bricks] 0-glusterd: resolve 
brick failed in restore
[2014-07-11 17:13:29.783469] E [xlator.c:403:xlator_init] 0-management: 
Initialization of volume 'management' failed, review your volfile again
[2014-07-11 17:13:29.783489] E [graph.c:307:glusterfs_graph_init] 
0-management: initializing translator failed
[2014-07-11 17:13:29.783508] E [graph.c:502:glusterfs_graph_activate] 
0-graph: init failed
[2014-07-11 17:13:29.784591] W [glusterfsd.c:1095:cleanup_and_exit] 
(-->/usr/sbin/glusterd(main+0x421) [0x7fbb2b2a3a81] 
(-->/usr/sbin/glusterd(glusterfs_volumes_init+0xd8) [0x7fbb2b2a69c8] 
(-->/usr/sbin/glusterd(glusterfs_process_volfp+0x106) 
[0x7fbb2b2a68a6]))) 0-: received signum (0), shutting down



More information about the Gluster-users mailing list