]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
rbd_support: recover from "double blocklisting"
authorRamana Raja <rraja@redhat.com>
Wed, 10 May 2023 18:37:44 +0000 (14:37 -0400)
committerRamana Raja <rraja@redhat.com>
Mon, 15 May 2023 20:55:35 +0000 (16:55 -0400)
commit4523d9b68ee84f69e8665a728d4037b53cdf3d6f
treeaf50b17d9f031af96a93513fd590481ebc80d0a5
parent6c07ed5e3d0d436807961de18d55e5eed3588bf1
rbd_support: recover from "double blocklisting"

Recover from being blocklisted while recovering from blocklisting.
When the rbd_support  module is being set up to recover from client
blocklisting, the module's new rados client connection can also get
blocklisted. Currently, this will cause the recovery to fail and
the module will remain inoperable. Instead, retry module recovery
when the new client gets blocklisted during the module setup in the
recovery thread.

Fixes: https://tracker.ceph.com/issues/59713
Signed-off-by: Ramana Raja <rraja@redhat.com>
src/pybind/mgr/rbd_support/mirror_snapshot_schedule.py
src/pybind/mgr/rbd_support/module.py
src/pybind/mgr/rbd_support/perf.py
src/pybind/mgr/rbd_support/task.py
src/pybind/mgr/rbd_support/trash_purge_schedule.py