From accfd6ce881a04f01e7828ee1c4d87970320004a Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Wed, 8 Mar 2017 13:49:55 -0500 Subject: [PATCH] qa/workunits/cephtool/test.sh: test_auth_profiles must include mgr For 'pg ...' commands Signed-off-by: Sage Weil --- qa/workunits/cephtool/test.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index a5066fb0d7dec..7801702c6ec15 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -536,8 +536,10 @@ function test_auth() function test_auth_profiles() { - ceph auth add client.xx-profile-ro mon 'allow profile read-only' - ceph auth add client.xx-profile-rw mon 'allow profile read-write' + ceph auth add client.xx-profile-ro mon 'allow profile read-only' \ + mgr 'allow profile read-only' + ceph auth add client.xx-profile-rw mon 'allow profile read-write' \ + mgr 'allow profile read-write' ceph auth add client.xx-profile-rd mon 'allow profile role-definer' ceph auth export > client.xx.keyring -- 2.39.5