DFBUGS-12798: keep csi cephx keys on aes #4401
All Vouch review confidence checks passed
Residual risk 0.22 = Change Risk (0.52) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #4401"
general
weight: 0.35
BlaineEXE
In internal mode, rook creates the CSI ceph users. OCS opeator left security.cephx.csi.keyType empty, so Rook created the keys with the mon default key type, which is aes256k. Kernels without aes256k support can't mont volumes with these keys
On fresh installs the CSI keys (rook-csi-rbd-node, rook-csi-rbd-provisioner, rook-csi-cephfs-node, rook-csi-cephfs-provisioner) are created as aes256k. ocs-operator does not set
security.cephx.csi.keyType, so Rook uses the mondefault
auth_preferred_cipher, which is aes256k. Node kernels without aes256k support (for example RHEL 9.2) cannot mount volumes with these keys.4.19 and later are not affected. There the CSI users are CephClients created by ocs-operator with
keyType: aes.Fix is to set
security.cephx.csi.keyType: aeson the CephClusterTested upgraded from 4.18 (without fix) to 4.18 (with fix)
———————
Keys don’t rotate. They are still aes:
—————
aesNote: Restarted the workloads pods after key rotation. Volumes remounted with the .2 aes keys and data was intact.