]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
src/vstart: create rgw user with system flag
authorVarsha Rao <varao@redhat.com>
Wed, 14 Apr 2021 11:51:23 +0000 (17:21 +0530)
committerSage Weil <sage@newdream.net>
Wed, 30 Jun 2021 15:12:52 +0000 (11:12 -0400)
As dashboard requires the system flag to be enabled.

Signed-off-by: Varsha Rao <varao@redhat.com>
(cherry picked from commit 0d0cd4c6b0e8bbeaa71f54c831d67ef880e58016)

src/vstart.sh

index 3454d7db5bf97f5d4e5b478e65e65aa9c77318cd..ddb6b2b33e298fecfb23b3dd5e59089d596d493c 100755 (executable)
@@ -1472,7 +1472,7 @@ do_rgw_create_users()
     local akey='0555b35654ad1656d804'
     local skey='h7GhxuBLTrlhVUyxSPUKUV8r/2EI4ngqJxD7iBdBYLhwluN30JaT3Q=='
     debug echo "setting up user testid"
-    $CEPH_BIN/radosgw-admin user create --uid testid --access-key $akey --secret $skey --display-name 'M. Tester' --email tester@ceph.com -c $conf_fn > /dev/null
+    $CEPH_BIN/radosgw-admin user create --uid testid --access-key $akey --secret $skey --display-name 'M. Tester' --email tester@ceph.com --system -c $conf_fn > /dev/null
 
     # Create S3-test users
     # See: https://github.com/ceph/s3-tests