ROSAENG-63029 - Send automated servicelog for not-ready EC2NodeClass #2850
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.42) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.42 · 337 lines diff across 4 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.348
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #2850"
general
weight: 0.35
reedcort
What type of PR is this?
feature
What this PR does / why we need it?
Adds an ocm-agent managed fleet notification to automatically send a service log to customers when an
OpenshiftEC2NodeClassis not ready for 5+ minutes on ROSA HCP clusters. This replaces the need for SRE manual investigation via PagerDuty/CAD — the service log is sent directly via ocm-agent-fleet on the management cluster.Changes:
100-ec2nodeclass-not-ready.PrometheusRule.yaml): FiresOpenshiftEC2NodeClassNotReadyFleetNotificationusing the existingoperator_ec2nodeclass_status_condition_current_status_secondsmetric, routed to ocm-agent viasend_managed_notification: "true"ec2nodeclass-not-ready.yaml): Generic service log covering common causes (missing subnet tags, missing security group tags, AMI unavailable, deleted instance profile, IAM role issues) with troubleshooting steps and documentation linkWhich Jira/Github issue(s) this PR fixes?
Fixes https://issues.redhat.com/browse/ROSAENG-63029
Special notes for your reviewer:
OpenshiftEC2NodeClassNotReadyPD alert in RHOBS (RHOBS/configuration/resources/tenant-rules/hcp/karpenter.yaml) should be removed in a separate PR once this is deployed, to stop PD routing for this alert.Pre-checks (if applicable):
<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
- Added notifications when an OpenShift EC2 node class is not ready.
- Added a monitoring alert for node classes that remain non-ready for more than five minutes.
- Notifications include warning severity, support guidance, resend timing, and documentation references.
- Alerts include informational status, descriptive details, summaries, runbook information, and namespace metadata.
- Suppressed alerts are excluded from monitoring notifications.
- These updates improve visibility into node class readiness issues and provide guidance for troubleshooting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->