From f8a7b7c885097fe92b9a4019fdec9774043a1e29 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Fri, 17 Nov 2017 10:20:40 -0600 Subject: [PATCH] qa/tasks/ceph: disable osd_debug_deep_scrub_sleep in case it is set Otherwise the final scrub may take too long. Signed-off-by: Sage Weil (cherry picked from commit 3f922e79c3c39710f5fbabc0dacef5f4ab19885b) --- qa/tasks/ceph.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 87cbbc1ff5617..f61047d98cd45 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -1059,6 +1059,8 @@ def osd_scrub_pgs(ctx, config): # allow this to fail; in certain cases the OSD might not be up # at this point. we will catch all pgs below. try: + manager.raw_cluster_cmd('tell', 'osd.' + id_, 'config', 'set', + 'osd_debug_deep_scrub_sleep', '0'); manager.raw_cluster_cmd('osd', 'deep-scrub', id_) except run.CommandFailedError: pass -- 2.39.5