On 30/08/17 18:48, Nigel Williams wrote:

On 30 August 2017 at 16:05, Mark Kirkwood <[email protected]> wrote:
http://tracker.ceph.com/issues/20950

So the mgr creation requires surgery still :-(
is there a way out of this error with ceph-mgr?

mgr init Authentication failed, did you specify a mgr ID with a valid keyring?

root@c0mds-100:~# systemctl status ceph-mgr@c0mds-100
● [email protected] - Ceph cluster manager daemon
    Loaded: loaded (/lib/systemd/system/[email protected]; enabled;
vendor preset: enabled)
    Active: inactive (dead) (Result: exit-code) since Wed 2017-08-30
16:40:43 AEST; 3min 36s ago
   Process: 1821 ExecStart=/usr/bin/ceph-mgr -f --cluster ${CLUSTER}
--id %i --setuser ceph --setgroup ceph (code=exited, status=255)
  Main PID: 1821 (code=exited, status=255)


as reported previously, pre 12.2.0 versions seemed to create erroneous
ceph-mgr with the wrong host identifier (in my case
/var/lib/ceph/mgr/ceph-0 and ceph-c0mds/)


sorry for the previous empty email...keyboard stuck...


Yes - you just edit /var/lib/ceph/bootstrap-mgr/ceph.keyring so the key matches what 'ceph auth list' shows and re-deploy the mgr (worked for me in 12.1.3/4 and 12.2.0).

Cheers

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

Reply via email to