infra: Read IPMI BMC credentials from BareMetalHost for FAR NHC tests #6758
All Vouch review confidence checks passed
Residual risk 0.36 = Change Risk (0.64) × (1 − Review Confidence (0.44)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.64 · 185 lines diff across 2 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.02 · 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
Shallow Review Depth
shallow_review_depth
0.344
Diff Size
diff_size
0.313
Sensitive Paths
sensitive_paths
0.064
Ai Authored
ai_authored
0.050
Real PR Conversation Timeline
1 comments
"Review active on #6758"
general
weight: 0.35
RoniKishner
##### What this PR does / why we need it:
The install-config in cluster-config-v1 has BMC username and password blanked, so fence_ipmilan parameters were built with empty credentials.
earlier test read BMC usernames and passwords from the install-config in kube-system/cluster-config-v1 but now openshift installer don't keep it. Now we read the credentials from the BareMetalHost secrets in openshift-machine-api instead of cluster-config-v1.
##### Which issue(s) this PR fixes:
fixes t3 nhc lanes
##### Special notes for reviewer:
##### jira-ticket:
<!-- full-ticket-url needs to be provided. This would add a link to the pull request to the jira and close it when the pull request is merged
If the task is not tracked by a Jira ticket, just write "NONE".
-->
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->
Summary by CodeRabbit
Tests
Updated workload availability remediation checks to read node management details from matching host records, including hosts that serve both control-plane and worker roles.
Added coverage for missing host records, BMC configuration, or credentials, as well as incomplete or unsupported management addresses.
Checks now use the standard IPMI port when an address does not specify one.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->