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 -- [email protected]
To unsubscribe send an email to [email protected]