Merge pull request #56745 from ronen-fr/wip-rf-pgtell

tests/scripts: use 'tell pg deep-scrub pgid' instead of 'tell pgid deep-scrub'

Reviewed-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
Reviewed-by: Venky Shankar <vshankar@redhat.com>
Reviewed-by: Patrick Donnelly <pdonnell@redhat.com>
This commit is contained in:
Ronen Friedman 2024-04-24 13:59:10 +03:00 committed by GitHub
commit 45d9f53e5b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1303,7 +1303,7 @@ def osd_scrub_pgs(ctx, config):
# request was missed. do not do it every time because
# the scrub may be in progress or not reported yet and
# we will starve progress.
manager.raw_cluster_cmd('tell', pgid, 'deep-scrub')
manager.raw_cluster_cmd('pg', 'deep-scrub', pgid)
if gap_cnt > retries:
raise RuntimeError('Exiting scrub checking -- not all pgs scrubbed.')
if loop: