← Back to Pull requests

CNV-100582: Add DM-multipath node storage health alerts #3176

Open
unknown opened this pull request with 284 lines diff across 3 files
View on GitHub
unknown unknown commented on Nov 05, 2026 09:46 UTC
Author

Add three DM-multipath device health alerts to the platform node-exporter rules, based on the reference alerts:

  • MultipathPathDegraded: warning when failed paths persist for 5 minutes.

  • MultipathPathCritical: critical when at least half the paths fail for 2 minutes, with at least one failed path.

  • MultipathDeviceSuspended: critical when a device remains suspended for 1 minute.
  • The Jsonnet definitions generate the existing node-exporter-rules PrometheusRule. Expressions select job="node-exporter", preserve node/device identity, and label alerts with namespace=openshift-monitoring. The minimal collection profile retains all three metrics required by the alerts. No node-exporter collector flags, API, RBAC, or telemetry selectors change. Missing metrics produce no alerts. Documentation explains prerequisites, metric semantics, and troubleshooting.

    This is the platform ownership alternative to https://github.com/kubevirt/hyperconverged-cluster-operator/pull/4704. Coordinate one shipping owner before merging both implementations to avoid duplicate alerts.

    Validation

  • make jsonnet-fmt generate passed when preparing the change.

  • make test-rules passed, including the existing suite and 17 new DM-multipath scenarios covering thresholds, hold durations, recovery, missing metrics, total path loss, and node/device isolation.

  • make verify passed.

  • go test ./pkg/manifests ./pkg/tasks passed (pkg/tasks has no test files), including a regression test that failed before the minimal-profile fix.

  • A namespace-less firing fixture verifies all three static namespace labels; removing each label individually causes the test to fail.

  • Scoped golangci-lint passed for pkg/manifests.

  • Jsonnet formatting, documentation spelling, and diff whitespace checks passed.

  • Manual diff review found no remaining issues. Cluster E2E tests were not run locally.
  • Jira

    CNV-100582

    Telemetry report

    Not applicable: no telemetry selectors are added or modified.

    Signed-off-by: Shirly Radco <sradco@redhat.com>
    Co-authored-by: Codex <noreply@openai.com>

    Diff: 284 lines (+213 / -71) across 3 files Reviewer: sradco Review duration: 4102m
    All Vouch review confidence checks passed
    Residual risk 0.21 = Change Risk (0.40) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.40 · 284 lines diff across 3 files
    0.40
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    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.338
    Real PR Conversation Timeline
    1 comments
    "Review active on #3176"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 39.7% (MEDIUM) · Higher = larger blast radius
    39.7%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 21.2% · Safe to merge
    21.2%