From: Jason Dillaman Date: Mon, 10 Feb 2020 16:34:49 +0000 (-0500) Subject: qa/workunits/rbd: override CEPH_ARGS when initializing the site name X-Git-Tag: v15.1.1~471^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F33187%2Fhead;p=ceph.git qa/workunits/rbd: override CEPH_ARGS when initializing the site name The mirroring site name is stored in the MON config which requires higher privledges than the standard "client.mirror" user. Fixes: https://tracker.ceph.com/issues/44066 Signed-off-by: Jason Dillaman --- diff --git a/qa/workunits/rbd/rbd_mirror_helpers.sh b/qa/workunits/rbd/rbd_mirror_helpers.sh index 4cbf02b033aa..8dc8087a6000 100755 --- a/qa/workunits/rbd/rbd_mirror_helpers.sh +++ b/qa/workunits/rbd/rbd_mirror_helpers.sh @@ -248,7 +248,8 @@ setup_pools() PEER_CLUSTER_SUFFIX=-DNE fi - rbd --cluster ${cluster} mirror pool enable --site-name ${cluster}${PEER_CLUSTER_SUFFIX} ${POOL} pool + CEPH_ARGS='' rbd --cluster ${cluster} mirror pool enable \ + --site-name ${cluster}${PEER_CLUSTER_SUFFIX} ${POOL} pool rbd --cluster ${cluster} mirror pool enable ${PARENT_POOL} image rbd --cluster ${cluster} namespace create ${POOL}/${NS1}