diff options
author | Sage Weil <sage@inktank.com> | 2013-07-19 21:50:06 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2013-07-19 22:32:23 -0700 |
commit | 3dec530de6d0c1a71ab206228b23ac57cfe0b420 (patch) | |
tree | ea08eb8d4852968f7d2911b3d0e9e8498b7b6ce1 | |
parent | 675d783aedc744fd0ad17e2df4d53bbf51d76b12 (diff) | |
download | ceph-3dec530de6d0c1a71ab206228b23ac57cfe0b420.tar.gz |
qa/workunits/mon/caps.sh: clean up users; rename
Signed-off-by: Sage Weil <sage@inktank.com>
-rwxr-xr-x | qa/workunits/mon/caps.sh (renamed from qa/workunits/mon/caps_madness.sh) | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/qa/workunits/mon/caps_madness.sh b/qa/workunits/mon/caps.sh index 07a45756c1c..f5aebbbb9f4 100755 --- a/qa/workunits/mon/caps_madness.sh +++ b/qa/workunits/mon/caps.sh @@ -26,6 +26,7 @@ expect() expect "ceph auth get-or-create client.bazar > $tmp.bazar.keyring" 0 expect "ceph -k $tmp.bazar.keyring --user bazar mon_status" 13 +ceph auth del client.bazar c="'allow command \"auth list\", allow command mon_status'" expect "ceph auth get-or-create client.foo mon $c > $tmp.foo.keyring" 0 @@ -36,6 +37,7 @@ expect "ceph -k $tmp.foo.keyring --user foo auth del client.bazar" 13 expect "ceph -k $tmp.foo.keyring --user foo osd dump" 13 expect "ceph -k $tmp.foo.keyring --user foo pg dump" 13 expect "ceph -k $tmp.foo.keyring --user foo quorum_status" 13 +ceph auth del client.foo c="'allow command service with prefix=list, allow command mon_status'" expect "ceph auth get-or-create client.bar mon $c > $tmp.bar.keyring" 0 @@ -46,5 +48,8 @@ expect "ceph -k $tmp.bar.keyring --user bar auth del client.foo" 13 expect "ceph -k $tmp.bar.keyring --user bar osd dump" 13 expect "ceph -k $tmp.bar.keyring --user bar pg dump" 13 expect "ceph -k $tmp.bar.keyring --user bar quorum_status" 13 +ceph auth del client.bar rm $tmp.bazar.keyring $tmp.foo.keyring $tmp.bar.keyring + +echo OK
\ No newline at end of file |