]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/tasks/ceph: disable osd_debug_deep_scrub_sleep in case it is set
authorSage Weil <sage@redhat.com>
Fri, 17 Nov 2017 16:20:40 +0000 (10:20 -0600)
committerSage Weil <sage@redhat.com>
Sun, 14 Jan 2018 16:47:24 +0000 (10:47 -0600)
Otherwise the final scrub may take too long.

Signed-off-by: Sage Weil <sage@redhat.com>
qa/tasks/ceph.py

index 177fb0d2db2d04dad6d5ca2239d32135751d6552..263b2cb99102261887617692359e55929b2ef750 100644 (file)
@@ -1070,6 +1070,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