]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rbd: added mgr 'profile rbd' caps to mirror user
authorJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 01:22:30 +0000 (20:22 -0500)
committerJason Dillaman <dillaman@redhat.com>
Thu, 13 Feb 2020 01:22:30 +0000 (20:22 -0500)
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
qa/workunits/rbd/rbd_mirror_helpers.sh

index 688a2a72c82fd7726f79b088ce5086434f8170cb..ab20e9f75bfa3835e2daae615bec7dba12757da0 100755 (executable)
@@ -195,12 +195,12 @@ create_users()
 
     CEPH_ARGS='' ceph --cluster "${cluster}" \
         auth get-or-create client.${CEPH_ID} \
-        mon 'profile rbd' osd 'profile rbd' >> \
+        mon 'profile rbd' osd 'profile rbd' mgr 'profile rbd' >> \
         ${CEPH_ROOT}/run/${cluster}/keyring
     for instance in `seq 0 ${LAST_MIRROR_INSTANCE}`; do
         CEPH_ARGS='' ceph --cluster "${cluster}" \
             auth get-or-create client.${MIRROR_USER_ID_PREFIX}${instance} \
-            mon 'profile rbd-mirror' osd 'profile rbd' >> \
+            mon 'profile rbd-mirror' osd 'profile rbd' mgr 'profile rbd' >> \
             ${CEPH_ROOT}/run/${cluster}/keyring
     done
 }