On 12 August 2017 at 23:04, David Turner <drakonst...@gmail.com> wrote:

> I haven't set up the mgr service yet, but your daemon folder is missing
> it's keyring file (/var/lib/ceph/mgr/ceph-0/keyring). It's exactly what
> the error message says. When you set it up did you run a command pile ceph
> auth add? If you did, then you just need to ask the cluster what the auth
> key is and put it into that keyring file. You can look at the keyring for a
> month to see what format it's expecting.
​ceph auth list shows:
    key: AQDVXI1ZV1U0KRAAFDY6/ZCVzTjxhy0d5/ReSA==
    caps: [mds] allow *
    caps: [mon] allow profile mgr
    caps: [osd] allow *

and there is this:

root@c0mds-100:/var/lib/ceph/mgr/ceph-c0mds-100# ls -l
total 4
-rw-r--r-- 1 root root  0 Aug 11 17:29 done
-rw-r--r-- 1 root root 64 Aug 11 17:29 keyring
-rw-r--r-- 1 root root  0 Aug 11 17:29 systemd
root@c0mds-100:/var/lib/ceph/mgr/ceph-c0mds-100# cat keyring
    key = AQDVXI1ZV1U0KRAAFDY6/ZCVzTjxhy0d5/ReSA==

NOTE: this mgr is running on the MDS host.​ Everything was done with

but mgr is looking for the keyring under /var/lib/ceph/mgr/ceph-0?
ceph-users mailing list

Reply via email to