]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: remove localized schedule option during module startup 49649/head
authorRamana Raja <rraja@redhat.com>
Wed, 14 Dec 2022 05:09:37 +0000 (00:09 -0500)
committerRamana Raja <rraja@redhat.com>
Thu, 5 Jan 2023 19:19:43 +0000 (14:19 -0500)
commit149bbe4debc19a927df9a6bc136e52a14cae1628
tree28ca6270d409284943908007a0833867ac03067e
parent351d8feb6b2afc2bdf62d801edaf0a99a72ead6c
mgr/rbd_support: remove localized schedule option during module startup

The localized schedule option was removed during every load of a
scheduler handler. This occured multiple times during a mgr process's
lifespan. Instead, remove the localized schedule module option when the
rbd_support module starts up.

Fixes: https://tracker.ceph.com/issues/57726
Signed-off-by: Ramana Raja <rraja@redhat.com>
(cherry picked from commit 377840a746e4d47b77e24648b06f53f4a52315c1)
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py
src/pybind/mgr/rbd_support/schedule.py
src/pybind/mgr/rbd_support/trash_purge_schedule.py