Hide Forgot
Description of problem: nfs-ganesha in Fedora is not built with the RGW FSAL enabled. Version-Release number of selected component (if applicable): nfs-ganesha-2.4.0-1.fc26 Steps to Reproduce: 1. "dnf install nfs-ganesha-rgw" Actual results: No such supackage Expected results: Package is available Additional info: When I make the following change in Rawhide dist-git: diff --git a/nfs-ganesha.spec b/nfs-ganesha.spec index 9f8816c..347a4fb 100644 --- a/nfs-ganesha.spec +++ b/nfs-ganesha.spec @@ -46,7 +46,7 @@ Requires: sles-release >= 12 %bcond_without ceph %global use_fsal_ceph %{on_off_switch ceph} -%bcond_with rgw +%bcond_without rgw %global use_fsal_rgw %{on_off_switch rgw} %bcond_without gluster I see the following build error: ... -- Looking for rgw_mount in rgw -- Looking for rgw_mount in rgw - found -- Found rgw libraries: /usr/lib64/librgw.so -- Could NOT find RGW: Found unsuitable version ".", but required is at least "1.1" (found /usr) CMake Warning at CMakeLists.txt:571 (message): Cannot find supported RGW runtime. Disabling RGW fsal build I think that means there is some problem in ganesha upstream's CMakeLists.txt?
Has Ceph been updated to a version that works? Last time I checked it has not.
Matt, what is a version of librgw2 that works (comment #1 above)?
Hi Ken, The 1.1 symbol was added after Jewel, but should have been backported. I'll run this down. Matt
(In reply to Matt Benjamin (redhat) from comment #3) > Hi Ken, > > The 1.1 symbol was added after Jewel, but should have been backported. I'll > run this down. > > Matt Hi, The symbol is added in: commit 2a9233f1fbff38c12d378d5b6528a7e576a62e3e Author: Matt Benjamin <mbenjamin> Date: Tue Aug 23 14:18:43 2016 -0400 librgw: add API version defines for librgw and rgw_file This is already on ceph-2-rhel-patches. This change has been backported to Jewel, but is not in v10.2.3 or earlier. Matt
I tried a scratch build after Ken added the version defines in ceph-10.2.3-4.fc26. It failed. See the build log at https://kojipkgs.fedoraproject.org//work/tasks/6500/16226500/build.log
We probably need some or all of the ceph patches here: https://github.com/ceph/ceph/pull/11335 That pull request will be in ceph v10.2.4, which should be out sometime in November. Let's retry this then.
ceph-10.2.4-1.fc26 is in Rawhide now, so this can be enabled. I tested a local mockbuild of nfs-ganesha-2.4.1-1.fc26 with the rgw FSAL enabled, and it builds.
nfs-ganesha in Rawhide now has the RGW FSAL enabled. http://pkgs.fedoraproject.org/cgit/rpms/nfs-ganesha.git/commit/?id=1efc584c8fd3aa9c0f3e6f00b481fc88deb942b3 Thanks Kaleb