]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
rbd_support: recover from "double blocklisting" 51758/head
authorRamana Raja <rraja@redhat.com>
Wed, 10 May 2023 18:37:44 +0000 (14:37 -0400)
committerRamana Raja <rraja@redhat.com>
Thu, 25 May 2023 12:14:41 +0000 (08:14 -0400)
commit2ce8275e4bdaf38d075b0c59287178dec0c5ef32
tree01059bd9c36488371935055ded18b066b14c4d3f
parent2c11acf71e6ce3a50c56fd6e782c812c9a27f726
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>
(cherry picked from commit 4523d9b68ee84f69e8665a728d4037b53cdf3d6f)
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