GlusterFS share via IPv6 is not working (missing option)

poly01

Member
Mar 4, 2021
5
1
8
Hi,

at the moment I'm struggeling with GlusterFS shares via IPv6.

I noticed that GlusterFS needs the option xlator-option="transport.address-family=inet6" when calling the mount function.
Otherwise IPv6 hosts cannot be reached.
See: https://milindchangireblog.wordpress.com/2019/02/01/how-to-set-up-glusterfs-for-ipv6-communication

The exact error message from the GlusterFS-log is:
Code:
E [MSGID: 101075] [common-utils.c:497:gf_resolve_ip6] 0-resolver: error in getaddrinfo [{family=2}, {ret=No address associated with hostname}]
E [name.c:265:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host <FQDN>

Via various bug trackers I have seen that corresponding adjustments were made for platforms like oVirt.
See: https://bugzilla.redhat.com/show_bug.cgi?id=1688245

Until now I haven't not found a way to pass this option via Proxmox.
Is this a known issue or did I skip a note in the documentation?
Maybe someone knows a workaround?

Tested with Proxmox VE 6.3-4 on Debian Buster and GlusterFS 5.5, 8 and 9.

best regards
poly01
 
Hello,

thank you for pointing this out! Doing so is really not possible at the moment. It would be great if you could create a request for this on bugzilla.proxmox.com

As workaround, you can mount your GlusterFS storage manually using "mount" and then create a PVE directory storage on the mount path.
 
Hello,

thank you for pointing this out! Doing so is really not possible at the moment. It would be great if you could create a request for this on bugzilla.proxmox.com

As workaround, you can mount your GlusterFS storage manually using "mount" and then create a PVE directory storage on the mount path.

Thanks for your reply.

I created a request for this on bugzilla.proxmox.com.

https://bugzilla.proxmox.com/show_bug.cgi?id=3343
 
  • Like
Reactions: Dominic