Bug 1688245 - Gluster IPV6 storage domain requires additional mount options
Summary: Gluster IPV6 storage domain requires additional mount options
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: cockpit-ovirt
Classification: oVirt
Component: gluster-ansible
Version: 0.12.4
Hardware: x86_64
OS: Linux
medium
high
Target Milestone: ovirt-4.4.1
: 0.14.8
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1688243 1721383
TreeView+ depends on / blocked
 
Reported: 2019-03-13 11:55 UTC by SATHEESARAN
Modified: 2020-08-05 06:24 UTC (History)
5 users (show)

Fixed In Version: cockpit-ovirt-0.14.8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1688243
Environment:
Last Closed: 2020-08-05 06:24:36 UTC
oVirt Team: Gluster
Embargoed:
sasundar: ovirt-4.4?


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 105054 0 master MERGED Added mount option for ipv6 based deployment 2020-07-15 06:53:20 UTC
oVirt gerrit 109333 0 master MERGED Removed quote from IPv6 mount options 2020-07-15 06:53:20 UTC

Description SATHEESARAN 2019-03-13 11:55:57 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 SATHEESARAN 2019-11-21 09:58:42 UTC
This option should go along with backup-volfile-server option as

backup-volfile-servers=rhhi-node2.example.com:rhhi-node3.example.com,xlator-option="transport.address-family=inet6"

Comment 3 Gobinda Das 2019-11-21 10:00:41 UTC
This also required for singlenode deployment without "backup-volfile-servers=rhhi-node2.example.com:rhhi-node3.example.com"

Comment 4 Yaniv Kaul 2020-01-16 14:44:22 UTC
Gerrit link for patch is merged. Why is this on POST?

Comment 5 Gobinda Das 2020-01-16 15:21:48 UTC
Moved to MODIFIED, thought of gerrit would have done.

Comment 7 SATHEESARAN 2020-05-29 06:32:10 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 8 SATHEESARAN 2020-05-29 17:13:53 UTC
Also I have found that for the additional storage domains, this mount option : xlator-option=transport.address-family=inet6 is missing

Comment 10 Sandro Bonazzola 2020-06-04 12:06:10 UTC
Moving to 4.4.1 since 4.4.0 has been already released

Comment 11 SATHEESARAN 2020-07-12 13:49:38 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 12 Sandro Bonazzola 2020-08-05 06:24:36 UTC
This bugzilla is included in oVirt 4.4.1 release, published on July 8th 2020.

Since the problem described in this bug report should be resolved in oVirt 4.4.1 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


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