Thanks a lot. Finally I can map it with following caps and map using non-default username : ------- caps: [mgr] allow r caps: [mon] allow r caps: [osd] allow rw pool=4copy # rbd -n client.acapp1 map 4copy/foo /dev/rbd0 --------
Thanks a lot for all your help. Btw, shall /etc/ceph/ceph.client.admin.keyring be removed in ceph-ansible client deployment task?
Thanks. Best Regards, /st wong From: Ashley Merrick <singapore@xxxxxxxxxxxxxx>
You need to tell it the username and the key ring to use. I’m on my mobile right now so don’t have access to a server to check but If you check the man of the RBD command it is something like id/name. If your key ring is named the correct format it will find the key ring, if not you can specify the location using —keyring On Fri, 9 Nov 2018 at 11:41 PM, ST Wong (ITSC) <ST@xxxxxxxxxxxxxxxx> wrote:
|
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com