8 Star 0 Fork 5

src-anolis-os/glusterfs

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
0518-glusterd-Fix-for-shared-storage-in-ipv6-env.patch 1.55 KB
一键复制 编辑 原始数据 按行查看 历史
renbo02 提交于 2021-12-27 14:44 . update to glusterfs-6.0-56.4.el8
From 818025e467ea98b32a855c92ba6aef6e172e029f Mon Sep 17 00:00:00 2001
From: Nikhil Ladha <[email protected]>
Date: Fri, 8 Jan 2021 13:12:46 +0530
Subject: [PATCH 518/526] glusterd: Fix for shared storage in ipv6 env
Issue:
Mounting shared storage volume was failing in ipv6 env if the hostnames were FQDNs.
The brickname for the volume was being cut off, as a result, volume creation was failing.
>Change-Id: Ib38993724c709b35b603f9ac666630c50c932c3e
>Fixes: #1406
>Signed-off-by: nik-redhat <[email protected]>
Upstream patch: https://github.com/gluster/glusterfs/pull/1972
BUG: 1856574
Change-Id: Ib38993724c709b35b603f9ac666630c50c932c3e
Signed-off-by: nik-redhat <[email protected]>
Reviewed-on: https://code.engineering.redhat.com/gerrit/223248
Tested-by: RHGS Build Bot <[email protected]>
Reviewed-by: Ravishankar Narayanankutty <[email protected]>
---
extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
index 9597503..e9261af 100755
--- a/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
+++ b/extras/hook-scripts/set/post/S32gluster_enable_shared_storage.sh
@@ -46,7 +46,7 @@ do
key=`echo $line | cut -d ':' -f 1`
if [ "$key" == "Hostname" ]; then
- hostname=`echo $line | cut -d ':' -f 2 | xargs`
+ hostname=`echo $line | cut -d ' ' -f 2 | xargs`
fi
if [ "$key" == "State" ]; then
--
1.8.3.1
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-anolis-os/glusterfs.git
[email protected]:src-anolis-os/glusterfs.git
src-anolis-os
glusterfs
glusterfs
a8

搜索帮助