Bug 1840971 - vdsm should use the switch '--inet6' for querying gluster volume info with '--remote-host'
Summary: vdsm should use the switch '--inet6' for querying gluster volume info with '-...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.8
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1840998 1841076
Blocks: 1721383 RHHI-V-1.8-Engineering-Inflight-BZs
TreeView+ depends on / blocked
 
Reported: 2020-05-28 03:07 UTC by SATHEESARAN
Modified: 2020-08-04 14:52 UTC (History)
2 users (show)

Fixed In Version: vdsm-4.40.22-1.el8ev.x86_64
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 1840998 1841076 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:52:32 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2020:3314 0 None None None 2020-08-04 14:52:54 UTC

Description SATHEESARAN 2020-05-28 03:07:49 UTC
Description of problem:
------------------------
When attempting for RHHI-V deployment with static IPv6, gluster deployment is successful while the hosted-engine deployment fails

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
vdsm-gluster-4.40.16-1.el8ev.x86_64

How reproducible:
-----------------
Always

Steps to Reproduce:
------------------
1. Start RHHI-V deployment with static IPV6

Actual results:
---------------
HE deployment fails while creating the target storage domain

Expected results:
-----------------
HE deployment should be successful

Additional info:

Comment 3 SATHEESARAN 2020-05-28 09:51:45 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

Comment 6 SATHEESARAN 2020-07-02 16:25:15 UTC
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

Comment 7 SATHEESARAN 2020-07-09 07:06:16 UTC
The dependent vdsm bug is already ON_QA

Comment 8 SATHEESARAN 2020-07-12 14:04:42 UTC
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

Comment 9 errata-xmlrpc 2020-08-04 14:52:32 UTC
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


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