From: Mingxin Liu Date: Fri, 27 May 2016 10:42:52 +0000 (+0800) Subject: test: cannot create pool snap on tier X-Git-Tag: v12.0.0~94^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F9348%2Fhead;p=ceph.git test: cannot create pool snap on tier Signed-off-by: Mingxin Liu --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 914705055bdf..f2fa3dd26300 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -370,6 +370,15 @@ function test_tiering() ceph osd pool delete snap_base snap_base --yes-i-really-really-mean-it ceph osd pool delete snap_cache snap_cache --yes-i-really-really-mean-it + # make sure we can't create snapshot on tier + ceph osd pool create basex 2 + ceph osd pool create cachex 2 + ceph osd tier add basex cachex + expect_false ceph osd pool mksnap cache snapname + ceph osd tier remove basex cachex + ceph osd pool delete basex basex --yes-i-really-really-mean-it + ceph osd pool delete cachex cachex --yes-i-really-really-mean-it + # make sure we can't create an ec pool tier ceph osd pool create eccache 2 2 erasure ceph osd pool create repbase 2