; 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
: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
argument", 21(22) Invalid argument) =
>>21
>> write(2, "\n", 1
>> ) = 1
>> exit_group(1) = ?
>> +++ exited with 1 +++
>>
>>
>> The app is run inside th
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
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
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
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'
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
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