Hello,

We have a user "testuser" with below permissions :

$ ceph auth get client.testuser
exported keyring for client.testuser
[client.testuser]
        key = ****==
        caps mon = "profile rbd"
        caps osd = "profile rbd pool=ecpool, profile rbd pool=cv, profile
rbd-read-only pool=templates"


But when we try to map an image in pool 'templates' we get the below error
:
--------------
# rbd map templates/centos.7-4.x86-64.20171111 --id testuser
rbd: sysfs write failed
In some cases useful info is found in syslog - try "dmesg | tail".
rbd: map failed: (1) Operation not permitted


Is it because that user has only read permission in templates pool ?



Karun Josy
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to