Skip to content

auth/cephx: don't leave the MGR ticket due on its own - #73410

Merged
ljflores merged 3 commits into
ceph:mainfrom
kchheda3:wip-cephx-mgr-ticket-renew
Nov 25, 2026
Merged

ljflores merged 3 commits into
ceph:mainfrom
kchheda3:wip-cephx-mgr-ticket-renew

Conversation

@kchheda3

@kchheda3 kchheda3 commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

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

A client could renew its other tickets without the MGR ticket and then
never request the MGR ticket alone, so it outlived its rotating secret
and the mgr rejected the client's next new connection.

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.

Reading the clock per ticket made the MGR ticket come due a few
microseconds after the others, so a renewal could leave it due alone.

Fixes: https://tracker.ceph.com/issues/82578
Signed-off-by: Krunal Chheda <[email protected]>
Skipping it let the ticket outlive its rotating secret, and the mgr
rejected it on the next new connection.

Fixes: https://tracker.ceph.com/issues/82578
Signed-off-by: Krunal Chheda <[email protected]>
@github-actions github-actions Bot added the tests label Nov 2, 2026
@kchheda3
kchheda3 requested review from batrick and idryomov November 2, 2026 20:42
@SrinivasaBharath

Copy link
Copy Markdown
Contributor

This PR has been added to wip-bharath8-testing-20261114.052149-main.

@MattyWilliams22

Copy link
Copy Markdown
Contributor

@SrinivasaBharath

Copy link
Copy Markdown
Contributor

@kchheda3 Kindly address the PR check failure and proceed with merging the PR once the issue has been resolved. Should further QA validation be required, please re-add the needs-qa label and remove the TESTED label to facilitate retesting.

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test make check

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test make check arm64

@kchheda3

Copy link
Copy Markdown
Contributor Author

@kchheda3 Kindly address the PR check failure and proceed with merging the PR once the issue has been resolved. Should further QA validation be required, please re-add the needs-qa label and remove the TESTED label to facilitate retesting.

i do not see any check failure, rather the checks have not run and i have re-triggered the jenkins check and once they pass we should be good to merge.

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test signed

@kchheda3

Copy link
Copy Markdown
Contributor Author

jenkins test submodules

@ljflores
ljflores merged commit 2a75fcf into ceph:main Nov 25, 2026
18 checks passed
@kchheda3
kchheda3 deleted the wip-cephx-mgr-ticket-renew branch November 27, 2026 13:53
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