From 28c5ef3ded516216f110b9d0bccf9ba0d749b588 Mon Sep 17 00:00:00 2001 From: Ronen Friedman Date: Sun, 7 Apr 2024 02:48:35 -0500 Subject: [PATCH] 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) --- qa/tasks/ceph.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/tasks/ceph.py b/qa/tasks/ceph.py index 39f4033ac4f05..a7b3ad4c5eec6 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: -- 2.39.5