From: Jason Dillaman Date: Wed, 28 Oct 2020 18:06:57 +0000 (-0400) Subject: qa/workunits/rbd: fix permission issue when removing mirror peer X-Git-Tag: v16.1.0~734^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=caaba8eabecd3911ba8bc4233891160134b7f2eb;p=ceph-ci.git qa/workunits/rbd: fix permission issue when removing mirror peer Fixes: https://tracker.ceph.com/issues/48032 Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 36d712f85b9..5a214689d24 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -261,7 +261,7 @@ peer_add() peer_uuid=$(rbd mirror pool info --cluster ${cluster} --pool ${pool} --format xml | \ xmlstarlet sel -t -v "//peers/peer[site_name='${remote_cluster}']/uuid") - rbd --cluster ${cluster} --pool ${pool} mirror pool peer remove ${peer_uuid} + CEPH_ARGS='' rbd --cluster ${cluster} --pool ${pool} mirror pool peer remove ${peer_uuid} else test $error_code -eq 0 if [ -n "$uuid_var_name" ]; then