specifying secret in rbd map command

2012-07-09 Thread Travis Rhoden
Hey folks, I had a bit of unexpected trouble today using the rbd map command to map an RBD to a kernel object. I had previously been using the echo ... /sys/bus/rbd... method of manipulating RBDs. I was looking at the instructions here: http://ceph.com/docs/master/rbd/rbd-ko/ When I tried to

Re: specifying secret in rbd map command

2012-07-09 Thread Travis Rhoden
I should point out that I did notice (a little too late) the contents of rbd --help has this: For the map command: --user usernamerados user to authenticate as --secret path file containing secret key for use with cephx I should have seen it sooner. But, I still

Re: specifying secret in rbd map command

2012-07-09 Thread Florian Haas
On Mon, Jul 9, 2012 at 4:57 PM, Travis Rhoden trho...@gmail.com wrote: Hey folks, I had a bit of unexpected trouble today using the rbd map command to map an RBD to a kernel object. I had previously been using the echo ... /sys/bus/rbd... method of manipulating RBDs. I was looking at the

Re: specifying secret in rbd map command

2012-07-09 Thread Sage Weil
Hi Travis, Sorry for the confusion! There is a branch in git (wip-auth) that cleans up the rbd map code to be consistent with the rest of the system, so that you can use keyrings or explicit keys or keyfiles. It should get merged for 0.50. sage On Mon, 9 Jul 2012, Travis Rhoden wrote:

Re: specifying secret in rbd map command

2012-07-09 Thread Travis Rhoden
Awesome. Thanks, Sage. I won't bother to try and fix up the docs, then. Though I might take a look at the branch and see if they have been updated to capture the latest changes. - Travis On Mon, Jul 9, 2012 at 12:22 PM, Sage Weil s...@inktank.com wrote: Hi Travis, Sorry for the confusion!