]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
/workunits/cephtool/test.sh: Be more liberal in testing health-output.
authorWillem Jan Withagen <wjw@digiware.nl>
Tue, 18 Apr 2017 11:43:54 +0000 (13:43 +0200)
committerWillem Jan Withagen <wjw@digiware.nl>
Tue, 18 Apr 2017 11:43:54 +0000 (13:43 +0200)
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 <wjw@digiware.nl>
qa/workunits/cephtool/test.sh

index 353e5f745189e6b0baf88ad0f26014bdd5d83286..8390c4222933aafc8ee75eaf174a7034abb25833 100755 (executable)
@@ -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