From: Willem Jan Withagen Date: Tue, 18 Apr 2017 11:43:54 +0000 (+0200) Subject: /workunits/cephtool/test.sh: Be more liberal in testing health-output. X-Git-Tag: v12.0.2~22^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=9ff401e65b1a66a320953aeef8ab65b6f1fb6f10;p=ceph-ci.git /workunits/cephtool/test.sh: Be more liberal in testing health-output. Sometimes I get output like: HEALTH_ERR 2 pgs stuck unclean; Full ratio(s) out of order Which goes away over time. So it is a transit issue Signed-off-by: Willem Jan Withagen --- diff --git a/qa/workunits/cephtool/test.sh b/qa/workunits/cephtool/test.sh index 353e5f74518..8390c422293 100755 --- a/qa/workunits/cephtool/test.sh +++ b/qa/workunits/cephtool/test.sh @@ -1426,7 +1426,7 @@ function test_mon_pg() # Check health status ceph osd set-nearfull-ratio .913 - ceph health | grep 'HEALTH_ERR Full ratio(s) out of order' + ceph health | grep 'ratio(s) out of order' ceph health detail | grep 'backfill_ratio (0.912) < nearfull_ratio (0.913), increased' ceph osd set-nearfull-ratio .892 ceph osd set-backfillfull-ratio .963