Bug 1749387 - The default glusterfs client is not initiating AAAA resolution for IPv6 based glusterfs servers and hence could not connect
Summary: The default glusterfs client is not initiating AAAA resolution for IPv6 based...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: unclassified
Version: 6
Hardware: All
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: bugs@gluster.org
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-09-05 13:59 UTC by Ppal
Modified: 2020-02-24 06:33 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2020-02-24 06:33:21 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Ppal 2019-09-05 13:59:47 UTC
Trying to connect to a glusterfs server running over IPv6. Glusterfs fuse was not able to connect to the glusterfs server. TCP dump revealed that DNS queries are initiated only for A records (IPv4) and not for AAAA record (IPv6). 

It is possible that the glusterfs client needs to be separately rebuilt for IPv6 with --with-ipv6-default  option set. But could not fund a glusterfs client debian which is built for IPv6. 

Do we need separate glusterfs binary or is there a CLI option to connect to IPv6 without rebuilding the glusterfs binary with --with-ipv6-default  flag?

Comment 2 Ppal 2019-09-05 14:01:29 UTC
Running glusterfs 6.5

Comment 4 Nithya Balachandran 2019-11-05 10:38:20 UTC
(In reply to Ppal from comment #2)
> Running glusterfs 6.5

As this is an upstream release, changing the product accordingly.

Comment 5 Mohit Agrawal 2020-02-24 06:33:21 UTC
You can mount the volume after using the command-language argument -o xlator-option="transport.address-family=inet6" to connect with the volume on IPV6.You have to change the default address address-family also to inet6 in /etc/glusterfs/glusterd.vol to mount the volume successfully.


The issue is already fixed from the patch (https://review.gluster.org/#/c/glusterfs/+/21948/) and a patch is already merged in releases so I am closing the bug.

Please reopen it if you face any issue.

Thanks,
Mohit Agrawal


Note You need to log in before you can comment on or make changes to this bug.