Bug 1856577 - shared storage volume fails to mount in IPV6 environment
Summary: shared storage volume fails to mount in IPV6 environment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhhi
Version: rhhiv-1.8
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: RHHI-V 1.8.z Batch Update 5
Assignee: Gobinda Das
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On: 1856574
Blocks: RHHI-V_1.8_Release_Notes
TreeView+ depends on / blocked
 
Reported: 2020-07-14 02:01 UTC by SATHEESARAN
Modified: 2021-06-16 07:39 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: Known Issue
Doc Text:
When gluster volumes are created with the ‘gluster_shared_storage’ option during the deployment of RHHI for Virtualization using IPv6 addresses, the mount option is not added in the ‘fstab’ file. As a result, the shared storage fails to mount. To workaround this issue, add mount option as xlator-option=transport.address-family=inet6' in the ‘fstab’ file.
Clone Of: 1856574
Environment:
Last Closed: 2021-06-16 07:39:12 UTC
Embargoed:


Attachments (Terms of Use)

Description SATHEESARAN 2020-07-14 02:01:11 UTC
Description of problem:
-----------------------
In an IPV6 only setup, enabling the shared-storage, created the 'gluster_shared_storage' volume with IPV6 FQDNs, but while adding the fstab mount options there is no IPV6 specific mount options added and the volume fails to mount

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHGS 3.5.2

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

Steps to Reproduce:
--------------------
1. Create IPV6 only setup, no IPV4
2. Create geo-rep master volume using IPV6 FQDN
3. Enable shared-storage
4. Verify that the shared storage is mounted

Actual results:
----------------
Shared storage fails to mount

Expected results:
------------------
Shared storage should get mounted

Additional info:
----------------
entry in fstab:
---------------
rhsqa-grafton7-ipv6.lab.eng.blr.redhat.com:/gluster_shared_storage /run/gluster/shared_storage glusterfs defaults 0 0

Error in mounting
-----------------
<snip>
[2020-07-13 09:54:09.316039] I [MSGID: 100030] [glusterfsd.c:2858:main] 0-/usr/sbin/glusterfs: Started running /usr/sbin/glusterfs version 6.0 (args: /usr/sbin/glusterfs --process-name fuse --volfile-server=rhsqa-grafton7-ipv6.lab.eng.blr.redhat.com --volfile-id=/gluster_shared_storage /run/gluster/shared_storage)
[2020-07-13 09:54:09.317134] I [glusterfsd.c:2567:daemonize] 0-glusterfs: Pid of current running process is 1879648
[2020-07-13 09:54:09.321866] E [MSGID: 101075] [common-utils.c:508:gf_resolve_ip6] 0-resolver: getaddrinfo failed (family:2) (Name or service not known)
[2020-07-13 09:54:09.321891] E [name.c:266:af_inet_client_get_remote_sockaddr] 0-glusterfs: DNS resolution failed on host rhsqa-grafton7-ipv6.lab.eng.blr.redhat.com
[2020-07-13 09:54:09.322047] I [glusterfsd-mgmt.c:2443:mgmt_rpc_notify] 0-glusterfsd-mgmt: disconnected from remote-host: rhsqa-grafton7-ipv6.lab.eng.blr.redhat.com
[2020-07-13 09:54:09.322082] I [glusterfsd-mgmt.c:2463:mgmt_rpc_notify] 0-glusterfsd-mgmt: Exhausted all volfile servers
[2020-07-13 09:54:09.322124] I [MSGID: 101190] [event-epoll.c:688:event_dispatch_epoll_worker] 0-epoll: Started thread with index 0
[2020-07-13 09:54:09.322149] I [MSGID: 101190] [event-epoll.c:688:event_dispatch_epoll_worker] 0-epoll: Started thread with index 1
[2020-07-13 09:54:09.322171] W [glusterfsd.c:1581:cleanup_and_exit] (-->/lib64/libgfrpc.so.0(+0xf5b3) [0x7fc5ab8935b3] -->/usr/sbin/glusterfs(+0x13c97) [0x564f0d191c97] -->/usr/sbin/glusterfs(cleanup_and_exit+0x58) [0x564f0d1866b8] ) 0-: received signum (1), shutting down
[2020-07-13 09:54:09.322195] I [fuse-bridge.c:6917:fini] 0-fuse: Unmounting '/run/gluster/shared_storage'.
[2020-07-13 09:54:09.334362] I [fuse-bridge.c:6922:fini] 0-fuse: Closing fuse connection to '/run/gluster/shared_storage'.
[2020-07-13 09:54:09.334496] W [glusterfsd.c:1581:cleanup_and_exit] (-->/lib64/libpthread.so.0(+0x82de) [0x7fc5aa66c2de] -->/usr/sbin/glusterfs(glusterfs_sigwaiter+0xfd) [0x564f0d18686d] -->/usr/sbin/glusterfs(cleanup_and_exit+0x58) [0x564f0d1866b8] ) 0-: received signum (15), shutting down
</snip>

--- Additional comment from SATHEESARAN on 2020-07-14 01:59:03 UTC ---

Error is gone with adding fstab mount option as 'xlator-option=transport.address-family=inet6'

Comment 4 Gobinda Das 2020-09-25 09:31:56 UTC
The depnedent RHGS bug is targeted for 3.5.4

Comment 7 SATHEESARAN 2021-05-03 17:11:45 UTC
Verified with RHVH 4.4.6 and RHGS 3.5.4

1. Created IPV6 RHHI-V setup
2. Enable shared-storage

shared-storage is created and mounted as required


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