Report which GPUCluster operands are blocking readiness #2988
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 284 lines diff across 3 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.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2988"
general
weight: 0.35
tariq1890
Fixes #2978
When nothing errors out but some operands just aren't ready yet, the GPUCluster
OperandNotReadycondition only said "Waiting for operand pods to be ready", so you had to go poke at pods to figure out what it was actually waiting on. This lists the not-ready states in the message, same format ClusterPolicy already uses (clusterPolicyNotReadyMessage). States that returnignore(e.g. DCGM when it's disabled) are left out.Changes
gpuClusterOperandNotReadyMessage()helper incontrollers/gpucluster_controller.go, used when setting theOperandNotReadyconditionTesting
go test ./controllers/passes, andgolangci-lintis clean.Also tried it on a couple of real clusters with a locally built operator image.
k3s (Rancher Desktop, no GPU, node labeled so the DaemonSets schedule): DCGM is disabled, so it's correctly left out of the list:
Error True OperandNotReady Waiting for operand pods to be ready; states not ready: [state-dra-driver state-dcgm-exporter state-dra-validation]
RKE2 v1.36, single node with a T400: I switched from ClusterPolicy to GPUCluster and watched the condition as things came up:
18:08:28 notReady | Error/PrerequisiteNotMet: A ClusterPolicy CR "cluster-policy" exists; a ClusterPolicy CR and GPUCluster CR may not exist at the same time
18:09:02 notReady | Error/OperandNotReady: Waiting for operand pods to be ready; states not ready: [state-dra-driver state-dcgm-exporter state-dra-validation]
18:11:10 notReady | Error/OperandNotReady: Waiting for operand pods to be ready; states not ready: [state-dcgm-exporter]
The driver, the DRA plugin and the validator all came up and dropped off the list. dcgm-exporter stayed stuck, and the message pointed right at it. Its logs show it trying to list
v1beta1.ResourceSlice, which that API server doesn't serve:"Failed to watch" err="failed to list *v1beta1.ResourceSlice: the server could not find the requested resource"
That's unrelated to this PR (happy to open a separate issue), but it's a nice example of why the extra detail helps.