removed the admin client by mistake

kifeo

Well-Known Member
Oct 28, 2019
112
12
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 ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!