[Bug]: driver-validation hides why a pre-installed driver failed and loops without a reason
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 25/100
Línea de trabajo
Start from the driver-validation init container's pre-installed driver detection, where No pre-installed driver detected on the host is logged, then follow the fall-through into the retry loop that logs failed to validate the driver, retrying after 5 seconds. Done means the detection log names that nvidia-smi was found but failed, and the retry warning includes the underlying error. Pull request #3086 is already open against this issue, so check it before starting.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
With driver.enabled=false, if nvidia-smi exists on the host but fails (for example Failed to initialize NVML: Driver/library version mismatch after an unattended upgrade of the driver packages without a reboot), the driver-validation init container of nvidia-operator-validator does three things. It logs No pre-installed driver detected on the host: exit status 18. It then falls through to the driver-container path. After that it logs failed to validate the driver, retrying after 5 seconds\n every 5 seconds without the underlying error. The pod stays in Init, and nothing in the validator log says that the host driver is installed but broken.
To Reproduce
- Use a node with a pre-installed driver and
driver.enabled=false. - Make the host
nvidia-smifail. One way is to upgrade the driver user-space packages without reloading the kernel module. A fake/host/usr/bin/nvidia-smithat prints the mismatch message and exits non-zero gives the same logs. - Read the
driver-validationcontainer logs of a freshnvidia-operator-validatorpod on that node.
Expected behavior
The log says that nvidia-smi was found on the host and failed, and the retry warning includes the error it is retrying on.
Environment
- GPU Operator v26.3.3 (also current
main), pre-installed driver on Ubuntu, Kubernetes v1.34, containerd.
Related: #1276, #1687 (users stuck on the same retry line without a reason). I have a small patch ready.
This issue was drafted with AI assistance and reviewed by me.
- Lenguaje dominante
- Go
- Estrellas
- 2.9k
- Forks
- 576
- Merge medio
- 1 d 9 h
- PR fusionados (30 d)
- 78
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de NVIDIA/gpu-operator
-
feature lifecycle/frozen needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
NVIDIA/gpu-operator#3074 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: nvidia-validator waits the full timeout on a failed validation pod; loadPodSpec panicsAbiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
NVIDIA/gpu-operator#3065 ·
Los mantenedores suelen responder en 1 día
-
[Bug]: ClusterPolicy isDaemonSetReady can report Ready from a DaemonSet status of an older generationPosiblemente ocupada @efegokdemir la tomó hace 4 días. Abiertobug needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
NVIDIA/gpu-operator#3060 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: GPUCluster common name label breaks DRA validator selectorPosiblemente ocupada @ajavanma la tomó hace 25 días. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
NVIDIA/gpu-operator#2955 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
[Bug]: container-toolkit DaemonSet: containerd-socket hostPath volume lacks mountPropagation: HostToContainer, pins host ZFS mounts and blocks zfs destroy ("dataset is busy")Posiblemente ocupada @akhil9tiet la tomó hace 2 días. Abiertobug needs-triage
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
NVIDIA/gpu-operator#3083 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de NVIDIA/gpu-operator
Issues similares
-
Chained slog With calls discard previously bound attributesPosiblemente ocupada @yuefdev la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
[scanner] TestAgentNowLineStates hard-fails instead of degrading when node is off PATHPosiblemente ocupada @arteeh la tomó hoy. Abiertoagent/scanner ci help wanted kind/test
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
hivecommons/hive#12924 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Gentleman-Programming/engram#1940 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cloudflare/terraform-provider-cloudflare#7423 ·
Los mantenedores suelen responder en 1 día
-
devices
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
evcc-io/evcc#35007 · 7 comentarios ·
Los mantenedores suelen responder en 1 día