Re: [ceph-users] Mapping rbd with read permission

2014-10-09 Thread Ilya Dryomov
On Thu, Oct 9, 2014 at 9:32 AM, Ramakrishnan Periyasamy wrote: > Hi, > > Thanks Ilya for reply and I require some more clarifications, correct me if > somewhere am wrong. > > Am able to map rbd with --read-only option using user specific keyring for > pool3 since it is having "rwx" but unable to

Re: [ceph-users] Mapping rbd with read permission

2014-10-08 Thread Ramakrishnan Periyasamy
v [mailto:ilya.dryo...@inktank.com] Sent: Thursday, October 02, 2014 12:34 PM To: Ramakrishnan Periyasamy Cc: ceph-us...@ceph.com Subject: Re: [ceph-users] Mapping rbd with read permission On Wed, Oct 1, 2014 at 2:56 PM, Ramakrishnan Periyasamy wrote: > Hi, > > > > I have a doubt in m

Re: [ceph-users] Mapping rbd with read permission

2014-10-02 Thread Ilya Dryomov
On Wed, Oct 1, 2014 at 2:56 PM, Ramakrishnan Periyasamy wrote: > Hi, > > > > I have a doubt in mapping rbd using client keyring file. Created keyring as > below > > > > sudo ceph-authtool -C -n client.foo --gen-key /etc/ceph/keyring > > sudo chmod +r /etc/ceph/keyring > > sudo ceph-authtool -n cli

[ceph-users] Mapping rbd with read permission

2014-10-01 Thread Ramakrishnan Periyasamy
Hi, I have a doubt in mapping rbd using client keyring file. Created keyring as below sudo ceph-authtool -C -n client.foo --gen-key /etc/ceph/keyring sudo chmod +r /etc/ceph/keyring sudo ceph-authtool -n client.foo --cap mds 'allow' --cap osd 'allow rw pool=pool1' --cap mon 'allow r' /etc/ceph/