]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/rbd_support: remove localized schedule option during module startup 49650/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 20:25:56 +0000 (15:25 -0500)
commit57c5850f59b91cce7547298667cc88795e1a7a8e
tree271c5880852287107ef5be2f75ee755b3ec868c3
parentd043385a0ec220dd886b913d6b6bb9ddb7f5e489
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)

Conflicts:
       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
 - Above conflicts were due to commit e4a16e2
   ("mgr/rbd_support: add type annotation") not in pacific
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