I just wanted write I don’t know what I am doing, never used cmake, can't find a simple command line to add an include or library path, I added in src/CMakeLists.txt include_directories("/usr/include/rados") But I get now other errors about NLM and I just disabled it. Now it looks like it is building. I hope this is enough to apply the patch. -----Original Message----- From: Supriti Singh [mailto:Supriti.Singh@suse.com] Sent: vrijdag 4 mei 2018 15:52 To: Marc Roos; support@lists.nfs-ganesha.org; dang@redhat.com Cc: mbenjamin@redhat.com Subject: Re: [Nfs-ganesha-support] Re: Nfs-ganesha rgw config for multi tenancy rgw users It seems like path issue. FindRGW is basically looking for rados/rgw_file.h and reading the version number from there. There should be a message "FindRGW: using PATH HINT:". You may need to set the path to correct location where librgw-devel is installing rados/rgw_flie.h. In my environment it is at /usr/include/rados. Also, you should ensure that you have compiling with right version of librgw. ------ Supriti Singh SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
"Marc Roos" <M.Roos@f1-outsourcing.eu> 05/04/18 2:47 PM >>> Maybe some pointers on compiling rgw could be helpful
cmake -DUSE_FSAL_RGW=ON src/ -- Found rgw libraries: /usr/lib64/librgw.so CMake Error at cmake/modules/FindPackageHandleStandardArgs.cmake:109 (message): Could NOT find RGW: Found unsuitable version "0.0.0", but required is at least "1.1.6" (found ) Call Stack (most recent call first): cmake/modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE) cmake/modules/FindRGW.cmake:95 (FIND_PACKAGE_HANDLE_STANDARD_ARGS) CMakeLists.txt:699 (find_package) [@svr nfs-ganesha]$ rpm -qa | egrep '(rgw|rados|ceph)' libcephfs-devel-12.2.5-0.el7.x86_64 librados-devel-12.2.5-0.el7.x86_64 librgw-devel-12.2.5-0.el7.x86_64 librgw2-12.2.5-0.el7.x86_64 libcephfs2-12.2.5-0.el7.x86_64 librados2-12.2.5-0.el7.x86_64 -----Original Message----- Subject: [Nfs-ganesha-support] Re: Nfs-ganesha rgw config for multi tenancy rgw users Sure I will give it a try, this builds correctly. git clone https://github.com/nfs-ganesha/nfs-ganesha.git cd nfs-ganesha git submodule update --init --recursive cmake src make Although I am missing the configure, I thought I would build statically linked, so it is easier to copy to the ceph server. (compiling on a different node) -----Original Message----- From: Daniel Gryniewicz [mailto:dang@redhat.com] Sent: donderdag 3 mei 2018 18:38 To: Marc Roos; support Cc: mbenjamin Subject: Re: [Nfs-ganesha-support] Re: Nfs-ganesha rgw config for multi tenancy rgw users Okay, so I've looked through this, and librgw is returning a readdir error that Ganesha doesn't recognize. Unfortunately, the Ceph code is large, and there's at least several things it could be on just a quick look. Can you compile Ganesha from source? If so, I can send you a patch that will print the actual error returned from ceph. This might help us track it down. Daniel On 05/02/2018 10:47 PM, Marc Roos wrote:
Still on luminous 12.2.4, attached the log when the ls was done. I forgot to turn of the radosgw that also uses the client.rgw3, that should not be a problem not?
client.rgw3 caps: [mon] allow rwx caps: [osd] allow rwx
-----Original Message----- From: Daniel Gryniewicz [mailto:dang@redhat.com] Sent: woensdag 2 mei 2018 18:48 To: Marc Roos; support Cc: mbenjamin Subject: Re: [Nfs-ganesha-support] Re: Nfs-ganesha rgw config for multi tenancy rgw users
So, the READDIR op got a SERVERFAULT error. There aren't very many ways this can happen; unfortunately, the logging in 2.5 is a bit out of date, so I can't tell which issue hit. Can you run the ls with FULL_DEBUG on for everything? That should give me enough output to
figure it out.
Also, which version of ceph are you using on the Ganesha box?
Thanks, Daniel
_______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org
_______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org _______________________________________________ Support mailing list -- support@lists.nfs-ganesha.org To unsubscribe send an email to support-leave@lists.nfs-ganesha.org