Skip to content

fix(nico-api): add carbide-api.forge to default cert SANs (DPU heartbeat during carbide→nico rename)#2825

Merged
osu merged 2 commits into
NVIDIA:mainfrom
kirson-git:fix/nico-api-cert-legacy-carbide-san
Jun 25, 2026
Merged

fix(nico-api): add carbide-api.forge to default cert SANs (DPU heartbeat during carbide→nico rename)#2825
osu merged 2 commits into
NVIDIA:mainfrom
kirson-git:fix/nico-api-cert-legacy-carbide-san

Conversation

@kirson-git

Copy link
Copy Markdown
Contributor

Problem

On a v0.10.3 deployment, BlueField DPUs never heartbeat and stay stuck at WaitingForNetworkConfig. Root cause: the forge-dpu-agent binary still dials the API by the legacy name carbide-api.forge (carbide→nico rename gap), but the generated nico-api serving cert doesn't include that SAN → the agent rejects the cert (TLS BadCertificate) and never connects.

Fix

Add carbide-api.forge to the default nico-api certificate extraDnsNames so DPU heartbeat works out-of-the-box during the rename transition. (The chart already supports extraDnsNames; this just makes the legacy name a default while the binary still uses it.)

Validation

Applied on a live 2× XE9680 + BlueField-3 lab — DPUs went from WaitingForNetworkConfig/HeartbeatTimeout to Healthy after the cert included this SAN.

Related: #2823 (carbide→nico rename gaps).

@kirson-git kirson-git requested a review from a team as a code owner June 23, 2026 21:26
@copy-pr-bot

copy-pr-bot Bot commented Jun 23, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@coderabbitai

coderabbitai Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: ca294471-8796-45fe-b2c7-7852c7bfa970

📥 Commits

Reviewing files that changed from the base of the PR and between 40c7ca4 and bd13d2a.

📒 Files selected for processing (1)
  • helm/charts/nico-api/values.yaml

Summary by CodeRabbit

  • Chores
    • Updated certificate configuration to ensure service connectivity is maintained during infrastructure updates.

Walkthrough

The certificate.extraDnsNames field in helm/charts/nico-api/values.yaml is updated from an empty list to include the legacy DNS name carbide-api.forge. Inline comments document that this Subject Alternative Name is required for forge-dpu-agent TLS compatibility during the carbide-to-nico service rename.

Changes

TLS SAN Backward Compatibility

Layer / File(s) Summary
Add legacy SAN to certificate values
helm/charts/nico-api/values.yaml
certificate.extraDnsNames is changed from an empty list to include carbide-api.forge, with comments noting the dependency on this SAN by forge-dpu-agent to prevent TLS rejection and heartbeat loss during the rename.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Possibly related issues

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title accurately and specifically summarizes the primary change: adding a legacy DNS name to certificate SANs to resolve DPU heartbeat failures during a system rename.
Description check ✅ Passed The description provides clear context on the problem, root cause, fix, and validation, directly relating to the changeset in the values.yaml configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Comment @coderabbitai help to get the list of available commands.

@NVIDIA NVIDIA deleted a comment from copy-pr-bot Bot Jun 23, 2026
@kensimon

Copy link
Copy Markdown
Contributor

/ok to test bd13d2a

@kensimon

Copy link
Copy Markdown
Contributor

@kirson-git please add a signed-off-by on your commit (git commit --amend -s) and re-push.

@github-actions

github-actions Bot commented Jun 24, 2026

Copy link
Copy Markdown

🔍 Container Scan Summary

Service Total Critical High Medium Low Other
boot-artifacts-aarch64 3 0 0 3 0 0
boot-artifacts-x86_64 3 0 0 3 0 0
forge-admin-cli-x86_64 265 6 24 98 7 130
machine-validation-runner 717 32 188 267 36 194
machine_validation 717 32 188 267 36 194
machine_validation-aarch64 717 32 188 267 36 194
nvmetal-carbide 717 32 188 267 36 194
TOTAL 3139 134 776 1172 151 906

Per-CVE detail lives in the per-service grype-* artifacts (JSON + SARIF). Severity counts only — no CVE IDs published here.

@osu

osu commented Jun 25, 2026

Copy link
Copy Markdown
Member

/ok to test 6a5f214

@github-actions

Copy link
Copy Markdown

@osu osu force-pushed the fix/nico-api-cert-legacy-carbide-san branch from 6a5f214 to a32a1c0 Compare June 25, 2026 02:03
@osu

osu commented Jun 25, 2026

Copy link
Copy Markdown
Member

/ok to test

@copy-pr-bot

copy-pr-bot Bot commented Jun 25, 2026

Copy link
Copy Markdown

/ok to test

@osu, there was an error processing your request: E1

See the following link for more information: https://docs.gha-runners.nvidia.com/cpr/e/1/

@osu

osu commented Jun 25, 2026

Copy link
Copy Markdown
Member

/ok to test a32a1c0

@osu osu enabled auto-merge (squash) June 25, 2026 02:13
@osu osu disabled auto-merge June 25, 2026 02:13
@osu osu enabled auto-merge (squash) June 25, 2026 02:14
@osu osu merged commit f187779 into NVIDIA:main Jun 25, 2026
54 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants