Skip to content

qa/standalone/mon: account for new cephx key type - #71629

Merged
ljflores merged 2 commits into
ceph:mainfrom
ljflores:wip-tracker-79943
Sep 23, 2026
Merged

ljflores merged 2 commits into
ceph:mainfrom
ljflores:wip-tracker-79943

Conversation

@ljflores

@ljflores ljflores commented Sep 8, 2026 •

Copy link
Copy Markdown
Member

The new key was introduced in the CVE fixes documented here: https://ceph.io/en/news/blog/2026/v20-2-4-v19-2-6-combo-released/

The fix is simple: Make the script acknowledge the new key, as these persistent feature checks are hardcoded.

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

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.

The new key was introduced in the CVE fixes documented
here: https://ceph.io/en/news/blog/2026/v20-2-4-v19-2-6-combo-released/

The fix is simple: Make the script acknowledge the new key,
as these persistent feature checks are hardcoded.

Fixes: https://tracker.ceph.com/issues/79943
Signed-off-by: Laura Flores <[email protected]>
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath14-testing-20260909.000311-main.

@sseshasa

sseshasa commented Sep 21, 2026 •

Copy link
Copy Markdown
Contributor

@ljflores Can you take a look at the following failure seen in the QA run?

https://tracker.ceph.com/issues/79943#note-14

@ljflores

ljflores commented Sep 22, 2026 •

Copy link
Copy Markdown
Member Author

Older clusters that upgrade to a version with the new cephx
key type might follow a protocol to support both types of keys,
then rotate to the new type (https://docs.ceph.com/en/latest/rados/configuration/auth-config-ref/#cephx-upgrade).

However, the aim of this test appears to be about authenticating a
key on a newly created cluster. So, rather than follow the upgrade
procedure above, it would be appropriate to swap the hardcoded old key type
for a new key type.

Instead of hardcoding the key, we can generate a new one each
time with `ceph-authtool` so this test will naturally create
a new key type if another is introduced.

Fixes: https://tracker.ceph.com/issues/79943
Signed-off-by: Laura Flores <[email protected]>
@ljflores

Copy link
Copy Markdown
Member Author

@ljflores
ljflores merged commit e324a2a into ceph:main Sep 23, 2026
14 checks passed
@ljflores
ljflores deleted the wip-tracker-79943 branch September 23, 2026 15:01
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.

6 participants