[Bug]: GPUCluster DRA kubelet plugin uses driver root / on Talos and cannot find libnvidia-ml.so.1
Maintainers usually reply within 1 day
@roma5087 is already working on this.
Since Oct 29, 2026.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 52/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- go, kubernetes
- Domain
- infrastructure
Research direction
Start by tracing runValidation, resolveHostNvidiaSMI, and getDriverInfo, then inspect manifests/state-dra-driver/0500_daemonset.yaml and how hostPaths.driverInstallDir is passed into the validation flow. Reproduce the Talos case with the driver under /usr/local and check the generated driver-ready values. Done when the DRA kubelet plugin finds libnvidia-ml.so.1 and publishes its ResourceSlice using the configured driver root.
Written by the indexing model from the issue text.
Description
Describe the bug
On Talos Linux the DRA kubelet plugin deployed through a GPUCluster crashes with error locating "libnvidia-ml.so.1", so no ResourceSlice is published and DCGM Exporter and the DRA validation stay Pending.
Talos ships the driver as a system extension under /usr/local, and /usr/bin/nvidia-smi is a link to /usr/local/bin/nvidia-smi. The validator's runValidation tries the host driver first: resolveHostNvidiaSMI finds /usr/bin/nvidia-smi, chroot /host /usr/bin/nvidia-smi succeeds, and getDriverInfo(true, ...) sets the driver root to the host root. driver-ready then contains NVIDIA_DRIVER_ROOT=/ and hostPaths.driverInstallDir: /usr/local from the GPUCluster is never used. The kubelet plugin sources driver-ready (manifests/state-dra-driver/0500_daemonset.yaml), looks for libnvidia-ml.so.1 below / and does not find it in /usr/local/lib.
I found no field in GPUCluster to set the driver root. Setting it through kubeletPlugin.env has no effect, because the container sources driver-ready afterwards and overwrites it.
As a check I patched NVIDIA_DRIVER_ROOT=/usr/local into the kubelet plugin DaemonSet by hand. With that the GPUCluster becomes ready and DCGM Exporter labels the metrics with the pod holding the DRA claim, so the rest of the path works on Talos:
DCGM_FI_DEV_GPU_UTIL{gpu="0",...,container="cuda",dra_claim_name="dra-hold-gpu-hj5r2",dra_claim_namespace="default",dra_device_name="gpu-0",dra_driver_name="gpu.nvidia.com",dra_pool_name="gpu",namespace="default",pod="dra-hold"} 0
The standalone DRA driver chart works on the same node with nvidiaDriverRoot: /usr/local.
To Reproduce
- Talos node with the NVIDIA system extensions (driver under
/usr/local). - Install the GPU Operator v26.7.1 with driver and toolkit disabled, as the Talos guide describes, and create a
GPUClusterwith the DRA kubelet plugin enabled andhostPaths.driverInstallDir: /usr/local. - The kubelet plugin pod crash-loops with
error locating "libnvidia-ml.so.1";/run/nvidia/validations/driver-readyon the node containsIS_HOST_DRIVER=trueandNVIDIA_DRIVER_ROOT=/.
Expected behavior
The driver root the plugin uses is /usr/local, either because a host driver found under a non-standard prefix is reported with that prefix, or because an explicit hostPaths.driverInstallDir (or a dedicated field) wins over the host-driver detection.
Environment
- GPU Operator Version: v26.7.1 (I read v26.7.2 and main and see the same logic, not tested live)
- DRA driver: v0.5.1, DCGM Exporter 4.6.1-4.8.4-distroless
- OS: Talos Linux v1.14.5 with the NVIDIA proprietary driver extensions
- Container Runtime Version: containerd as shipped with Talos v1.14.5
- Kubernetes Distro and Version: upstream Kubernetes 1.37.1
- GPU: RTX A1000
Related: #2731
- Dominant language
- Go
- Stars
- 2.9k
- Forks
- 587
- Avg merge
- 1d 22h
- Merged PRs (30d)
- 63
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from NVIDIA/gpu-operator
-
feature lifecycle/frozen needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
NVIDIA/gpu-operator#3074 · 2 comments ·
Maintainers usually reply within 1 day
-
[Bug]: GPUCluster common name label breaks DRA validator selectorPossibly taken @ajavanma claimed this 40 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
NVIDIA/gpu-operator#2955 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: 26.3.3 to 26.7.1 upgrade deletes an existing NVIDIADriver DaemonSet before driver-owner labels are initializedPossibly taken @rahulait claimed this 1 day ago. Openbug needs-triage
Difficulty 4/5 3-5 days Newbie friendliness 14/100
NVIDIA/gpu-operator#3155 · 1 comment · 1 assignee ·
Maintainers usually reply within 1 day
-
[Bug]: Helm chart always sets NVIDIADriver spec.manager.image, so a default driver-manager bump reinstalls the driver on every GPU nodePossibly taken @akshat-lakhera claimed this 4 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 48/100
NVIDIA/gpu-operator#3135 · 1 comment ·
Maintainers usually reply within 1 day
-
[Bug]: a partially specified NVIDIADriver startupProbe renders zeros instead of operator defaultsPossibly taken @blacksoxx claimed this 5 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 67/100
NVIDIA/gpu-operator#3132 ·
Maintainers usually reply within 1 day
All issues in NVIDIA/gpu-operator
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
limitlessprojects/Go-Hybrid#3342 ·
Maintainers usually reply within 1 day
-
status/ready type/bug
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
buildpacks/pack#2733 ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
kind/bug needs-priority needs-triage
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
konveyor/tackle2-hub#1166 · 1 comment ·
Maintainers usually reply within 4 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
router-for-me/CLIProxyAPI#7209 ·
Maintainers usually reply within 1 day