Bug 1840971
Summary: | vdsm should use the switch '--inet6' for querying gluster volume info with '--remote-host' | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
Component: | rhhi | Assignee: | Gobinda Das <godas> | |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | urgent | Docs Contact: | ||
Priority: | high | |||
Version: | rhhiv-1.8 | CC: | rcyriac, rhs-bugs | |
Target Milestone: | --- | |||
Target Release: | RHHI-V 1.8 | |||
Hardware: | x86_64 | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | vdsm-4.40.22-1.el8ev.x86_64 | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1840998 1841076 (view as bug list) | Environment: | ||
Last Closed: | 2020-08-04 14:52:32 UTC | Type: | Bug | |
Regression: | --- | Mount Type: | --- | |
Documentation: | --- | CRM: | ||
Verified Versions: | Category: | --- | ||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
Cloudforms Team: | --- | Target Upstream Version: | ||
Embargoed: | ||||
Bug Depends On: | 1840998, 1841076 | |||
Bug Blocks: | 1721383, 1779977 |
Description
SATHEESARAN
2020-05-28 03:07:49 UTC
Following is the comment from Sanju: ------------------------------------- I see that the command is failing if we specify a hostname instead of IPv6: [root@newhost ~]# gluster --remote-host=myhost.lab.eng.blr.redhat.com volume list Connection failed. Please check if gluster daemon is operational. [root@newhost ~]# when we add --inet6 option to the cli, it works: [root@newhost ~]# gluster --remote-host=myhost.lab.eng.blr.redhat.com --inet6 volume list testrep [root@newhost ~]# I believe, this option is added to differentiate whether the given hostname corresponds to IPv4 or IPv6 address. @Sas, Do you think any changes are needed? Thanks, Sanju ------------------------------- So vdsm-gluster code should try to use '--inet6' when the host uses IPV6 hostnames Tested with vdsm-4.40.21-1.el8ev.x86_64 On a IPv4 only setup, this check fails and adds '--inet6' to IPv4 hostnames as well, which leads to failure to mount gluster volumes The dependent vdsm bug is already ON_QA Tested with vdsm-4.40.22-1.el8ev.x86_64 When using IPV6 FQDN, the additional token for gluster command '--inet6' is used when querying for volume information Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (RHHI for Virtualization 1.8 bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2020:3314 |