Greeting,
Does anyone came across an issue where when used Ceph-Deploy to deploy
a new named cluster (e.g. openstack) and when the nodes restarts all
the daemons starts with the exception of the MON since it used a
cluster ID. The only way I can start the MON daemon again is to run
the "mon create" command: ceph-deploy --cluster openstack mon create
ceph01
Running before Restart:
==========================================================================
root@ceph01:/home/user1# initctl list | grep ceph
ceph-mds-all-starter stop/waiting
ceph-mds-all start/running
ceph-osd-all start/running
ceph-osd-all-starter stop/waiting
ceph-all start/running
ceph-mon-all start/running
ceph-mon-all-starter stop/waiting
ceph-mon (openstack/ceph01) start/running, process 2872
ceph-create-keys start/running, process 1042
ceph-osd (openstack/2) start/running, process 2928
ceph-osd (openstack/0) start/running, process 2969
ceph-osd (openstack/1) start/running, process 2941
ceph-mds stop/waiting
root@ceph01:/home/user1#
Stopped the daemon:
==========================================================================
root@ceph01:/home/user1# stop ceph-all
ceph-all stop/waiting
root@ceph01:/home/user1#
Confirmed that all Ceph processes are shutdown:
==========================================================================
root@ceph01:/home/user1# initctl list | grep ceph
ceph-mds-all-starter stop/waiting
ceph-mds-all stop/waiting
ceph-osd-all stop/waiting
ceph-osd-all-starter stop/waiting
ceph-all stop/waiting
ceph-mon-all stop/waiting
ceph-mon-all-starter stop/waiting
ceph-mon stop/waiting
ceph-create-keys start/running, process 1042
ceph-osd stop/waiting
ceph-mds stop/waiting
root@ceph01:/home/user1#
Start ceph-all daemon:
==========================================================================
root@ceph01:/home/user1# start ceph-all
ceph-all start/running
root@ceph01:/home/user1#
Everything starts Okay except the MON daemon:
==========================================================================
root@ceph01:/home/user1# initctl list | grep ceph
ceph-mds-all-starter stop/waiting
ceph-mds-all start/running
ceph-osd-all start/running
ceph-osd-all-starter stop/waiting
ceph-all start/running
ceph-mon-all start/running
ceph-mon-all-starter stop/waiting
ceph-mon stop/waiting
ceph-create-keys start/running, process 1042
ceph-osd (openstack/2) start/running, process 14594
ceph-osd (openstack/0) start/running, process 14544
ceph-osd (openstack/1) start/running, process 14647
ceph-mds stop/waiting
root@ceph01:/home/user1#
Redeploying MON daemon with ceph-deploy from Admin Node:
==========================================================================
root@cephadmin01:/home/user1/ceph/clusters/openstack# ceph-deploy
--cluster openstack mon create ceph01
root@cephadmin01:/home/user1/ceph/clusters/openstack#
Verified that MON daemon is now running:
==========================================================================
root@ceph01:/home/user1# initctl list | grep ceph
ceph-mds-all-starter stop/waiting
ceph-mds-all start/running
ceph-osd-all start/running
ceph-osd-all-starter stop/waiting
ceph-all start/running
ceph-mon-all start/running
ceph-mon-all-starter stop/waiting
ceph-mon (openstack/ceph01) start/running, process 15354
ceph-create-keys start/running, process 1042
ceph-osd (openstack/2) start/running, process 14594
ceph-osd (openstack/0) start/running, process 14544
ceph-osd (openstack/1) start/running, process 14647
ceph-mds stop/waiting
root@ceph01:/home/user1#
Please let me know if I'm missing something now how to make the MON
daemon more persistent when deploying it with ceph-deploy on a cluster
named!
Thank you in advance,
Abdi
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com