From efb7ab2ae4bfdf790bf59eec21f341b0886919d2 Mon Sep 17 00:00:00 2001 From: Greg Farnum Date: Wed, 28 Aug 2013 17:47:42 -0700 Subject: [PATCH] qa/workunits/cephtool/test.sh: test osd tier CLI Signed-off-by: Sage Weil --- qa/workunits/cephtool/test.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 7915e48a6edd..6963ca3dce72 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -47,6 +47,21 @@ function check_response() } +# tiering +ceph osd pool create cache 2 +ceph osd pool create cache2 2 +ceph osd tier add data cache +ceph osd tier add data cache2 +expect_false ceph osd tier add metadata cache +ceph osd tier cache-mode cache writeback +ceph osd tier cache-mode cache readonly +ceph osd tier cache-mode cache none +ceph osd tier remove data cache +ceph osd tier add metadata cache +ceph osd tier remove metadata cache +ceph osd tier remove data cache2 +ceph osd pool delete cache cache --yes-i-really-really-mean-it +ceph osd pool delete cache2 cache2 --yes-i-really-really-mean-it # # Assumes there are at least 3 MDSes and two OSDs -- 2.47.3