ceph namespace access control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello all,

what capabilities a ceph user should have in order to be able to create rbd images in one namespace only?

I have tried the following:

[root@ceph1 ~]# rbd namespace ls --format=json
[{"name":"user1"},{"name":"user2"}]

[root@ceph1 ~]# ceph auth get-or-create client.user2 mon 'profile rbd' osd 'allow rwx pool=rbd namespace=user2' -o /etc/ceph/client.user2.keyring

[root@ceph1 ~]# rbd create  -k /etc/ceph/client.user2.keyring --namespace user2 user2img1 --size 1G
2022-03-23T16:09:56.291+1100 7f94fa6b7700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
2022-03-23T16:09:56.291+1100 7f94f9eb6700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
2022-03-23T16:09:56.292+1100 7f94f96b5700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
rbd: couldn't connect to the cluster!


Thank you,
Laszlo
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux