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

deep-scrub'

as older OSD versions do not support the former.

Fixes: https://tracker.ceph.com/issues/64972

Signed-off-by: Ronen Friedman <rfriedma@redhat.com>
This commit is contained in:
Ronen Friedman 2024-04-07 02:48:35 -05:00
parent a971fd5f57
commit dda89e77ae

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: