Project

General

Profile

Actions

Bug #81771

closed
GA GA

cephadm: reject raw encrypted OSD specs without TPM2

Bug #81771: cephadm: reject raw encrypted OSD specs without TPM2

Added by Guillaume Abrioux about 2 months ago. Updated about 1 month ago.

Status:
Backporting
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
umbrella,tentacle
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.3.0-4949-g7c4a3bd44a
Released In:
Upkeep Timestamp:
2026-10-26T13:50:09+00:00

Description

Applying an OSD spec with method: raw and encrypted: true without
tpm2: true fails with a CEPH_VOLUME_DMCRYPT_SECRET error.

Cephadm does not provide this secret. Reject this combination before
saving the spec or running ceph-volume. Explain that raw encryption
requires TPM2 and recommend method: lvm for encryption without TPM2.

Apply the same validation to direct OSD creation and existing specs.
Document the limitation and add regression tests.


Related issues 2 (1 open — 1 closed)

Copied to Orchestrator - Backport #82115: tentacle: cephadm: reject raw encrypted OSD specs without TPM2ResolvedGuillaume Abrioux

Actions
Copied to Orchestrator - Backport #82116: umbrella: cephadm: reject raw encrypted OSD specs without TPM2Fix Under ReviewGuillaume Abrioux

Actions

GA Updated by Guillaume Abrioux about 2 months ago Actions #1

  • Pull request ID set to 72680

UB Updated by Upkeep Bot about 1 month ago Actions #2

  • Copied to Backport #82115: tentacle: cephadm: reject raw encrypted OSD specs without TPM2 added

UB Updated by Upkeep Bot about 1 month ago Actions #3

  • Copied to Backport #82116: umbrella: cephadm: reject raw encrypted OSD specs without TPM2 added

UB Updated by Upkeep Bot about 1 month ago Actions #4

  • Status changed from Fix Under Review to Backporting
  • Merge Commit set to 7c4a3bd44ae03db3f120704da1921fa77c6ebb1d
  • Fixed In set to v21.3.0-4949-g7c4a3bd44a
  • Upkeep Timestamp set to 2026-10-26T13:50:09+00:00
Actions

Also available in: PDF Atom