← Back to Pull requests

fix(recipe): deploy multus and CNI plugins on NVKE GB200 #3468

Closed
unknown closed this pull request without merging on Oct 29, 2026 01:10 UTC
View on GitHub
unknown unknown commented on Oct 28, 2026 18:49 UTC
Author

Summary

The NVKE GB200 NicClusterPolicy now deploys secondaryNetwork.multus and cniPlugins, and the four rail IPPools move from 192.168.<4n>.0/22 to 10.255.<4n>.0/22. The merged recipe assumed the tenant image preinstalls multus; the reference tenant has none, so the SR-IOV InfiniBand attachments were never executed. Once they are, the old pools sat inside the OVN-Kubernetes pod network and hijacked pod-to-pod routes.

Motivation / Context

On the NVKE GB200 tenant that #3295 was validated against, a pod annotated k8s.v1.cni.cncf.io/networks: sriov-network-rail-0 with a nvidia.com/sriov_resource_rail_0 limit starts with only lo and the OVN eth0: the VF is allocated by the device plugin and no CNI ever runs ib-sriov. The node has no multus DaemonSet, no /opt/cni/bin/multus, only 10-ovn-kubernetes.conf in /etc/cni/net.d, and no multus package; OVN-Kubernetes runs with --enable-multi-network but serves only its own NetworkAttachmentDefinitions. The "preinstalled kube-system/multus-ds" fact in the recipe and its setup doc came from the earlier POC cluster used for k8s-launch-kit discovery, not from the tenant. Deployment and conformance validation passed because no check requests a secondary network.

Fixes: N/A
Related: #3294

Type of Change

  • Bug fix (non-breaking change that fixes an issue)

  • New feature (non-breaking change that adds functionality)

  • Breaking change (fix or feature that would cause existing functionality to change)

  • Documentation update

  • Refactoring (no functional changes)

  • Build/CI/tooling
  • Component(s) Affected

  • CLI (cmd/aicr, pkg/cli)

  • API server (cmd/aicrd, pkg/server)

  • Recipe engine / data (pkg/recipe)

  • Bundler and deployers (pkg/bundler, pkg/component)

  • Collectors / snapshotter (pkg/collector, pkg/snapshotter)

  • Validator (pkg/validator)

  • Core libraries (pkg/errors, pkg/k8s)

  • Docs/examples (docs/, examples/)

  • Other: ____________
  • Implementation Notes

  • recipes/components/network-operator/manifests/nic-cluster-policy-nvke-gb200.yaml gains the same secondaryNetwork block as the GB300 leaf in #3392 (nvcr.io/nvidia/mellanox/multus-cni and plugins, network-operator-v26.7.0), which is also what k8s-launch-kit generates for this topology. The manifest comment now states the measured absence instead of the assumed presence.

  • The two images join the NicClusterPolicy digest exemption in recipes/manifest_images_test.go, keyed on the nic-cluster-policy-nvke- prefix shared with the nv-ipam entry.

  • docs/integrator/nvke-gb200-setup.md: the three "preinstalled multus" statements are replaced with what the tenant node shows: the NVKE image contract is OVN-Kubernetes only, and multus is the recipe's to install (the --skip-config-watch token limitation is documented alongside). The sdn-mutator/asap2_vf pod cap from the same POC cluster is qualified as build-specific: the tenant has neither the webhook nor the resource.

  • recipes/components/sriov-ib-networks/manifests/nvke-gb200.yaml: pools now 10.255.<4n>.0/22 with matching gateways, the layout proposed in #3392 for GB300. With the old pools an attached pod had 192.168.0.0/22 dev net1 beside OVN's 192.168.0.0/16 via eth0, so traffic for pods on the control plane (192.168.0.0/24) and the other GPU node (192.168.1.0/24) left through the IB VF.

  • Not in this PR: a conformance check that attaches a secondary network, so this class of gap cannot pass silently. Tracked in #3474.
  • Testing

    go test -count=1 ./recipes/ ./pkg/recipe/ ./pkg/bundler/ ./tools/bom/   # ok (goldens regenerated with AICR_UPDATE_GOLDEN=1)
    make bom-docs && make recipe-health-docs                                # network-operator image count 15 -> 17
    make lint                                                               # ok
    bash kwok/scripts/lib/profile-select_test.sh                            # 38/38
    

    Live on the NVKE GB200 tenant, 2026-10-28. Before: a busybox pod requesting sriov-network-rail-0 showed only lo and eth0@if403 (OVN, MTU 1440). After helm upgrade of network-operator-post (NicClusterPolicy ready, state-multus-cni=ready, state-container-networking-plugins=ready, kube-multus-ds and cni-plugins-ds 2/2, 00-multus.conflist written beside 10-ovn-kubernetes.conf) and of sriov-ib-networks: two four-rail pods, one per GPU node, each got net1..net4 IPoIB interfaces (carrier=1, datagram mode) on VFs with rdma-device reported in network-status, addresses 10.255.{0,4,8,12}.x/22 from the matching pools, and routes 10.255.<4n>.0/22 dev netN next to an intact 192.168.0.0/16 via eth0. Pod-network ping between the two pods and to coredns on the control plane: 0% loss. IPoIB ping between the pods on every rail: 100% loss, because every active port on the host, PF and VF alike, holds only P_Key 0x7fff (limited membership), which the setup doc already lists as the fabric prerequisite this tenant does not meet. Evidence in the PR comment.

    Only Go change is two rows in the manifest-image exemption table; coverage gate not applicable.

    Risk Assessment

  • Low — Isolated change, well-tested, easy to revert

  • Medium — Touches multiple components or has broader impact

  • High — Breaking change, affects critical paths, or complex rollout
  • Rollout notes: Affects only gb200-nvke-ubuntu-training and its kubeflow overlay. An in-place helm upgrade of network-operator-post adds two DaemonSets (kube-multus-ds, cni-plugins-ds) in nvidia-network-operator; multus writes 00-multus.conf delegating to the existing OVN-Kubernetes conf, so running pods keep their primary network.

    Checklist

  • Tests pass locally (make test with -race) — recipes, recipe, bundler, bom packages

  • Linter passes (make lint)

  • I did not skip/disable tests to make CI green

  • I added/updated tests for new functionality — goldens, exemption table

  • I updated docs if user-facing behavior changed

  • Changes follow existing patterns in the codebase

  • Commits are signed off and cryptographically signed (git commit -s -S) — GPG signing info
  • Diff: 650 lines (+487 / -163) across 8 files Reviewer: yuanchen8911 Review duration: 380m
    All Vouch review confidence checks passed
    Residual risk 0.30 = Change Risk (0.75) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.75 · 650 lines diff across 8 files
    0.75
    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%
    60%
    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.388
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.075
    Real PR Conversation Timeline
    1 comments
    "Review active on #3468"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 75.2% (HIGH) · Higher = larger blast radius
    75.2%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 29.7% · Safe to merge
    29.7%
    Repository