From 7eced158a9a3c47cc408b35219b4428e97e018fb Mon Sep 17 00:00:00 2001 From: Mykola Golub Date: Sat, 25 Apr 2020 08:36:25 +0100 Subject: [PATCH] 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 --- qa/workunits/rbd/rbd_mirror_journal.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} -- 2.39.5