]> git-server-git.apps.pok.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 20:02:03 +0000 (15:02 -0500)
commitd6da508a9b6829d2d0633c7200efdffce14f403f
treec78ae6d00165f805067ee6464b2a8aab450eb825
parenta3c2259bdee970a4792e584227fd6edf68661b94
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>
(cherry picked from commit 86f3eeb717c7daac8c6330fdaa7f8a3c83f94b0d)
roles/ceph-facts/tasks/facts.yml
roles/ceph-mon/tasks/deploy_monitors.yml