]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/mon/pg_autoscaler: clean up pools afterwards 25360/head
authorSage Weil <sage@redhat.com>
Wed, 19 Dec 2018 20:36:38 +0000 (14:36 -0600)
committerSage Weil <sage@redhat.com>
Wed, 19 Dec 2018 20:37:01 +0000 (14:37 -0600)
This avoids a huge pg merge from 100s to 4, which takes a long time and
makes the teuthology scrub cleanup time out.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/workunits/mon/pg_autoscaler.sh

index 29387c67dd8c8decff93865cb32cdab84cea2809..705a66604de15027045503dd2bebfa22f75aa340 100755 (executable)
@@ -74,4 +74,7 @@ wait_for 60 "ceph health detail | grep POOL_TARGET_SIZE_BYTES_OVERCOMMITTED"
 ceph osd pool set a target_size_bytes 0
 ceph osd pool set b target_size_ratio 0
 
+ceph osd pool rm a a --yes-i-really-really-mean-it
+ceph osd pool rm b b --yes-i-really-really-mean-it
+
 echo OK