|
|
74096c |
From 818025e467ea98b32a855c92ba6aef6e172e029f Mon Sep 17 00:00:00 2001
|
|
|
74096c |
From: Nikhil Ladha <nladha@redhat.com>
|
|
|
74096c |
Date: Fri, 8 Jan 2021 13:12:46 +0530
|
|
|
74096c |
Subject: [PATCH 518/526] glusterd: Fix for shared storage in ipv6 env
|
|
|
74096c |
|
|
|
74096c |
Issue:
|
|
|
74096c |
Mounting shared storage volume was failing in ipv6 env if the hostnames were FQDNs.
|
|
|
74096c |
The brickname for the volume was being cut off, as a result, volume creation was failing.
|
|
|
74096c |
|
|
|
74096c |
>Change-Id: Ib38993724c709b35b603f9ac666630c50c932c3e
|
|
|
74096c |
>Fixes: #1406
|
|
|
74096c |
>Signed-off-by: nik-redhat <nladha@redhat.com>
|
|
|
74096c |
Upstream patch: https://github.com/gluster/glusterfs/pull/1972
|
|
|
74096c |
|
|
|
74096c |
BUG: 1856574
|
|
|
74096c |
|
|
|
74096c |
Change-Id: Ib38993724c709b35b603f9ac666630c50c932c3e
|
|
|
74096c |
Signed-off-by: nik-redhat <nladha@redhat.com>
|
|
|
74096c |
Reviewed-on: https://code.engineering.redhat.com/gerrit/223248
|
|
|
74096c |
Tested-by: RHGS Build Bot <nigelb@redhat.com>
|
|
|
74096c |
Reviewed-by: Ravishankar Narayanankutty <ravishankar@redhat.com>
|
|
|
74096c |
---
|
|
|
74096c |
extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh | 2 +-
|
|
|
74096c |
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
74096c |
|
|
|
74096c |
diff --git a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
|
|
|
74096c |
index 9597503..e9261af 100755
|
|
|
74096c |
--- a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
|
|
|
74096c |
+++ b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
|
|
|
74096c |
@@ -46,7 +46,7 @@ do
|
|
|
74096c |
|
|
|
74096c |
key=`echo $line | cut -d ':' -f 1`
|
|
|
74096c |
if [ "$key" == "Hostname" ]; then
|
|
|
74096c |
- hostname=`echo $line | cut -d ':' -f 2 | xargs`
|
|
|
74096c |
+ hostname=`echo $line | cut -d ' ' -f 2 | xargs`
|
|
|
74096c |
fi
|
|
|
74096c |
|
|
|
74096c |
if [ "$key" == "State" ]; then
|
|
|
74096c |
--
|
|
|
74096c |
1.8.3.1
|
|
|
74096c |
|