From b3ee598f5009140a19c07fc8bee554aff6c83f63 Mon Sep 17 00:00:00 2001 From: Joao Eduardo Luis Date: Wed, 18 Dec 2013 17:42:20 +0000 Subject: [PATCH] qa: workunit: cephtool: test osd pool create with erasure type Signed-off-by: Joao Eduardo Luis --- qa/workunits/cephtool/test.sh | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index de56f1df0d84a..74a58652e77fc 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 -- 2.39.5