This morning I tried adding a mon node to my home Ceph cluster with the 
following command:

ceph orch daemon add mon ether


This seemed to work at first, but then it decided to remove it fairly quickly 
which broke the cluster because the mon. keyring was also removed:

2021-06-01T14:16:11.523210+0000 mgr.paris.glbvov [INF] Deploying daemon 
mon.ether on ether
2021-06-01T14:16:43.621759+0000 mgr.paris.glbvov [INF] Safe to remove 
mon.ether: not in monmap (['paris', 'excalibur'])
2021-06-01T14:16:43.622135+0000 mgr.paris.glbvov [INF] Removing monitor ether 
from monmap...
2021-06-01T14:16:43.641365+0000 mgr.paris.glbvov [INF] Removing daemon 
mon.ether from ether
2021-06-01T14:16:46.610283+0000 mgr.paris.glbvov [INF] Removing key for mon.


Digging in to this it seems like this line might need to check for 'mon.' and 
not 'mon':

https://github.com/ceph/ceph/blob/master/src/pybind/mgr/cephadm/services/cephadmservice.py#L486


Anyways, does anyone know how to import the mon. keyring again once it has been 
removed?

Thanks,
Bryan
_______________________________________________
ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-le...@ceph.io

Reply via email to