All, I am fairly new to using Ceph. I have successfully established a Ceph Cluster with 3 OSDs of 8TB each for a total cluster of 24TBs. Recently, I was attempting to use Libvirt with Ceph RBD as documented here:
http://docs.ceph.com/docs/hammer/rbd/libvirt/ I was able to create (and list) a pool and the image using the following commands:
1)
ceph osd pool create libvirt-pool 128 128
2)
ceph osd lspools
3)
rbd create libvirt-image –size 1024 –pool libvirt-pool
4)
rbd ls libvirt-pool
5)
rbd –image libvirt-image –p libvirt-pool info Then, I wanted to modify the “client.admin” user to allow access to the pool using the following command:
ceph auth caps client.admin mon ‘allow r’ osd ‘allow rwx pool=libvirt-pool’ which returned response of: updated caps for client.admin However, I can no longer execute a “ceph auth list” command. I receive the following access denied: Error EACCES: access denied How can I recover access to “ceph auth”? Prior to the “ceph auths caps” command I could execute the “ceph auth” command with no problem and it Returned the auth entries for osd.0, osd.1, osd.2, client.admin, client.bootstrap-mds, client.bootstrap-osd, and client.bootstrap.rgw Any assistance will be helpful and appreciated. Thanks, Dave P. |
_______________________________________________ ceph-users mailing list ceph-users@xxxxxxxxxxxxxx http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com