From: Sage Weil Date: Mon, 31 Dec 2018 17:18:05 +0000 (-0600) Subject: qa/workunits/rados/test_health_warnings: prevent out osds X-Git-Tag: v12.2.12~95^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=384ed4d2a970e8047d89605c6323c0ec6e8398e2;p=ceph.git qa/workunits/rados/test_health_warnings: prevent out osds Fixes: http://tracker.ceph.com/issues/37776 Signed-off-by: Sage Weil (cherry picked from commit d8d16ba6aa9b00379aac7d2732f60bfd68b20c0c) --- diff --git a/qa/workunits/rados/test_health_warnings.sh b/qa/workunits/rados/test_health_warnings.sh index a4a9c11c638c..19dec9a84ed0 100755 --- a/qa/workunits/rados/test_health_warnings.sh +++ b/qa/workunits/rados/test_health_warnings.sh @@ -7,6 +7,7 @@ crushtool -o crushmap --build --num_osds 10 host straw 2 rack straw 2 row straw ceph osd setcrushmap -i crushmap ceph osd tree ceph tell osd.* injectargs --osd_max_markdown_count 1024 --osd_max_markdown_period 1 +ceph osd set noout wait_for_healthy() { while ceph health | grep down