Repository navigation
fix(recipes): bump nvsentinel to v1.25.0 - #2997
Conversation
Move the nvsentinel chart pin from v1.22.0 to v1.25.0 and every hand-copied image tag (vuln scan, mirror-e2e, render-test constants, drift-report fixture, container-images prose), re-audit ownsCRDs (same CRDs, cosmetic changes, no webhook conversion), re-verify the catalog's default-off list (adds nvcreCertificationMonitor), and regenerate BOM docs and goldens. - Keep the preflight mixin's single ClusterPolicy DCGM address and record it as an intended deviation from v1.25.0's candidate list - Reject a comma-separated DCGM_HOSTENGINE_ADDR in the preflight DCGM gate, which otherwise parsed as an external host and skipped - Add the nvsentinel ADR-021 upgrade record (manual): metadata-collector binds host port 2112 from v1.23.0 and loses metrics silently when the port is taken Signed-off-by: Varun Ramesh <varamesh@nvidia.com>
|
🌿 Preview your docs: https://nvidia-preview-fix-nvsentinel-v1-25-0.docs.buildwithfern.com/aicr |
Recipe evidence check
Protected recipesRecipes with committed evidence (
Other affected recipes without evidence yet: 74These recipes are affected by this PR but carry no committed evidence pointer, so there is
How to refresh evidenceRun on a cluster matching the recipe's aicr snapshot -o snapshot.yaml
# Profiled families (AKS/GKE gpuStack): hydrate the recipe with the
# pointer's recorded 'profile:' selection first — validating the raw
# overlay resolves only the declaration default, and 'aicr validate'
# has no --profile flag. AKS additionally needs the pool projection
# (GKE uses the plain snapshot above):
# az aks nodepool list -g <rg> --cluster-name <cluster> -o json > pools.json
# aicr snapshot --aks-gpu-pools pools.json -o snapshot.yaml
# aicr recipe -s snapshot.yaml --intent <intent> [--platform <platform>] \
# --profile <name>=<value> -o recipe.yaml
# State the target leaf's intent/platform explicitly (the snapshot
# fingerprint supplies service/accelerator/OS but intent and platform
# default to 'any') and pass -r recipe.yaml below instead of the raw
# overlay.
aicr validate \
-r recipes/overlays/<slug>.yaml \
-s snapshot.yaml \
--emit-attestation ./out \
--push ghcr.io/<your-fork>/aicr-evidence
# Copy to the per-source path printed in the emit 'copyTo' hint:
# recipes/evidence/<slug>/<source>/<bundle-digest>.yamlThis gate is warning-only and never blocks merge. See ADR-007 for the trust model. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. Important Review skippedReview was skipped as selected files did not have any reviewable changes. ⚙️ Run configurationConfiguration used: Repository: NVIDIA/aicr/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository: NVIDIA/aicr/.coderabbit.yaml Review profile: ASSERTIVE Plan: Enterprise Run ID: 📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 12 included reviews per hour; 11 remain after this review. 📝 WalkthroughWalkthroughThe NVSentinel chart and image references are updated from v1.22.0 to v1.25.0 across configuration, tests, and documentation. DCGM address validation now rejects comma-separated values, and the chart-drift test accounts for the chart’s candidate-list default. The registry links an upgrade record with deployment procedures, a port-2112 precondition, verification steps, and rollback notes. Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~25 minutes Change: Bug fix · Severity of issue fixed: Medium Suggested reviewers: Merge Risk: ⚪ Minimal · up to This change bumps NVSentinel to v1.25.0 and adds an upgrade record covering the port-2112 precondition and rollback notes. No merge-blocking risk was identified in the reviewed changes. 🚥 Pre-merge checks | ✅ 3 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (3 passed)
Full details: Linked Issues checkExplanation Issue ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
Coverage Report ✅
Coverage BadgeMerging this branch will decrease overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
- Check host port 2112 on every GPU node, not one; a clean node says nothing about the others - Add a step to drop preflight.qps/burst overrides, which v1.24.0 stopped reading (NVSentinel#1849) - Read every metadata-collector pod's logs in verify, not one Signed-off-by: Varun Ramesh <varamesh@nvidia.com>
Summary
Bump NVSentinel from v1.22.0 to v1.25.0, and fix the preflight DCGM gate to reject the new comma-separated address format.
Motivation / Context
The pin is three minors behind upstream; opt-in NVSentinel work (#2611) needs a current base.
Fixes: #2996
Related: #2596, #2611, #2641
Type of Change
Component(s) Affected
cmd/aicr,pkg/cli)cmd/aicrd,pkg/server)pkg/recipe)pkg/bundler,pkg/component/*)pkg/collector,pkg/snapshotter)pkg/validator)pkg/errors,pkg/k8s)docs/,examples/)tools/mirror-e2eImplementation Notes
CheckNVSentinelPreflightDCGMReachablenow rejects a comma-separated address, which used to skip the check.manual): from v1.23.0 metadata-collector binds host port 2112 and silently loses metrics if the port is taken.Testing
# Commands run (prefer `make qualify` for non-trivial changes) make qualifyTestApplyCRDsScript_BoundsStalledApply, which passes alone and isn't touched here.pkg/bundler/validations94.7% → 94.7%.Risk Assessment
Rollout notes: Check that host port 2112 is free on GPU nodes;
aicr upgrade-checklists the steps.Checklist
make testwith-race)make lint)git commit -S) — GPG signing info