From: Joao Eduardo Luis Date: Wed, 18 Dec 2013 17:42:20 +0000 (+0000) Subject: qa: workunit: cephtool: test osd pool create with erasure type X-Git-Tag: v0.75~67^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F941%2Fhead;p=ceph.git qa: workunit: cephtool: test osd pool create with erasure type Signed-off-by: Joao Eduardo Luis --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index de56f1df0d84..74a58652e77f 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -74,7 +74,6 @@ 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 # @@ -272,6 +271,19 @@ ceph osd pool rename data2 data3 ceph osd lspools | grep data3 ceph osd pool delete data3 data3 --yes-i-really-really-mean-it +ceph osd pool create erasurecodes 12 12 erasure +ceph osd pool create erasurecodes 12 12 erasure +expect_false ceph osd pool create erasurecodes 12 12 +ceph osd pool create replicated 12 12 rep +ceph osd pool create replicated 12 12 rep +ceph osd pool create replicated 12 12 # default is replicated +ceph osd pool create replicated 12 # default is replicated, pgp_num = pg_num +expect_false ceph osd pool create replicated 12 12 erasure +ceph osd lspools | grep erasurecodes +ceph osd lspools | grep replicated +ceph osd pool delete erasurecodes erasurecodes --yes-i-really-really-mean-it +ceph osd pool delete replicated replicated --yes-i-really-really-mean-it + ceph osd stat | grep up, ceph pg debug unfound_objects_exist