mirror of
https://github.com/ceph/ceph
synced 2024-12-17 08:57:28 +00:00
Merge pull request #18067 from trociny/wip-qa-pg_num
qa/workunits/rbd: pool create may fail for small cluster Reviewed-by: Jason Dillaman <dillaman@redhat.com>
This commit is contained in:
commit
a2702d70dc
@ -290,7 +290,7 @@ test_pool_image_args() {
|
||||
remove_images
|
||||
|
||||
ceph osd pool delete test test --yes-i-really-really-mean-it || true
|
||||
ceph osd pool create test 100
|
||||
ceph osd pool create test 32
|
||||
rbd pool init test
|
||||
truncate -s 1 /tmp/empty /tmp/empty@snap
|
||||
|
||||
|
@ -4,9 +4,9 @@ set -ex
|
||||
IMAGE_FEATURES="layering,exclusive-lock,object-map,fast-diff"
|
||||
|
||||
create_pools() {
|
||||
ceph osd pool create images 100
|
||||
ceph osd pool create images 32
|
||||
rbd pool init images
|
||||
ceph osd pool create volumes 100
|
||||
ceph osd pool create volumes 32
|
||||
rbd pool init volumes
|
||||
}
|
||||
|
||||
|
@ -55,7 +55,7 @@ setup()
|
||||
TEMPDIR=`mktemp -d`
|
||||
DATA=${TEMPDIR}/data
|
||||
dd if=/dev/urandom of=${DATA} bs=1M count=${SIZE}
|
||||
ceph osd pool create ${POOL} 64 64
|
||||
ceph osd pool create ${POOL} 32
|
||||
rbd --dest-pool ${POOL} --no-progress import ${DATA} ${IMAGE}
|
||||
}
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh -ex
|
||||
|
||||
POOL_NAME=rbd_test_validate_pool
|
||||
PG_NUM=100
|
||||
PG_NUM=32
|
||||
|
||||
tear_down () {
|
||||
ceph osd pool delete $POOL_NAME $POOL_NAME --yes-i-really-really-mean-it || true
|
||||
|
Loading…
Reference in New Issue
Block a user