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:
mgr.c0mds-100
    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
[mgr.c0mds-100]
    key = AQDVXI1ZV1U0KRAAFDY6/ZCVzTjxhy0d5/ReSA==
root@c0mds-100:/var/lib/ceph/mgr/ceph-c0mds-100#

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

but mgr is looking for the keyring under /var/lib/ceph/mgr/ceph-0?
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to