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)
# 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: