]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
qa/workunits/rbd: retry the addition of a mirror pool peer
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Apr 2020 20:27:07 +0000 (16:27 -0400)
committerJason Dillaman <dillaman@redhat.com>
Wed, 15 Apr 2020 20:27:07 +0000 (16:27 -0400)
commitfb4311f597a98b6870d7895e6403fb32356bfbe9
tree6f625cd900c03cb073450b2dc8c778e1854bf9a9
parentef68f686be6d5cb9ca221e65deeff311bc397aa4
qa/workunits/rbd: retry the addition of a mirror pool peer

We might race with the remote rbd-mirror daemon creating a
tx-only peer when adding a new peer. Therefore, delete the
tx-only peer and attempt to re-create it.

Fixes: https://tracker.ceph.com/issues/44938
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/rbd_mirror_helpers.sh