Looks like we're already using nfs-ganesha V3.3 for RHCS5. The ceph version is still too old though -- it's at v15.2.3. We need for v15.2.4 to be released, for that to get pulled into the rhcs5 branch, and then a rebuild of ganesha done against the new libcephfs headers.
We have ceph-16.0.0-8633.el8cp downstream now, so that should have the new headers. We still have nfs-ganesha 3.3 downstream for RHCS 5. I'm thinking we should rebase to 3.4 if we're rebuilding here anyway... What should we look for in the build log to ensure that nfs-ganesha picked up the new header(s)?
You probably want to check that it found ceph_ll_register_callbacks. From the FindCEPHFS.cmake file in ganesha: + check_library_exists(cephfs ceph_ll_register_callbacks ${CEPHFS_LIBRARY_DIR} CEPH_FS_REGISTER_CALLBACKS) + if(NOT CEPH_FS_REGISTER_CALLBACKS) + message("Cannot find ceph_ll_register_callbacks. FSAL_CEPH will not respond to cache pressure requests from the MDS.") + set(USE_FSAL_CEPH_REGISTER_CALLBACKS OFF) + else(NOT CEPH_FS_REGISTER_CALLBACKS) + set(USE_FSAL_CEPH_REGISTER_CALLBACKS ON) + endif(NOT CEPH_FS_REGISTER_CALLBACKS) +
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Red Hat Ceph Storage 5.0 bug fix and enhancement), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2021:3294