mirror of
https://github.com/ceph/ceph
synced 2025-02-11 04:51:02 +00:00
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>
11 lines
364 B
CMake
11 lines
364 B
CMake
# The root of the OCF resource agent hierarchy
|
|
# Per the OCF standard, it's always "lib",
|
|
# not "lib64" (even on 64-bit platforms).
|
|
set(ocf_dir ${CMAKE_INSTALL_PREFIX}/lib/ocf)
|
|
|
|
# The ceph provider directory
|
|
set(ra_dir ${ocf_dir}/resource.d/${PROJECT_NAME})
|
|
|
|
configure_file(rbd.in rbd @ONLY)
|
|
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/rbd DESTINATION ${ra_dir})
|