Re: [ceph-users] mounting RBD in linux containers

2014-08-10 Thread Irek Fasikhov
; From: Gregory Farnum mailto:g...@inktank.com>> > >>> Date: Friday, October 18, 2013 10:26 AM > >>> To: Omar Marquez >>> <mailto:omar.marq...@imc-chicago.com>> > >>> Cc: Kyle Bader mailto:kyle.ba...@gmail.com>>, > >>> K

Re: [ceph-users] mounting RBD in linux containers

2014-08-10 Thread Lorieri
:g...@inktank.com>> >>> Date: Friday, October 18, 2013 10:26 AM >>> To: Omar Marquez >> <mailto:omar.marq...@imc-chicago.com>> >>> Cc: Kyle Bader mailto:kyle.ba...@gmail.com>>, >>> Kevin Weiler >> <mailto:kevin.wei...@imc-chicago.com

Re: [ceph-users] mounting RBD in linux containers

2013-10-28 Thread Kevin Weiler
argument", 21(22) Invalid argument) = >>21 >> write(2, "\n", 1 >> ) = 1 >> exit_group(1) = ? >> +++ exited with 1 +++ >> >> >> The app is run inside th

Re: [ceph-users] mounting RBD in linux containers

2013-10-18 Thread Josh Durgin
ers@lists.ceph.com>" mailto:ceph-users@lists.ceph.com>>, Khalid Goudeaux mailto:khalid.goude...@imc-chicago.com>> Subject: Re: [ceph-users] mounting RBD in linux containers What kernel are you running, and which format is the RBD image? I thought we had a special return code for when

Re: [ceph-users] mounting RBD in linux containers

2013-10-18 Thread Kevin Weiler
m>>, Kevin Weiler mailto:kevin.wei...@imc-chicago.com>>, "ceph-users@lists.ceph.com<mailto:ceph-users@lists.ceph.com>" mailto:ceph-users@lists.ceph.com>>, Khalid Goudeaux mailto:khalid.goude...@imc-chicago.com>> Subject: Re: [ceph-users] mounting RBD i

Re: [ceph-users] mounting RBD in linux containers

2013-10-18 Thread Omar Marquez
s@lists.ceph.com<mailto:ceph-users@lists.ceph.com>" mailto:ceph-users@lists.ceph.com>>, Omar Marquez mailto:omar.marq...@imc-chicago.com>>, Khalid Goudeaux mailto:khalid.goude...@imc-chicago.com>> Subject: Re: [ceph-users] mounting RBD in linux containers My first guess

Re: [ceph-users] mounting RBD in linux containers

2013-10-18 Thread Gregory Farnum
Om > > > From: Kyle Bader 'kyle.ba...@gmail.com');>> > Date: Thursday, October 17, 2013 5:08 PM > To: Kevin Weiler 'kevin.wei...@imc-chicago.com');>> > Cc: "ceph-users@lists.ceph.com 'ceph-users@lists.ceph.com');>" 'cvml'

Re: [ceph-users] mounting RBD in linux containers

2013-10-17 Thread Kyle Bader
My first guess would be that it's due to LXC dropping capabilities, I'd investigate whether CAP_SYS_ADMIN is being dropped. You need CAP_SYS_ADMIN for mount and block ioctls, if the container doesn't have those privs a map will likely fail. Maybe try tracing the command with strace? On Thu, Oct 17

[ceph-users] mounting RBD in linux containers

2013-10-17 Thread Kevin Weiler
Hi all, We're trying to mount an rbd image inside of a linux container that has been created with docker (https://www.docker.io/). We seem to have access to the rbd kernel module from inside the container: # lsmod | grep ceph libceph 218854 1 rbd libcrc32c 12603 3 x