From: Mykola Golub Date: Sat, 25 Apr 2020 07:36:25 +0000 (+0100) Subject: qa/workunits/rbd: retry the addition of a mirror pool peer X-Git-Tag: v15.2.2~44^2~12 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=f93516d78734740c30c5532e5032be1893004bb1;p=ceph.git qa/workunits/rbd: retry the addition of a mirror pool peer fb4311f5 has fixed this for setup, but "remove mirroring pool" test needs fixing too. Fixes: https://tracker.ceph.com/issues/44938 Signed-off-by: Mykola Golub (cherry picked from commit 7eced158a9a3c47cc408b35219b4428e97e018fb) --- diff --git a/qa/workunits/rbd/rbd_mirror_journal.sh b/qa/workunits/rbd/rbd_mirror_journal.sh index 31b3ba8be27..da856861b0c 100755 --- a/qa/workunits/rbd/rbd_mirror_journal.sh +++ b/qa/workunits/rbd/rbd_mirror_journal.sh @@ -349,8 +349,8 @@ for cluster in ${CLUSTER1} ${CLUSTER2}; do CEPH_ARGS='' rbd --cluster ${cluster} pool init ${pool} rbd --cluster ${cluster} mirror pool enable ${pool} pool done -rbd --cluster ${CLUSTER1} mirror pool peer add ${pool} ${CLUSTER2} -rbd --cluster ${CLUSTER2} mirror pool peer add ${pool} ${CLUSTER1} +peer_add ${CLUSTER1} ${pool} ${CLUSTER2} +peer_add ${CLUSTER2} ${pool} ${CLUSTER1} rdp_image=test_remove_data_pool create_image ${CLUSTER2} ${pool} ${image} 128 create_image ${CLUSTER2} ${POOL} ${rdp_image} 128 --data-pool ${pool}