[Bugs] [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


https://bugzilla.redhat.com/show_bug.cgi?id=1234873

Jiri Belka <jbelka at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jbelka at redhat.com
              Flags|                            |needinfo?(bugs at gluster.org)



--- 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
~~~

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.


More information about the Bugs mailing list