]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commit
shrink-mon: search mon in the quorum_names list
authorDimitri Savineau <dsavinea@redhat.com>
Thu, 12 Sep 2019 15:51:37 +0000 (11:51 -0400)
committerGuillaume Abrioux <gabrioux@redhat.com>
Wed, 18 Sep 2019 12:35:02 +0000 (14:35 +0200)
commit734c0dc3106a14a0bacd952d1fd91e3d8856bac6
treed754e25052ba847d06627216e1c969f9e549902d
parentda094ac5eef5f580de3fa7a4b9f72b3ca1bbe258
shrink-mon: search mon in the quorum_names list

If we're looking at the mon hostname in the ceph status output then
there's some scenarios where this could be true.
If we collocate some services (mons, mgrs, etc..) then the hostname of
the monitor to shrink will still be present in the ceph status (like
in mgrs or other).
Instead we should check the hostame only in the mon part of the output.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
infrastructure-playbooks/shrink-mon.yml