From: Ronen Friedman Date: Sun, 7 Apr 2024 07:48:35 +0000 (-0500) Subject: tests/scripts: use 'tell pg deep-scrub pgid' instead of 'tell pgid X-Git-Tag: testing/wip-yuriw-testing-20240416.150233~19^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=28c5ef3ded516216f110b9d0bccf9ba0d749b588;p=ceph-ci.git 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 (cherry picked from commit dda89e77ae6d0a1c7f351c74192417bf60fde3f4) --- diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 39f4033ac4f..a7b3ad4c5ee 100644 --- a/qa/tasks/ceph.py +++ b/qa/tasks/ceph.py @@ -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: