feat(engine/slinky): report why useGpuCliqueLabel found no matching nodes#379
Merged
giuliocalzo merged 2 commits intoJul 6, 2026
Merged
Conversation
Contributor
…odes When useGpuCliqueLabel=true produces no block domains, the engine returned a generic "no matching nodes found" error that gave operators no way to tell whether the problem was missing slurmd pods, absent GPU clique labels, or node-data-broker annotations that had not landed yet. The error and per-node warnings now report how many nodes were scanned and why each was skipped, and list the nodes that carry the nvidia.com/gpu.clique label but are missing the node-data-broker-written topograph.nvidia.com/instance annotation (capped to keep the message bounded on large clusters). Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
giuliocalzo
force-pushed
the
feat/slinky-clique-diagnostics
branch
from
July 6, 2026 07:44
0d3fe61 to
a7378a9
Compare
dmitsh
reviewed
Jul 6, 2026
…match Address review feedback: when useGpuCliqueLabel selects zero Kubernetes nodes (e.g. a too-narrow nodeSelector), return a dedicated error pointing at the engine nodeSelector instead of the generic "no matching nodes found" message, which only applies when nodes exist but none carry the clique label/annotation. Signed-off-by: Giulio Calzolari <gcalzolari@nvidia.com>
Contributor
Author
|
Thanks for the review @dmitsh. Pushed
The branch was also rebased onto latest |
dmitsh
approved these changes
Jul 6, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
When the Slinky engine runs with
useGpuCliqueLabel=trueand cannot build any block domains, it previously returned a generic error:This gave operators no way to tell which nodes were examined or why each was skipped. In particular, the
topograph.nvidia.com/instanceannotation is written per-node by the node-data-broker DaemonSet, so a node with the clique label but no annotation points at a broker that hasn't annotated that specific node yet — but the old message hid this.This PR makes the failure actionable:
502error now reports how many nodes were scanned and a breakdown of why each was skipped: no Slurm node mapping (no Ready slurmd pod), missingnvidia.com/gpu.cliquelabel, or missing thetopograph.nvidia.com/instanceannotation.Example new message:
Checklist
git commit -s).