From: Brad Hubbard Date: Fri, 13 Apr 2018 01:10:22 +0000 (+1000) Subject: qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs X-Git-Tag: v12.2.6~166^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=6ad50fbdf25794b2c6c6bb578cabf1f47ee45f09;p=ceph.git qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs Signed-off-by: Brad Hubbard (cherry picked from commit aba1e74e03c753366009996dedcb59ef83e155de) --- diff --git a/qa/workunits/rados/test_large_omap_detection.py b/qa/workunits/rados/test_large_omap_detection.py index b5bf64ceaa44..6a9e3f93857a 100755 --- a/qa/workunits/rados/test_large_omap_detection.py +++ b/qa/workunits/rados/test_large_omap_detection.py @@ -93,8 +93,8 @@ def wait_for_scrub(): osds.add(json.loads(out)['acting_primary']) pgs[json.loads(out)['pgid']] = get_deep_scrub_timestamp(json.loads(out)['pgid']) - for osd in osds: - command = "ceph osd deep-scrub osd." + str(osd) + for pg in pgs: + command = "ceph pg deep-scrub " + str(pg) subprocess.check_call(shlex.split(command)) for pg in pgs: