[Bugs] [Bug 1117886] Gluster not resolving hosts with IPv6 only lookups
bugzilla at redhat.com
bugzilla at redhat.com
Mon May 23 08:41:14 UTC 2016
https://bugzilla.redhat.com/show_bug.cgi?id=1117886
bing.kaibing at ericsson.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bing.kaibing at ericsson.com
--- Comment #37 from bing.kaibing at ericsson.com ---
(In reply to Vijay Bellur from comment #36)
> COMMIT: http://review.gluster.org/11988 committed in master by Jeff Darcy
> (jdarcy at redhat.com)
> ------
> commit 46bd29e0f2a7fc9278068a06d12066d614f365ec
> Author: Nithin D <nithind1988 at yahoo.in>
> Date: Sun Nov 15 22:14:43 2015 +0530
>
> glusterd: Bug fixes for IPv6 support
>
> Problem:
> Glusterd not working using ipv6 transport. The idea is with proper
> glusterd.vol configuration,
> 1. glusterd needs to listen on default port (240007) as IPv6 TCP listner.
> 2. Volume creation/deletion/mounting/add-bricks/delete-bricks/peer-probe
> needs to work using ipv6 addresses.
> 3. Bricks needs to listen on ipv6 addresses.
> All the above functionality is needed to say that glusterd supports ipv6
> transport and this is broken.
>
> Fix:
> When "option transport.address-family inet6" option is present in
> glusterd.vol
> file, it is made sure that glusterd creates listeners using ipv6 sockets
> only and also the same information is saved
> inside brick volume files used by glusterfsd brick process when they are
> starting.
>
> Tests Run:
> Regression tests using ./run-tests.sh
> IPv4: Ran manually till tests/basic/rpm.t .
> IPv6: (Need to add the above mentioned config and also add an entry
> for "hostname ::1" in /etc/hosts)
> Started failing at ./tests/basic/glusterd/arbiter-volume-probe.t
> and ran successfully till here
>
> Unit Tests using Ipv6
> peer probe
> add-bricks
> remove-bricks
> create volume
> replace-bricks
> start volume
> stop volume
> delete volume
>
> Change-Id: Iebc96e6cce748b5924ce5da17b0114600ec70a6e
> BUG: 1117886
> Signed-off-by: Nithin D <nithind1988 at yahoo.in>
> Reviewed-on: http://review.gluster.org/11988
> Smoke: Gluster Build System <jenkins at build.gluster.com>
> NetBSD-regression: NetBSD Build System <jenkins at build.gluster.org>
> CentOS-regression: Gluster Build System <jenkins at build.gluster.com>
> Reviewed-by: Atin Mukherjee <amukherj at redhat.com>
> Reviewed-by: Jeff Darcy <jdarcy at redhat.com>
Hi,
I still meet the same problem in an IPv6-only environment after follow your
suggestion . please help, Here is my env informations:
# glusterfsd --version
glusterfs 3.7.11 built on Apr 27 2016 14:09:20
Repository revision: git://git.gluster.com/glusterfs.git
Copyright (c) 2006-2013 Red Hat, Inc. <http://www.redhat.com/>
GlusterFS comes with ABSOLUTELY NO WARRANTY.
It is licensed to you under your choice of the GNU Lesser
General Public License, version 3 or any later version (LGPLv3
or later), or the GNU General Public License, version 2 (GPLv2),
in all cases as published by the Free Software Foundation.
=====
netstat -anop | grep gluster
tcp 0 0 :::24007 :::*
LISTEN 10770/glusterd off (0.00/0/0)
unix 2 [ ACC ] STREAM LISTENING 647165 10770/glusterd
/var/run/glusterd.socket
unix 2 [ ] DGRAM 647160 10770/glusterd
===== error when execute "gluster peer prob typhoon-adf-rr2-eth2"
[2016-05-23 08:31:55.179633] I [MSGID: 106487]
[glusterd-handler.c:1239:__glusterd_handle_cli_probe] 0-glusterd: Received CLI
probe req typhoon-adf-rr2-eth2 24007
[2016-05-23 08:31:55.198211] I [MSGID: 106129]
[glusterd-handler.c:3661:glusterd_probe_begin] 0-glusterd: Unable to find
peerinfo for host: typhoon-adf-rr2-eth2 (24007)
[2016-05-23 08:31:55.202330] I [rpc-clnt.c:1004:rpc_clnt_connection_init]
0-management: setting frame-timeout to 600
[2016-05-23 08:31:55.208240] E [MSGID: 101075]
[common-utils.c:306:gf_resolve_ip6] 0-resolver: getaddrinfo failed (Temporary
failure in name resolution)
[2016-05-23 08:31:55.208285] E [name.c:247:af_inet_client_get_remote_sockaddr]
0-management: DNS resolution failed on host typhoon-adf-rr2-eth2
[2016-05-23 08:31:55.210194] I [MSGID: 106498]
[glusterd-handler.c:3589:glusterd_friend_add] 0-management: connect returned 0
[2016-05-23 08:31:55.210340] I [MSGID: 106004]
[glusterd-handler.c:5200:__glusterd_peer_rpc_notify] 0-management: Peer
<typhoon-adf-rr2-eth2> (<00000000-0000-0000-0000-000000000000>), in state
<Establishing Connection>, has disconnected from glusterd.
====== IPv6 can reach typhoon-adf-rr2-eth2
ping6 typhoon-adf-rr2-eth2
PING typhoon-adf-rr2-eth2(typhoon-adf-rr2-eth2) 56 data bytes
64 bytes from typhoon-adf-rr2-eth2: icmp_seq=1 ttl=64 time=1.98 ms
64 bytes from typhoon-adf-rr2-eth2: icmp_seq=2 ttl=64 time=0.256 ms
64 bytes from typhoon-adf-rr2-eth2: icmp_seq=3 ttl=64 time=0.289 ms
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug https://bugzilla.redhat.com/token.cgi?t=73WQsVQVz2&a=cc_unsubscribe
More information about the Bugs
mailing list