Skip to content

umbrella: Ok to stop check for osd redeploy or reconfig - #72032

Merged
batrick merged 2 commits into
ceph:umbrellafrom
ShwetaBhosale1:wip-80805-umbrella
Oct 7, 2026
Merged

batrick merged 2 commits into
ceph:umbrellafrom
ShwetaBhosale1:wip-80805-umbrella

Conversation

@ShwetaBhosale1

Copy link
Copy Markdown
Contributor

@ShwetaBhosale1
ShwetaBhosale1 requested a review from a team as a code owner September 24, 2026 04:55
@ShwetaBhosale1 ShwetaBhosale1 added this to the umbrella milestone Sep 24, 2026
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)
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
@ShwetaBhosale1 ShwetaBhosale1 removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
@ShwetaBhosale1 ShwetaBhosale1 removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
@ShwetaBhosale1 ShwetaBhosale1 removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
github-actions[bot]

This comment was marked as outdated.

@github-actions github-actions Bot added the releng-audit-fail Release engineering: failed backport verification audit. label Sep 24, 2026
@batrick batrick modified the milestones: umbrella, v21.1.2 Sep 28, 2026
@batrick batrick removed the releng-audit-fail Release engineering: failed backport verification audit. label Sep 28, 2026
@github-actions github-actions Bot added the releng-audit-pass Release engineering: passed backport verification audit. label Sep 28, 2026
@batrick

batrick commented Sep 29, 2026

Copy link
Copy Markdown
Member

@batrick

batrick commented Sep 30, 2026

Copy link
Copy Markdown
Member

@batrick
batrick merged commit b88de59 into ceph:umbrella Oct 7, 2026
27 of 31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants