Hi.
We have a ceph cluster at my work which we are mostly using for cephfs. I'd like to add it as a rbd target to a proxmox server I have, but I'd like to have lower permissions than using the client.admin keyring from the ceph cluster. I tried creating a new keyring with the following permissions:
But if I try to list rbd images with the secret for this keyring I get errors like this:
Listing images with the client.admin keyring works.
Does anybody know what minimal permissions I'd need to add to be able to use this keyring in proxmox?
Edit: forgot to add that when I tried adding the ceph cluster as a datastore in the proxmox webgui I get this error:
We have a ceph cluster at my work which we are mostly using for cephfs. I'd like to add it as a rbd target to a proxmox server I have, but I'd like to have lower permissions than using the client.admin keyring from the ceph cluster. I tried creating a new keyring with the following permissions:
Code:
client.proxmox.rbd
key: xxxxxxxxxxxxxxxxxxxxx
caps: [mgr] profile rbd pool=repl_pool, profile rbd pool=ec_pool
caps: [mon] profile rbd
caps: [osd] profile rbd pool=repl_pool, profile rbd pool=ec_pool
But if I try to list rbd images with the secret for this keyring I get errors like this:
Code:
[root@rl8-template ~]# rbd -K ~/client.proxmox.rbd.secret ls
2022-06-14T18:19:41.341+0000 7f3a74dc8700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
2022-06-14T18:19:41.342+0000 7f3a745c7700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
2022-06-14T18:19:41.342+0000 7f3a755c9700 -1 monclient(hunting): handle_auth_bad_method server allowed_methods [2] but i only support [2,1]
rbd: couldn't connect to the cluster!
rbd: listing images failed: (13) Permission denied
Listing images with the client.admin keyring works.
Does anybody know what minimal permissions I'd need to add to be able to use this keyring in proxmox?
Edit: forgot to add that when I tried adding the ceph cluster as a datastore in the proxmox webgui I get this error:
Code:
rbd error: rbd: listing images failed: (95) Operation not supported (500)
Last edited: