From: Joao Eduardo Luis Date: Tue, 8 Jul 2014 18:22:49 +0000 (+0100) Subject: qa/workunits: cephtool: pool needs to be a tier to be used as such X-Git-Tag: v0.80.6~103^2~2^2~38 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=c71c99ff21063e26ebfef431f916463f5606aae2;p=ceph.git qa/workunits: cephtool: pool needs to be a tier to be used as such Signed-off-by: Joao Eduardo Luis (cherry picked from commit 704b0a33f2071eabeb8c5b000a6805ef6d498961) --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 72b7940e1ccf..ab4ff4671ec7 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -208,6 +208,7 @@ function test_tiering() # check health check ceph osd pool create cache4 2 + ceph osd tier add data cache4 ceph osd pool set cache4 target_max_objects 5 ceph osd pool set cache4 target_max_bytes 1000 for f in `seq 1 5` ; do @@ -220,6 +221,7 @@ function test_tiering() ceph health | grep WARN | grep cache4 ceph health detail | grep cache4 | grep 'target max' | grep objects ceph health detail | grep cache4 | grep 'target max' | grep 'B' + ceph osd tier remove data cache4 ceph osd pool delete cache4 cache4 --yes-i-really-really-mean-it # make sure 'tier remove' behaves as we expect