Disregard,   you can fix this by doing using the monitor id and keyring file:



cd /var/lib/ceph/mon/monname

ceph -n mon. --keyring keyring  auth caps client.admin mds 'allow *' osd 'allow 
*' mon 'allow *'





Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10



From: Jim Kilborn<mailto:[email protected]>
Sent: Wednesday, January 4, 2017 9:19 AM
To: [email protected]<mailto:[email protected]>
Subject: [ceph-users] client.admin accidently removed caps/permissions



Hello:

I was trying to fix an problem with mds caps, and caused my admin user to have 
no mon caps.
I ran:

ceph auth caps client.admin mds 'allow *'

I didn’t realize I had to pass the mon and osd caps as well. Now, when I try to 
run any command, I get

2017-01-04 08:58:44.009250 7f5441f62700  0 librados: client.admin 
authentication error (13) Permission denied
Error connecting to cluster: PermissionDeniedError

What is the simpliest way to get my client.admin caps/permissions fixed?


Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10

_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to