]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
rbd_support: recover from "double blocklisting"
authorRamana Raja <rraja@redhat.com>
Wed, 10 May 2023 18:37:44 +0000 (14:37 -0400)
committerIlya Dryomov <idryomov@gmail.com>
Tue, 16 May 2023 20:18:18 +0000 (22:18 +0200)
commite203a000e8abbb0a4272a14b704cd0d359550279
tree82ee7ea9ed80a2f1e2a4cb6a4d09670ecd3e7053
parent0f9e7065369806075a91c75aa1db87a0dbc6fc61
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