Skip to content

qa/tasks/rebuild_mondb: preserve client and mgr keys across rebuild - #71654

Merged
ljflores merged 1 commit into
ceph:mainfrom
NitzanMordhai:wip-nitzan-test-rebuild-mondb-with-client-keyring
Sep 23, 2026
Merged

ljflores merged 1 commit into
ceph:mainfrom
NitzanMordhai:wip-nitzan-test-rebuild-mondb-with-client-keyring

Conversation

@NitzanMordhai

@NitzanMordhai NitzanMordhai commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

client.0 (used by radosbench) and mgr.x keys have no OSD-side representation, unlike osd.* keys which ceph-monstore-tool reconstructs from the OSDs' own store data. They only exist in their own keyring files, so they were silently dropped from the rebuilt auth db, causing radosbench and mgr to fail auth after recovery.

Import client and mgr keyrings into keyring_path before running the rebuild so they survive.

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

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.

@NitzanMordhai

NitzanMordhai commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor Author

@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-test-rebuild-mondb-with-client-keyring branch 3 times, most recently from 4dd7207 to 4c74e03 Compare September 10, 2026 11:09
client.0 (used by radosbench) and mgr.x keys have no OSD-side
representation, unlike osd.* keys which ceph-monstore-tool
reconstructs from the OSDs' own store data. They only exist in
their own keyring files, so they were silently dropped from the
rebuilt auth db, causing radosbench and mgr to fail auth after
recovery.

Import client and mgr keyrings into keyring_path before running
the rebuild so they survive.

Also wait_for_mon_quorum_size use timeout 30 that was not enough.

Fixes: https://tracker.ceph.com/issues/79946
Signed-off-by: Nitzan Mordechai <[email protected]>
@NitzanMordhai
NitzanMordhai force-pushed the wip-nitzan-test-rebuild-mondb-with-client-keyring branch from 4c74e03 to db4a016 Compare September 15, 2026 08:15
@ljflores ljflores added the core label Sep 15, 2026
@ljflores

Copy link
Copy Markdown
Member

@NitzanMordhai should a full rados suite be run on this? Or is the single test sufficient?

@NitzanMordhai

Copy link
Copy Markdown
Contributor Author

@NitzanMordhai should a full rados suite be run on this? Or is the single test sufficient?

I think that https://pulpito.ceph.com/nmordech-2026-09-10_11:37:14-rados:singleton-main-distro-default-trial/ is enough
i can run it again if needed

@ljflores
ljflores merged commit b9debef into ceph:main Sep 23, 2026
15 checks passed
@kamoltat

kamoltat commented Nov 5, 2026

Copy link
Copy Markdown
Member

@NitzanMordhai are we missing umbrella backport? there are a couple of umbrella failures here:
https://tracker.ceph.com/issues/81913#note-6

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.

3 participants