]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa/workunits/rbd: retry the addition of a mirror pool peer 34638/head
authorJason Dillaman <dillaman@redhat.com>
Wed, 15 Apr 2020 20:27:07 +0000 (16:27 -0400)
committerNathan Cutler <ncutler@suse.com>
Mon, 20 Apr 2020 11:14:06 +0000 (13:14 +0200)
commit4644cd663de27bd19b07eb8dca0153032060694b
treec68cb96ca6739a63ebae8f1b2cc156ff7206c4f3
parent38e97fd5d156edb01636f2a37e5ed246e743ebc9
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>
(cherry picked from commit fb4311f597a98b6870d7895e6403fb32356bfbe9)
qa/workunits/rbd/rbd_mirror_helpers.sh