From: Jason Dillaman Date: Mon, 14 Sep 2020 12:58:52 +0000 (-0400) Subject: qa/workunits/mon: fixed excessively large pool PG count X-Git-Tag: v14.2.12~38^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=8a29f2c333523af8704976ab5f19d04c0201bd31;p=ceph.git qa/workunits/mon: fixed excessively large pool PG count Fixes: https://tracker.ceph.com/issues/47405 Signed-off-by: Jason Dillaman (cherry picked from commit 2fa9442dcc7a0448ab7e3588f82f93ca2e55d686) --- diff --git a/qa/workunits/mon/rbd_snaps_ops.sh b/qa/workunits/mon/rbd_snaps_ops.sh index bdb0702808f57..eb88565eab9c2 100755 --- a/qa/workunits/mon/rbd_snaps_ops.sh +++ b/qa/workunits/mon/rbd_snaps_ops.sh @@ -19,8 +19,8 @@ expect() } ceph osd pool delete test test --yes-i-really-really-mean-it || true -expect 'ceph osd pool create test 256 256' 0 -expect 'rbd --pool=test pool init' 0 +expect 'ceph osd pool create test 8 8' 0 +expect 'ceph osd pool application enable test rbd' expect 'ceph osd pool mksnap test snapshot' 0 expect 'ceph osd pool rmsnap test snapshot' 0 @@ -28,7 +28,7 @@ expect 'rbd --pool=test --rbd_validate_pool=false create --size=102400 image' 0 expect 'rbd --pool=test snap create image@snapshot' 22 expect 'ceph osd pool delete test test --yes-i-really-really-mean-it' 0 -expect 'ceph osd pool create test 256 256' 0 +expect 'ceph osd pool create test 8 8' 0 expect 'rbd --pool=test pool init' 0 expect 'rbd --pool=test create --size=102400 image' 0 expect 'rbd --pool=test snap create image@snapshot' 0 @@ -45,13 +45,13 @@ expect 'ceph osd pool delete test test --yes-i-really-really-mean-it' 0 ceph osd pool delete test-foo test-foo --yes-i-really-really-mean-it || true expect 'ceph osd pool create test-foo 8' 0 -expect 'rbd pool init test-foo' +expect 'ceph osd pool application enable test-foo rbd' expect 'rbd --pool test-foo create --size 1024 image' 0 expect 'rbd --pool test-foo snap create image@snapshot' 0 ceph osd pool delete test-bar test-bar --yes-i-really-really-mean-it || true expect 'ceph osd pool create test-bar 8' 0 -expect 'rbd pool init test-bar' +expect 'ceph osd pool application enable test-bar rbd' expect 'rados cppool test-foo test-bar --yes-i-really-mean-it' 0 expect 'rbd --pool test-bar snap rm image@snapshot' 95 expect 'ceph osd pool delete test-foo test-foo --yes-i-really-really-mean-it' 0