Skip to content

mgr/rbd_support: recover from "double blocklisting" - #51454

Merged
idryomov merged 1 commit into
ceph:mainfrom
ajarr:wip-59713
May 16, 2023
Merged

idryomov merged 1 commit into
ceph:mainfrom
ajarr:wip-59713

Conversation

@ajarr

@ajarr ajarr commented May 11, 2023 •

Copy link
Copy Markdown
Contributor

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

Contribution Guidelines

Checklist

  • Tracker (select at least one)
    • References tracker ticket
    • Very recent bug; references commit where it was introduced
    • New feature (ticket optional)
    • Doc update (no ticket needed)
    • Code cleanup (no ticket needed)
  • Component impact
    • Affects Dashboard, opened tracker ticket
    • Affects Orchestrator, opened tracker ticket
    • No impact that needs to be tracked
  • Documentation (select at least one)
    • Updates relevant documentation
    • No doc update is appropriate
  • Tests (select at least one)
Show available Jenkins commands
  • jenkins retest this please
  • jenkins test classic perf
  • jenkins test crimson perf
  • jenkins test signed
  • jenkins test make check
  • jenkins test make check arm64
  • jenkins test submodules
  • jenkins test dashboard
  • jenkins test dashboard cephadm
  • jenkins test api
  • jenkins test docs
  • jenkins render docs
  • jenkins test ceph-volume all
  • jenkins test ceph-volume tox
  • jenkins test windows

@ajarr
ajarr requested a review from a team as a code owner May 11, 2023 22:10
@ajarr
ajarr marked this pull request as draft May 11, 2023 22:12
Comment thread src/pybind/mgr/rbd_support/module.py Resolved
@ajarr
ajarr requested a review from idryomov May 15, 2023 15:54
@ajarr
ajarr marked this pull request as ready for review May 15, 2023 16:46
Comment thread src/pybind/mgr/rbd_support/module.py Resolved
Comment thread src/pybind/mgr/rbd_support/module.py Resolved
Comment thread src/pybind/mgr/rbd_support/module.py Resolved
Comment thread src/pybind/mgr/rbd_support/module.py Resolved
@ajarr
ajarr force-pushed the wip-59713 branch 2 times, most recently from 72a8386 to c3654d5 Compare May 15, 2023 17:45
@ajarr
ajarr requested a review from idryomov May 15, 2023 17:47

@idryomov idryomov left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Otherwise LGTM!

Comment thread src/pybind/mgr/rbd_support/module.py Resolved
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 <[email protected]>
@idryomov

Copy link
Copy Markdown
Contributor

jenkins test make check

@idryomov
idryomov merged commit 4d51163 into ceph:main May 16, 2023
@idryomov idryomov changed the title rbd_support: recover from "double blocklisting" mgr/rbd_support: recover from "double blocklisting" May 16, 2023
@ajarr
ajarr deleted the wip-59713 branch May 16, 2023 20:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants