Repository navigation
mgr/crash: fix race in do_post() - #71180
Merged
SrinivasaBharath merged 2 commits intoSep 30, 2026
Merged
SrinivasaBharath merged 2 commits into
SrinivasaBharath merged 2 commits into
Conversation
do_post() touched self.crashes without holding crashes_lock, so a crash post could land mid-iteration in crash ls/archive-all and blow up with "dictionary changed size during iteration", killing the module. Just needed @with_crashes like everywhere else. Fixes: https://tracker.ceph.com/issues/79357 Signed-off-by: Nitzan Mordechai <[email protected]>
ls() re-did the same "load if empty" check do_ls_all() already does
under crashes_lock via @with_crashes, except unlocked. Reachable from
other modules through remote('crash', 'ls') (telemetry), so it could
race a locked writer and silently drop the load. do_ls_all() already
does this safely, so just call it.
Fixes: https://tracker.ceph.com/issues/79357
Signed-off-by: Nitzan Mordechai <[email protected]>
skrumbach
added a commit
to skrumbach/home-ops
that referenced
this pull request
Aug 22, 2026
* fix(rook-ceph): disable rook mgr module to stop crash storm The prometheus mgr module unconditionally calls node_proxy_fullreport() on every scrape, which the rook orchestrator backend doesn't implement. The resulting NotImplementedError is recorded as a crash at the C++ dispatch boundary every 15s, which races the crash module's unlocked do_post() into HEALTH_ERR. Disabling the rook module stops orch dispatch entirely, removing the crash generator. This repo doesn't use ceph orch (docs/ceph/toolbox.md already documents it as inapplicable here), so the module isn't needed. Upstream: rook/rook#18124, ceph/ceph#71041, ceph/ceph#71180 (all open, unfixed even on ceph main as of 2026-08-22). * no-mistakes(document): docs(rook-ceph): log rook mgr module disable in ceph changelog
rzarzynski
approved these changes
Sep 9, 2026
Contributor
|
This PR has been added to wip-bharath15-testing-20260929.043152-main. |
This was referenced Oct 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
do_post() touched self.crashes without holding crashes_lock, so a crash post could land mid-iteration in crash ls/archive-all and blow up with "dictionary changed size during iteration", killing the module. Just needed @with_crashes like everywhere else.
Fixes: https://tracker.ceph.com/issues/79357
Contribution Guidelines
To sign and title your commits, please refer to Submitting Patches to Ceph.
If you are submitting a fix for a stable branch (e.g. "quincy"), please refer to Submitting Patches to Ceph - Backports for the proper workflow.
When filling out the below checklist, you may click boxes directly in the GitHub web UI. When entering or editing the entire PR message in the GitHub web UI editor, you may also select a checklist item by adding an
xbetween the brackets:[x]. Spaces and capitalization matter when checking off items this way.Checklist
Show available Jenkins commands
jenkins test classic perfJenkins Job | Jenkins Job Definitionjenkins test crimson perfJenkins Job | Jenkins Job Definitionjenkins test signedJenkins Job | Jenkins Job Definitionjenkins test make checkJenkins Job | Jenkins Job Definitionjenkins test make check arm64Jenkins Job | Jenkins Job Definitionjenkins test submodulesJenkins Job | Jenkins Job Definitionjenkins test dashboardJenkins Job | Jenkins Job Definitionjenkins test dashboard cephadmJenkins Job | Jenkins Job Definitionjenkins test apiJenkins Job | Jenkins Job Definitionjenkins test docsReadTheDocs | Github Workflow Definitionjenkins test ceph-volume allJenkins Jobs | Jenkins Jobs Definitionjenkins test windowsJenkins Job | Jenkins Job Definitionjenkins test rook e2eJenkins Job | Jenkins Job DefinitionYou must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.