Yes I already managed to get it to compile. I saw this
./src/cmake/build_configurations/rpmbuild.cmake. Is this to create the
rpms? How do I use it?
-----Original Message-----
From: Daniel Gryniewicz [mailto:dang@redhat.com]
Sent: maandag 7 mei 2018 14:25
To: support(a)lists.nfs-ganesha.org
Subject: [Nfs-ganesha-support] Re: Nfs-ganesha rgw config for multi
tenancy rgw users
So, it works for me on Fedora with 12.2.4. All that should be necessary
is librgw-devel and it's dependencies. You shouldn't need any paths,
since librgw is installed in the system paths, which are searched by
default. All I did was this:
cmake -D USE_FSAL_RGW=ON ../nfs-ganesha/src
What it's looking for is LIBRGW_VER_* in /usr/include/rados/librgw.h.
Mine looks like this:
#define LIBRGW_VER_MAJOR 1
#define LIBRGW_VER_MINOR 1
#define LIBRGW_VER_EXTRA 0
Do you have similar defines in that file? Maybe your packaging is
messed up?
Daniel
On 05/04/2018 03:26 AM, Marc Roos wrote:
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(a)lists.nfs-ganesha.org To unsubscribe
> send an email to support-leave(a)lists.nfs-ganesha.org
>
_______________________________________________
Support mailing list -- support(a)lists.nfs-ganesha.org To unsubscribe
send an email to support-leave(a)lists.nfs-ganesha.org
_______________________________________________
Support mailing list -- support(a)lists.nfs-ganesha.org To unsubscribe
send an email to support-leave(a)lists.nfs-ganesha.org
_______________________________________________
Support mailing list -- support(a)lists.nfs-ganesha.org To unsubscribe
send an email to support-leave(a)lists.nfs-ganesha.org