Bug 2367419

Summary: nfs-ganesha rebuild breaks after important libcephfs API change is merged
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: tserlin
Component: NFS-GaneshaAssignee: Frank Filz <ffilz>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 8.1CC: cephqe-warriors, igolikov, kkeithle, mbenjamin, vdas, vereddy
Target Milestone: ---   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: nfs-ganesha-6.5-15.el9cp; rhceph-container-8-468 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-06-26 12:32:05 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description tserlin 2025-05-20 03:06:12 UTC
After the following libcephfs API change was merged into 8.1 today:

https://gitlab.cee.redhat.com/ceph/ceph/-/merge_requests/1131
"libcephfs: introduce v2 API for preadv/pwritev
The new API will ensure ABI backward compatibility, and introduce explicit _v2 API for zerocopy supported calls."

the rebuild of nfs-ganesha failed with the following error in build.log:


/builddir/build/BUILD/nfs-ganesha-6.5/src/FSAL/FSAL_CEPH/handle.c:1783:28: error: 'struct ceph_ll_io_info' has no member named 'zerocopy'
 1783 |                 if (cb_info->zerocopy) {
      |                            ^~
/builddir/build/BUILD/nfs-ganesha-6.5/src/FSAL/FSAL_CEPH/handle.c:1786:56: error: 'struct ceph_ll_io_info' has no member named 'release'
 1786 |                         read_arg->iov_release = cb_info->release;
      |                                                        ^~
/builddir/build/BUILD/nfs-ganesha-6.5/src/FSAL/FSAL_CEPH/handle.c:1787:57: error: 'struct ceph_ll_io_info' has no member named 'release_data'
 1787 |                         read_arg->release_data = cb_info->release_data;


Links to build failure in Brew:
https://download-01.beak-001.prod.iad2.dc.redhat.com/brewroot/work/tasks/413/67670413/build.log
https://brewweb.engineering.redhat.com/brew/taskinfo?taskID=67670413


This failed ganesha build was made against ceph-19.2.1-205.el9cp. The API MR first appeared in the ceph-19.2.1-204.el9cp build.

Comment 1 Storage PM bot 2025-05-20 03:06:22 UTC
Please specify the severity of this bug. Severity is defined here:
https://bugzilla.redhat.com/page.cgi?id=fields.html#bug_severity.

Comment 7 errata-xmlrpc 2025-06-26 12:32:05 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 (Important: Red Hat Ceph Storage 8.1 security, bug fix, and enhancement updates), 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/RHSA-2025:9775