Bug 1688243 - Gluster IPV6 storage domain requires additional mount options
Summary: Gluster IPV6 storage domain requires additional mount options
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.6
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHHI-V 1.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1688245
Blocks: RHHI-V-1.8-Engineering-Backlog-BZs
TreeView+ depends on / blocked
 
Reported: 2019-03-13 11:54 UTC by SATHEESARAN
Modified: 2020-08-04 14:51 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, RHHI for Virtualization did not support IPv6 addresses for deployment. With this release, RHHI for Virtualization supports IPv6 addresses, with an additional parameter 'xlator-option="transport.address-family=inet6 added to the web console for the successful creation of the storage domain during Hosted Engine deployment.
Clone Of:
: 1688245 (view as bug list)
Environment:
Last Closed: 2020-08-04 14:50:55 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:51:21 UTC

Description SATHEESARAN 2019-03-13 11:54:40 UTC
Description of problem:
-----------------------
To mount the gluster volume with IPv6 address, the additional mount option 'xlator-option="transport.address-family=inet6"' is required


Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHVH 4.3
RHGS 3.4.4 ( glusterfs-3.12.2-47 )

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

Steps to Reproduce:
-------------------
1. Mount the gluster volume with IPV6 server address

Actual results:
---------------
Mount fails

Expected results:
-----------------
Additional mount option - 'xlator-option="transport.address-family=inet6" is required

Comment 2 Sahina Bose 2019-03-29 13:48:12 UTC
LGTM

Comment 8 SATHEESARAN 2020-05-29 06:32:29 UTC
Tested with cockpit-ovirt-dashboard-0.14.6

The mount options are provided inside double quotes, which ansible logic,
adds that inside another double quotes and leads to the error in interpolation.

I would suggest to use single quotes, which when inscribed inside the double quotes will never cause a problem


In the HE storage configuration text the following mount options is auto-populated:
backup-volfile-servers=rhsqa-grafton8-ipv6.lab.eng.blr.redhat.com:rhsqa-grafton9-ipv6.lab.eng.blr.redhat.com,xlator-option="transport.address-family=inet6"


Error in the ansible log file:

The error appears to be in '/var/lib/ovirt-hosted-engine-setup/cockpit/ansibleVarFileilCOOw.var': line 10, column 144, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

he_storage_domain_addr: rhsqa-grafton7-ipv6.lab.eng.blr.redhat.com
he_mount_options: "backup-volfile-servers=rhsqa-grafton8-ipv6.lab.eng.blr.redhat.com:rhsqa-grafton9-ipv6.lab.eng.blr.redhat.com,xlator-option="transport.address-family=inet6""
                                                                                                                                               ^ here

Verdict: Its safe to replace double quotes with single quotes

Comment 11 SATHEESARAN 2020-07-12 13:50:26 UTC
Verified with RHVH 4.4.1 and cockpit-ovirt-dashboard-0.14.9.el8rhgs

HE storage domain and storage domains provided at the the time of deployment
are added to cluster with the right set of IPV6 options, when enabled

Comment 21 errata-xmlrpc 2020-08-04 14:50:55 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.