From 57d373fa9957880c5e7ca9a3090e191b4507fe7c Mon Sep 17 00:00:00 2001 From: Jason Dillaman Date: Mon, 10 Feb 2020 11:34:49 -0500 Subject: [PATCH] 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 --- qa/workunits/rbd/rbd_mirror_helpers.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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} -- 2.47.3