← Back to Pull requests

Default ipv6.addr-gen-mode to eui64 so SLAAC node IPs survive the br-ex migration #6781

Open
unknown opened this pull request with 216 lines diff across 2 files
View on GitHub
unknown unknown commented on Nov 22, 2026 11:12 UTC
Author

Fixes https://issues.redhat.com/browse/OCPBUGS-144953

Problem

On SLAAC-only IPv6 networks, nodes come up without an InternalIP and ovnkube rejects them:

node doesn't have an address with type InternalIP or ExternalIP

NetworkManager defaults SLAAC to stable-privacy (RFC 7217), which derives a new address whenever the connection profile changes. When configure-ovs moves the primary NIC into br-ex, the SLAAC address changes — but nodeip-configuration.service has already pinned the old one as the node IP.

Dual-stack clusters are unaffected: nodeip-configuration prefers the IPv4 address when one exists.

Fix

Set ipv6.addr-gen-mode=eui64 in the common NetworkManager drop-in (/etc/NetworkManager/conf.d/01-ipv6.conf). EUI-64 derives the address from the MAC address, so it survives the br-ex migration.

  • configure-ovs already propagates the NIC's addr-gen-mode to br-ex, so the bridge picks this up automatically

  • OpenStack already sets eui64 via its platform template — this extends the same default to every platform
  • Trade-off

    Secondary interfaces deliberately using stable-privacy addresses will switch to EUI-64. Privacy extensions are designed for clients, not servers, so this should be the right default for OpenShift nodes — but calling it out for reviewer discussion.

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

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

    Summary by CodeRabbit

    Configuration
    Updated the default NetworkManager settings to use a specified IPv6 address-generation mode. This changes how IPv6 addresses are generated for networks using this configuration.

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

    Diff: 216 lines (+162 / -54) across 2 files Reviewer: RamLavi Review duration: 12771m
    All Vouch review confidence checks passed
    Residual risk 0.33 = Change Risk (0.60) × (1 − Review Confidence (0.44)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.60 · 216 lines diff across 2 files
    0.60
    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%
    44%
    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.322
    Sensitive Paths sensitive_paths
    0.060
    Real PR Conversation Timeline
    1 comments
    "Review active on #6781"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 44.2% reviewed sensitive_module
    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: 59.8% (MEDIUM) · Higher = larger blast radius
    59.8%
    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: 44.2% · Lower = rushed or shallow review
    44.2%
    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: 33.4% · Safe to merge
    33.4%