Skip to content

mgr/cephadm: don't mute auth health warnings on clusters with auth_allowed_ciphers if already aes256k-only - #72911

Merged
rkachach merged 2 commits into
ceph:mainfrom
ShwetaBhosale1:fix_issue_81826
Oct 29, 2026
Merged

rkachach merged 2 commits into
ceph:mainfrom
ShwetaBhosale1:fix_issue_81826

Conversation

@ShwetaBhosale1

@ShwetaBhosale1 ShwetaBhosale1 commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Fixes:

  1. If the cluster already allows only aes256k, leave the setting unchanged so the weaker aes cipher is not re-enabled.
  2. Skip the mutes when auth_allowed_ciphers is already aes256k-only and none of the warnings is currently raised.

Fixes: https://tracker.ceph.com/issues/81959

Signed-off-by: Shweta Bhosale [email protected]

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 x between the brackets: [x]. Spaces and capitalization matter when checking off items this way.

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

You must only issue one Jenkins command per-comment. Jenkins does not understand
comments with more than one command.

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

@ShwetaBhosale1
ShwetaBhosale1 marked this pull request as ready for review October 22, 2026 04:56
@ShwetaBhosale1
ShwetaBhosale1 requested a review from a team as a code owner October 22, 2026 04:56
@rkachach
rkachach requested a balanced review from Copilot October 22, 2026 09:00

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.

Copilot AI 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.

🟢 Approval recommended

The focused guards preserve existing fallback behavior, regression tests cover the changed paths, and no blocking issues were identified.

No open issues 🎉

Review effort: Balanced

@adk3798 adk3798 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.

I personally thought it was fine that we just muted these unconditionally, but this looks like it will do as intended and I see the reason people might want it

@github-actions

Copy link
Copy Markdown

This pull request can no longer be automatically merged: a rebase is needed and changes have to be manually resolved

If the cluster already allows only aes256k, leave the setting unchanged so
the weaker aes cipher is not re-enabled.

Fixes: https://tracker.ceph.com/issues/81826
Signed-off-by: Shweta Bhosale <[email protected]>
Skip the mutes when auth_allowed_ciphers is already aes256k-only and none
of the warnings is currently raised.

Fixes: https://tracker.ceph.com/issues/81959

Signed-off-by: Shweta Bhosale <[email protected]>
@rkachach

Copy link
Copy Markdown
Contributor

@rkachach
rkachach merged commit 05aff14 into ceph:main Oct 29, 2026
14 of 15 checks passed
@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/40882395080

@github-actions

Copy link
Copy Markdown

This is an automated message by src/script/redmine-upkeep.py.

I have resolved the following tracker ticket due to the merge of this PR:

No backports are pending for the ticket. If this is incorrect, please update the tracker
ticket and reset to Pending Backport state.

Update Log: https://github.com/ceph/ceph/actions/runs/40882395080

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.

5 participants