From ce654c51335cb0dd0db4827660475bccd6e4f286 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Tue, 23 May 2017 14:10:54 -0400 Subject: [PATCH] qa/suites/rados/*/at-end: wait for healthy before scrubbing The scrub_pgs command also waits for healthy for a while, but fails silently if it times out, which means the subsequent scrubs will also fail to clean up. This forces an earlier failure that does not obscure the root cause. Signed-off-by: Sage Weil --- qa/suites/rados/thrash/d-require-luminous/at-end.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/qa/suites/rados/thrash/d-require-luminous/at-end.yaml b/qa/suites/rados/thrash/d-require-luminous/at-end.yaml index 3cf78ca5a79..f9711a126e2 100644 --- a/qa/suites/rados/thrash/d-require-luminous/at-end.yaml +++ b/qa/suites/rados/thrash/d-require-luminous/at-end.yaml @@ -8,6 +8,7 @@ tasks: - ceph osd set require_luminous_osds # make sure osds have latest map - rados -p rbd bench 5 write -b 4096 + - ceph.healthy: - ceph.osd_scrub_pgs: cluster: ceph - exec: