Skip to content

cephadm: reject raw encrypted OSD specs without TPM2 - #72680

Merged
adk3798 merged 1 commit into
ceph:mainfrom
guits:cephadm-raw-encryption-validation
Oct 26, 2026
Merged

adk3798 merged 1 commit into
ceph:mainfrom
guits:cephadm-raw-encryption-validation

Conversation

@guits

@guits guits commented Oct 14, 2026 •

Copy link
Copy Markdown
Contributor

Validate raw encryption before previewing, saving or deploying OSD specs.
This covers direct OSD creation and existing specs as well.

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

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)

Validate raw encryption before previewing, saving or deploying OSD
specs.
This covers direct OSD creation and existing specs as well.

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

Signed-off-by: Guillaume Abrioux <[email protected]>
@eameh-LF

Copy link
Copy Markdown
Contributor

Hello Guillaume, thank you for this. Could the TPM2 sentence directly below your new text say "Starting with Squid 19.2.1, Ceph supports TPM2 token enrollment for LUKS2 devices" instead? TPM2 support arrived in 19.2.1, and 19.2.0 does not have it. I have left that line out of my own fixes to the page, as a change there would conflict with yours.

@adk3798

adk3798 commented Oct 26, 2026

Copy link
Copy Markdown
Contributor

Hello Guillaume, thank you for this. Could the TPM2 sentence directly below your new text say "Starting with Squid 19.2.1, Ceph supports TPM2 token enrollment for LUKS2 devices" instead? TPM2 support arrived in 19.2.1, and 19.2.0 does not have it. I have left that line out of my own fixes to the page, as a change there would conflict with yours.

Guillaume told me he'd address this in a follow up so going to merge this (we'd have to re-run CI on this PR to make the change here)

@adk3798
adk3798 merged commit 7c4a3bd into ceph:main Oct 26, 2026
22 of 25 checks passed
@guits
guits deleted the cephadm-raw-encryption-validation branch October 26, 2026 13:49
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