Repository navigation
umbrella: Ok to stop check for osd redeploy or reconfig - #72032
Merged
Merged
Conversation
When cephadm redeploys or reconfigures an OSD and the incoming keyring differs from the one on disk only in capability lines (e.g. the existing keyring was written without caps but the new one includes them), the code was unconditionally triggering a bluestore-label keyring update via rotate_osd_lv_keyring. Extract the bare key value from both the on-disk and incoming keyrings and only set update_bluestore_label_osd_keyring=True when the key bytes themselves differ. Keyrings that differ only in section headers or capability lines are treated as equal for this purpose. Fixes: https://tracker.ceph.com/issues/80399 Signed-off-by: Shweta Bhosale <[email protected]> (cherry picked from commit 25de0e2)
When _check_daemons decides an OSD needs a reconfig or redeploy (e.g. extra ceph config changed, deps changed, or monmap updated), then before executing an redeploy or reconfig on an OSD, consult `osd ok-to-stop` first. If the cluster says the OSD is not safe to stop, skip the action and log a message at INFO level; the serve loop will retry on the next iteration, naturally backing off until the cluster is healthy enough to proceed. Fixes: https://tracker.ceph.com/issues/80399 Signed-off-by: Shweta Bhosale <[email protected]> (cherry picked from commit 18bb15c)
Member
|
This PR has been added to umbrella integration testing by pdonnell started 2026-09-29-17:26. |
Member
|
This PR has been added to umbrella integration testing by pdonnell started 2026-09-30-13:50. |
batrick
approved these changes
Oct 7, 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.
backport tracker: https://tracker.ceph.com/issues/80805
backport of #71640
parent tracker: https://tracker.ceph.com/issues/80440
this backport was staged using ceph-backport.sh version 16.0.0.6848
find the latest version at https://github.com/ceph/ceph/blob/main/src/script/ceph-backport.sh