]> git-server-git.apps.pok.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 09:32:15 +0000 (10:32 +0100)
commitd1316ce77b796ce969c2fd36c975baca3ffe0bc9
treeca19b44d5ea6c64540bcd02f9bc1bfe373eb28d4
parenta664159061d377d3dc03703dc3927a4d022a6b97
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>
infrastructure-playbooks/shrink-rbdmirror.yml