]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
test: pass mon_pg_warn_min_per_osd=3 to mgr also
authorKefu Chai <kchai@redhat.com>
Thu, 18 May 2017 14:24:23 +0000 (22:24 +0800)
committerSage Weil <sage@redhat.com>
Fri, 2 Jun 2017 17:02:43 +0000 (13:02 -0400)
Signed-off-by: Kefu Chai <kchai@redhat.com>
qa/workunits/ceph-helpers.sh
src/vstart.sh

index fee18dc4d10c2a2a555cf9670bb44181df8b365c..b4ba8b93951ad8e2f7a5d580ee38f7f66f66f829 100755 (executable)
@@ -1328,7 +1328,7 @@ function test_wait_for_health_ok() {
 
     setup $dir || return 1
     run_mon $dir a --osd_pool_default_size=1 --osd_failsafe_full_ratio=.99 --mon_pg_warn_min_per_osd=0 || return 1
-    run_mgr $dir x || return 1
+    run_mgr $dir x --mon_pg_warn_min_per_osd=0 || return 1
     ! TIMEOUT=1 wait_for_health_ok || return 1
     run_osd $dir 0 || return 1
     wait_for_health_ok || return 1
index 0ca1be981cf903e8cb95eb51d8c89ce303be76f1..17499471de1f3b2461e62fe33e68bcb36f03be03 100755 (executable)
@@ -456,6 +456,7 @@ $extra_conf
         mgr data = $CEPH_DEV_DIR/mgr.\$id
         mgr module path = $MGR_PYTHON_PATH
         mon reweight min pgs per osd = 4
+        mon pg warn min per osd = 3
 $DAEMONOPTS
 $CMGRDEBUG
 $extra_conf