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 <mgolub@suse.com>
This commit is contained in:
Mykola Golub 2020-04-25 08:36:25 +01:00
parent b0133c12ce
commit 7eced158a9

View File

@ -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}