Skip to content

mgr/cephadm: require a node-proxy keyring on agent GET endpoints - #72661

Merged
adk3798 merged 1 commit into
ceph:mainfrom
guits:fix-auth-fullreport
Oct 26, 2026
Merged

adk3798 merged 1 commit into
ceph:mainfrom
guits:fix-auth-fullreport

Conversation

@guits

@guits guits commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

The agent endpoint checks the cephx keyring on POST /node-proxy/oob and /node-proxy/data but the hardware GET handlers return inventory with no check. GET now needs the same keyring in the Cephx-Name and Cephx-Secret headers. When the URL names a host, that keyring has to belong to it. A host with no stored keyring gets 502, same as the POST path.

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

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)

The agent endpoint checks the cephx keyring on POST
/node-proxy/oob and /node-proxy/data but the hardware GET
handlers return inventory with no check. GET now needs the
same keyring in the Cephx-Name and Cephx-Secret headers. When
the URL names a host, that keyring has to belong to it. A host
with no stored keyring gets 502, same as the POST path.

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

Signed-off-by: Guillaume Abrioux <[email protected]>
@guits guits self-assigned this Oct 14, 2026
@guits
guits requested a review from a team as a code owner October 14, 2026 08:06
@guits

guits commented Oct 14, 2026

Copy link
Copy Markdown
Contributor Author

jenkins test windows

@adk3798
adk3798 merged commit 2baa8e2 into ceph:main Oct 26, 2026
22 of 26 checks passed
@guits
guits deleted the fix-auth-fullreport branch October 26, 2026 14:18
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