]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
cmake: rbd resource agent needs to be executable. 20617/head
authorTim Bishop <tim@bishnet.net>
Sun, 11 Feb 2018 12:35:47 +0000 (12:35 +0000)
committerNathan Cutler <ncutler@suse.com>
Tue, 27 Feb 2018 14:03:09 +0000 (15:03 +0100)
commit03037efaa22a913a9fa574be9d8eb865ef7cb52e
treeb644643e2cf69feefd23923e8472271dbaf7f94c
parent50491266ccccb4743df5730041211851434af66a
cmake: rbd resource agent needs to be executable.

Without this the resource fails in Pacemaker with the error:

Feb 11 12:48:30 mypacemakerhost crmd[5154]:    error: Failed to retrieve meta-data for ocf:ceph:rbd
Feb 11 12:48:30 mypacemakerhost crmd[5154]:   notice: Operation p_rbd_myres_monitor_0: insufficient privileges (node=mypacemakerhost, call=228, rc=4, cib-update=60, confirmed=true)

This worked fine in the jewel version of the package, but is broken in
the luminous one, presumably because of the build changes.

Fixes: http://tracker.ceph.com/issues/22980
Signed-off-by: Tim Bishop <tim@bishnet.net>
(cherry picked from commit 567d15682ecaf873cf40d41ee8eaad28d6e59fa8)
src/ocf/CMakeLists.txt