Hi,

I'm not sure if this is applicable to the admin user, but there's a import function in the ceph-authtool which allows to import caps from a file. I used it once in a test cluster to restore keyrings for a specific user. But it wasn't the admin's caps, so I'm not sure if this will work, but worth a shot, I guess.

Regards


Zitat von Nico Schottelius <nico.schottel...@ungleich.ch>:

It seems your monitor capabilities are different to mine:

root@server3:/opt/ungleich-tools# ceph -k /var/lib/ceph/mon/ceph-server3/keyring -n mon. auth list 2018-02-16 20:34:59.257529 7fe0d5c6b700 0 librados: mon. authentication error (13) Permission denied
[errno 13] error connecting to the cluster
root@server3:/opt/ungleich-tools# cat /var/lib/ceph/mon/ceph-server3/keyring
[mon.]
        key = AQCp9IVa2GmYARAAVvCGfNpXfxOoUf119KAq1g==

Where you have

root@ceph-mon1:/# cat /var/lib/ceph/mon/ceph-ceph-mon1/keyring
[mon.]
        key = AQD1y3RapVDCNxAAmInc8D3OPZKuTVeUcNsPug==
        caps mon = "allow *"

Which probably explains why it works for you, but not for me.

--
Modern, affordable, Swiss Virtual Machines. Visit www.datacenterlight.ch
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



--
Eugen Block                             voice   : +49-40-559 51 75
NDE Netzdesign und -entwicklung AG      fax     : +49-40-559 51 77
Postfach 61 03 15
D-22423 Hamburg                         e-mail  : ebl...@nde.ag

        Vorsitzende des Aufsichtsrates: Angelika Mozdzen
          Sitz und Registergericht: Hamburg, HRB 90934
                  Vorstand: Jens-U. Mozdzen
                   USt-IdNr. DE 814 013 983

_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to