jeudi 9 janvier 2020

restore ceph admin rights

I did overwrite the client.admin entry by importing a wrong keyfile. So I could not manage the cluster again.

The only solution was to deactivate cephx authentication on the cluster by changing the configuration file to :
auth cluster required = none
auth service required = none
auth client required = none
auth supported = none
 
and then restart the ceph daemons on each node. As I'm using proxmox, I had to use the systemctl:
systemctl restart ceph.target 
 
source :
https://docs.ceph.com/docs/emperor/rados/operations/authentication/
 
then import the admin profile with full rights 

Then put the authentication back and restart the daemons.