Re: Luminous 12.1.3: mgr errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12 August 2017 at 23:04, David Turner <drakonstein@xxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux