]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
tests/scripts: use 'tell pg deep-scrub pgid' instead of 'tell pgid 56766/head
authorRonen Friedman <rfriedma@redhat.com>
Sun, 7 Apr 2024 07:48:35 +0000 (02:48 -0500)
committerRonen Friedman <rfriedma@redhat.com>
Mon, 8 Apr 2024 17:56:01 +0000 (12:56 -0500)
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>
(cherry picked from commit dda89e77ae6d0a1c7f351c74192417bf60fde3f4)

qa/tasks/ceph.py

index 39f4033ac4f05890335b2afacaac5ea9d1326d3b..a7b3ad4c5eec6b75a3bd1a1672e9fa6dc1ae6ff6 100644 (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: