]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
mon: support replacing a mon
authorGuillaume Abrioux <gabrioux@redhat.com>
Thu, 9 Jan 2020 15:46:34 +0000 (16:46 +0100)
committerDimitri Savineau <savineau.dimitri@gmail.com>
Thu, 9 Jan 2020 17:59:12 +0000 (12:59 -0500)
commit86f3eeb717c7daac8c6330fdaa7f8a3c83f94b0d
treea54fc2d72ed78d4d9a87b741b0e9aeda18308287
parent30200802d97abf56c09ebd39f64184b2b4622c50
mon: support replacing a mon

We must pick up a mon which actually exists in ceph-facts in order to
detect if a cluster is running. Otherwise, it will state no cluster is
already running which will end up deploying a new monitor isolated in a
new quorum.

Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1622688
Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>
roles/ceph-facts/tasks/facts.yml
roles/ceph-mon/tasks/deploy_monitors.yml