mirror of
https://github.com/ceph/ceph
synced 2025-01-19 01:21:49 +00:00
mon: pool create will not fail if the type differs
It looked like it worked because the wrapper hide the error. The failing tests are commented out so that the other tests can be used. Signed-off-by: Loic Dachary <loic@dachary.org>
This commit is contained in:
parent
98a1525307
commit
1e238e6f95
@ -273,12 +273,15 @@ 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
|
||||
# should fail because the default type is rep and
|
||||
# the pool is of type 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
|
||||
# should fail because the type is not the same
|
||||
# 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
|
||||
|
Loading…
Reference in New Issue
Block a user