From 7da45d65be36d36b880cc55c5036e96c24b53f00 Mon Sep 17 00:00:00 2001 From: Qiaowei Ren Date: Thu, 1 Mar 2018 14:38:11 +0800 Subject: remove ceph code This patch removes initial ceph code, due to license issue. Change-Id: I092d44f601cdf34aed92300fe13214925563081c Signed-off-by: Qiaowei Ren --- src/ceph/qa/workunits/caps/mon_commands.sh | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100755 src/ceph/qa/workunits/caps/mon_commands.sh (limited to 'src/ceph/qa/workunits/caps/mon_commands.sh') diff --git a/src/ceph/qa/workunits/caps/mon_commands.sh b/src/ceph/qa/workunits/caps/mon_commands.sh deleted file mode 100755 index 5b5bce6..0000000 --- a/src/ceph/qa/workunits/caps/mon_commands.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -ex - -ceph-authtool --create-keyring k --gen-key -p --name client.xx -ceph auth add -i k client.xx mon "allow command foo; allow command bar *; allow command baz ...; allow command foo add * mon allow\\ rwx osd allow\\ *" - -( ceph -k k -n client.xx foo || true ) | grep 'unrecog' -( ceph -k k -n client.xx foo ooo || true ) | grep 'Access denied' -( ceph -k k -n client.xx fo || true ) | grep 'Access denied' -( ceph -k k -n client.xx fooo || true ) | grep 'Access denied' - -( ceph -k k -n client.xx bar || true ) | grep 'Access denied' -( ceph -k k -n client.xx bar a || true ) | grep 'unrecog' -( ceph -k k -n client.xx bar a b c || true ) | grep 'Access denied' -( ceph -k k -n client.xx ba || true ) | grep 'Access denied' -( ceph -k k -n client.xx barr || true ) | grep 'Access denied' - -( ceph -k k -n client.xx baz || true ) | grep -v 'Access denied' -( ceph -k k -n client.xx baz a || true ) | grep -v 'Access denied' -( ceph -k k -n client.xx baz a b || true ) | grep -v 'Access denied' - -( ceph -k k -n client.xx foo add osd.1 -i k mon 'allow rwx' osd 'allow *' || true ) | grep 'unrecog' -( ceph -k k -n client.xx foo add osd a b c -i k mon 'allow rwx' osd 'allow *' || true ) | grep 'Access denied' -( ceph -k k -n client.xx foo add osd a b c -i k mon 'allow *' || true ) | grep 'Access denied' - -echo OK \ No newline at end of file -- cgit 1.2.3-korg