Description of problem: When creating a resource with the RA 'ocf:glusterfs:volume', it doesn't work as expected because it cannot find required infos. Version-Release number of selected component (if applicable): glusterfs-resource-agents-3.7.1-1.el7.noarch.rpm How reproducible: Everytime Steps to Reproduce: 1. Create the resource (all prerequisites are OK, ie: the cluster is operational, the FS has been tested without Pacemaker, the resource glustered is created) pcs resource create gluster_volume ocf:glusterfs:volume volname='gv0' op monitor interval=60s 2. Try to enable/disable/monitor the resource Actual results: # pcs status ... Clone Set: gluster_d-clone [gluster_d] Started: [ centos71-2 centos71-3 ] Clone Set: gluster_volume-clone [gluster_volume] gluster_volume (ocf::glusterfs:volume): FAILED centos71-3 (unmanaged) gluster_volume (ocf::glusterfs:volume): FAILED centos71-2 (unmanaged) Failed actions: gluster_volume_stop_0 on centos71-3 'unknown error' (1): call=101, status=Timed Out, exit-reason='none', last-rc-change='Thu Jun 18 15:45:16 2015', queued=1ms, exec=20003ms gluster_volume_stop_0 on centos71-3 'unknown error' (1): call=101, status=Timed Out, exit-reason='none', last-rc-change='Thu Jun 18 15:45:16 2015', queued=1ms, exec=20003ms gluster_volume_stop_0 on centos71-2 'unknown error' (1): call=104, status=Timed Out, exit-reason='none', last-rc-change='Thu Jun 18 15:44:56 2015', queued=0ms, exec=20002ms gluster_volume_stop_0 on centos71-2 'unknown error' (1): call=104, status=Timed Out, exit-reason='none', last-rc-change='Thu Jun 18 15:44:56 2015', queued=0ms, exec=20002ms ... Expected results: # pcs status ... Clone Set: gluster_d-clone [gluster_d] Started: [ centos71-2 centos71-3 ] Clone Set: gluster_volume-clone [gluster_volume] Started: [ centos71-2 centos71-3 ] ... Additional info: I patched it localy in the file : /usr/lib/ocf/resource.d/glusterfs/volume ... volume_getdir() { local voldir voldir="/var/lib/glusterd/vols/${OCF_RESKEY_volname}" <===== new value # voldir="/etc/glusterd/vols/${OCF_RESKEY_volname}" <===== old value [ -d ${voldir} ] || return 1 echo "${voldir}" return 0 } ...
This bug is getting closed because GlusteFS-3.7 has reached its end-of-life. Note: This bug is being closed using a script. No verification has been performed to check if it still exists on newer releases of GlusterFS. If this bug still exists in newer GlusterFS releases, please reopen this bug against the newer release.