Merge pull request #21410 from badone/wip-test_large_omap_detection-scrub-pgs-instead-of-osds

qa/workunits/rados/test_large_omap_detection: Scrub pgs instead of OSDs

Reviewed-by: Josh Durgin <jdurgin@redhat.com>
This commit is contained in:
Josh Durgin 2018-04-13 17:54:21 -07:00 committed by GitHub
commit b4205921be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: