Bug 1849725

Summary: clients failing to respond to cache pressure
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Patrick Donnelly <pdonnell>
Component: NFS-GaneshaAssignee: Jeff Layton <jlayton>
Status: CLOSED ERRATA QA Contact: Yogesh Mane <ymane>
Severity: high Docs Contact:
Priority: high    
Version: 5.0CC: gsitlani, hyelloji, jlayton, kdreyer, kkeithle, mbenjamin, pasik, tserlin
Target Milestone: ---   
Target Release: 5.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: ceph-16.2.0-1.el8cp, nfs-ganesha-3.5-1.el8cp Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-30 08:25:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1798284    

Comment 2 Jeff Layton 2020-06-25 16:07:38 UTC
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.

Comment 5 Ken Dreyer (Red Hat) 2021-01-12 23:38:17 UTC
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)?

Comment 6 Jeff Layton 2021-01-28 16:12:47 UTC
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)
+

Comment 13 errata-xmlrpc 2021-08-30 08:25:38 UTC
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