Sjon Hortensius
2014-Jun-05 15:20 UTC
[Gluster-users] Gluster-3.5.0 Refusing to connect over ipv6
After a bit of a struggle to get glusterfsd to listen to ipv6; I am now having problems trying to get the servers to 'peer probe' each other. I have tried peer probe on a ipv6-only hostname and an ipv6 address; but there doesn't seem to be any progress. common-utils.c:248:gf_resolve_ip6 always returns ipv4 addresses for hostnames while passing an ipv6 address results in "getaddrinfo failed (Address family for hostname not supported)" I suspect this is caused by rpc_transport_inet_options_build which does "dict_set_str (dict, "transport.address-family", "inet");"; which I think should be "inet/inet6" Can anybody confirm or deny this? Might there be a way to override this from the configuration? If any further information is useful I'll be happy to supply it. Thanks, Sjon Hortensius -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140605/336ed37d/attachment.html>
Justin Clift
2014-Jun-05 18:07 UTC
[Gluster-users] Gluster-3.5.0 Refusing to connect over ipv6
On 05/06/2014, at 4:20 PM, Sjon Hortensius wrote:> After a bit of a struggle to get glusterfsd to listen to ipv6; I am now having problems trying to get the servers to 'peer probe' each other. > > I have tried peer probe on a ipv6-only hostname and an ipv6 address; but there doesn't seem to be any progress. > > common-utils.c:248:gf_resolve_ip6 always returns ipv4 addresses for hostnames while passing an ipv6 address results in "getaddrinfo failed (Address family for hostname not supported)" > > I suspect this is caused by rpc_transport_inet_options_build which does "dict_set_str (dict, "transport.address-family", "inet");"; which I think should be "inet/inet6" > > Can anybody confirm or deny this? Might there be a way to override this from the configuration? If any further information is useful I'll be happy to supply it.From memory, IPv6 support is something we're working on for GlusterFS 3.6. It's probably not something we'd really recommend with the current releases. :( + Justin -- Open Source and Standards @ Red Hat twitter.com/realjustinclift