From 62d1960cb9f8a871d8f6e597413d56be8d036b85 Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Thu, 18 May 2017 22:24:23 +0800 Subject: [PATCH] test: pass mon_pg_warn_min_per_osd=3 to mgr also Signed-off-by: Kefu Chai --- qa/workunits/ceph-helpers.sh | 2 +- src/vstart.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/qa/workunits/ceph-helpers.sh b/qa/workunits/ceph-helpers.sh index fee18dc4d10c2..b4ba8b93951ad 100755 --- a/qa/workunits/ceph-helpers.sh +++ b/qa/workunits/ceph-helpers.sh @@ -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 diff --git a/src/vstart.sh b/src/vstart.sh index 0ca1be981cf90..17499471de1f3 100755 --- a/src/vstart.sh +++ b/src/vstart.sh @@ -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 -- 2.39.5