]> git.apps.os.sepia.ceph.com Git - ceph-ansible.git/commit
shrink-rbdmirror: fix presence after removal
authorDimitri Savineau <dsavinea@redhat.com>
Fri, 28 Feb 2020 16:37:14 +0000 (11:37 -0500)
committerGuillaume Abrioux <gabrioux@redhat.com>
Tue, 3 Mar 2020 14:19:45 +0000 (15:19 +0100)
commit3b0ee8359475aa49b7b78b134d167e1e030b74b4
tree8c5094a5ef67b277733adf4ba0b0d20b0a7a88b2
parent4b07d97346be5bab1f4639fa7a5951af464a98f6
shrink-rbdmirror: fix presence after removal

We should add retry/delay to check the presence of the rbdmirror daemon
in the cluster status because the status takes some time to be updated.
Also the metadata.hostname isn't a good key to check because it doesn't
reflect the ansible_hostname fact. We should use metadata.id instead.

Signed-off-by: Dimitri Savineau <dsavinea@redhat.com>
(cherry picked from commit d1316ce77b796ce969c2fd36c975baca3ffe0bc9)
infrastructure-playbooks/shrink-rbdmirror.yml