← Back to Pull requests

fix(nic-health-monitor): read default route from host network namespace #2396

Closed
unknown closed this pull request without merging on Nov 16, 2026 13:16 UTC
View on GitHub
unknown unknown commented on Nov 14, 2026 02:57 UTC
Author

Summary

Fixes #2395.

The NIC monitor reads /nvsentinel/proc/net/route through the host /proc mount. Because net resolves through self/net, this returns the monitor pod's routing table. On the reported HGX H200 node, the pod's default interface (eth0) has no corresponding host InfiniBand device, so default-route exclusion is skipped and the host's default-route NIC (mlx5_5) is classified as compute.

Read /nvsentinel/proc/1/net/route instead. Host PID 1 selects the host network namespace through the existing mount, allowing the classifier to resolve and exclude the host's default-route NIC as management. Update the comment and design documentation to explain the path.

Type of Change


  • 🐛 Bug fix

  • ✨ New feature

  • 💥 Breaking change

  • 📚 Documentation

  • 🔧 Refactoring

  • 🔨 Build/CI
  • Component(s) Affected


  • Health Monitor

  • Core Service

  • Fault Management

  • Janitor

  • Deployment/Config

  • API/Interface

  • Preflight

  • Plugins

  • Documentation/CI

  • New Component

  • Multiple Components

  • Other
  • Testing


  • Tests pass locally

  • Manual testing completed

  • No breaking changes (or documented)
  • make lint-test in health-monitors/nic-health-monitor completed on macOS and Linux: vet, lint, and 368 race-enabled tests.

  • Ran the unmodified Linux monitor binary built from this PR on the affected HGX H200 node, with real host procfs/sysfs and GPU metadata and the deployed monitor's security restrictions (UID/GID 65532, all capabilities dropped, read-only root filesystem, RuntimeDefault seccomp, no host networking or host PID namespace). It resolved enp157s0np0 to mlx5_5, classified mlx5_5 as management, and kept ibp0–ibp7 as compute.

  • Ran the patched monitor on the affected node and confirmed that mlx5_5 was classified as management and excluded from emitted NIC health events.
  • Checklist


  • Self-review completed

  • Documentation updated (if needed)

  • Ready for review
  • <!-- This is an auto-generated comment: release notes by coderabbit.ai -->

    <!-- coderabbit-ai-generated:v1 -->

    Summary by CodeRabbit

    Bug Fixes
    Default-route detection now uses routing information from the host network namespace, helping identify the interface associated with the host’s default route more accurately. The documented behavior has been updated to match, reducing ambiguity when interpreting which network interface is used for outbound traffic.

    <!-- end of auto-generated comment: release notes by coderabbit.ai -->

    Diff: 327 lines (+245 / -82) across 4 files Reviewer: KaivalyaMDabhadkar Review duration: 3498m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.42) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.42 · 327 lines diff across 4 files
    0.42
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    56%
    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
    Diff Size diff_size
    0.347
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #2396"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 42% (MEDIUM) · Higher = larger blast radius
    42%
    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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 18.2% · Safe to merge
    18.2%