removed the admin client by mistake

kifeo

Well-Known Member
Oct 28, 2019
112
13
58
Hi,
During a Cephfs keyring for a user import, I did overwrite the client.admin with less permissions (by mistake!) :
[client.admin] <<<<< here should have been client.foo
key = xxxxx
caps mds = "allow rw path=/nas/nas"
caps mon = "allow r"
caps osd = "allow class-read object_prefix rbd_children, allow rw pool=cephfs_data"

My cluster is still working, but I wonder if I could replace the old client.admin auth so I can use the ceph command again.

I did find some command to use the mon user, but I could not make it work.

Thanks for the help !

EDIT: I also have a working dashboard with an administrator level user, if this could help.

Regards,
Thomas.
 
Last edited:
as this is purely ceph related, should I open this help request on the ceph side ?