[Bugs] needinfo requested: [Bug 1234873] glusterfs-resource-agents - volume - voldir is not properly set

bugzilla at redhat.com bugzilla at redhat.com
Thu Mar 29 16:44:18 UTC 2018



Product: GlusterFS
Version: mainline
Component: scripts

Jiri Belka <jbelka at redhat.com> has asked bugs at gluster.org <bugs at gluster.org>
for needinfo:
Bug 1234873: glusterfs-resource-agents - volume - voldir is not properly set
https://bugzilla.redhat.com/show_bug.cgi?id=1234873



--- Comment #1 from Jiri Belka <jbelka at redhat.com> ---
Could you solve this finally please? Why does it take ages to repair one line?

The issue is still present in RHGS:

# rpm -qf /usr/lib/ocf/resource.d/glusterfs/volume
glusterfs-resource-agents-3.8.4-54.3.el7rhgs.noarch

~~~
--- /usr/lib/ocf/resource.d/glusterfs/volume.orig	2018-03-21
08:49:46.000000000 +0100
+++ /usr/lib/ocf/resource.d/glusterfs/volume	2018-03-29 18:36:27.718458622
+0200
@@ -70,7 +70,7 @@ EOF

 volume_getdir() {
     local voldir
-    voldir="/etc/glusterd/vols/${OCF_RESKEY_volname}"
+    voldir="/var/lib/glusterd/vols/${OCF_RESKEY_volname}"

     [ -d ${voldir} ] || return 1
~~~


More information about the Bugs mailing list