[Bug]: container-toolkit DaemonSet: containerd-socket hostPath volume lacks mountPropagation: HostToContainer, pins host ZFS mounts and blocks zfs destroy ("dataset is busy")
I maintainer di solito rispondono entro 1 giorno
@rahulait ci sta già lavorando.
Dal 19/10/2026.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- go, kubernetes
- Ambito
- devops, infrastructure
Direzione di ricerca
The fix sits in the toolkit DaemonSet's volume definitions, specifically the containerd-socket hostPath volume, which lacks mountPropagation: HostToContainer. Find where the operator generates that DaemonSet and compare it with the host-root and driver-install-dir volumes. To reproduce, mount a ZFS dataset, restart the toolkit pod, unmount, then check /proc/<pid>/mountinfo and zfs destroy. Done when the destroy succeeds without a container restart and the setting survives operator reconciliation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Problem
The nvidia-container-toolkit-daemonset in GPU Operator v26.7.1 mounts these hostPath volumes:
| volume | hostPath | mountPath | mountPropagation |
|---|---|---|---|
| host-root | / | /host | HostToContainer |
| driver-install-dir | /run/nvidia/driver | /driver-root | HostToContainer |
| containerd-socket | /run/containerd | /runtime/sock-dir/ | not set (private) |
The toolkit container's own rootfs lives under /run/containerd. Its /host sub-mount carries every host mount, including all ZFS datasets. Because containerd-socket is a private recursive bind, the whole mount tree is copied into the container's mount namespace when the container starts. After that, the copy never receives unmount events from the host.
Impact
- Any ZFS dataset that is mounted on the host when the toolkit container starts stays pinned in the container's mount namespace.
- Later, the host unmounts the dataset, and it reports mounted=no. But zfs destroy still fails with cannot destroy '': dataset is busy.
- The dataset stays undeletable until the toolkit container restarts. The restart re-pins every dataset that exists at that moment.
- This affects every container restart, including node reboots. Datasets created after the container starts are not affected.
Evidence
After the dataset is unmounted on the host, its mount entries are still found in the toolkit process's mount namespace:
$ grep -l /proc/[0-9]*/mountinfo
/proc//mountinfo # comm=nvidia-toolkit
.../runtime/sock-dir/io.containerd.runtime.v2.task/k8s.io//rootfs/host/ - zfs
Environment
- NVIDIA GPU Operator v26.7.1 (Helm chart gpu-operator-v26.7.1)
- OS: Ubuntu 24.04
- Kernel Version: 6.8.0-142-generic
- Container Runtime Version: containerd v2.1.4
- Container-toolkit image: nvcr.io/nvidia/k8s/container-toolkit:v1.20.1
- GPU Driver: 580.105.08
- Host filesystems: ZFS datasets mounted on the host
- Kubernetes Distro and Version: Kubelet v1.33.5
Steps to reproduce
- Create and mount a ZFS dataset on a GPU node.
- Restart the nvidia-container-toolkit pod on that node, or reboot the node.
- Unmount the dataset on the host and run zfs destroy -r .
- The destroy fails with dataset is busy. The dataset's mount is still listed in the toolkit process's /proc//mountinfo.
Requested fix
Set mountPropagation: HostToContainer on the containerd-socket volume, the same as host-root and driver-install-dir, so that host unmounts propagate into the container. A setting in ClusterPolicy to configure it would also work. Patching the DaemonSet by hand isn't a durable workaround because the operator reconciles it back.
- Lingua principale
- Go
- Stelle
- 2.9k
- Fork
- 576
- Merge medio
- 1g 5h
- PR unite (30g)
- 65
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di NVIDIA/gpu-operator
-
[Bug]: dcgm-exporter no longer gets hostNetwork when a host DCGM is set through dcgmExporter.envForse già presa @blacksoxx l’ha presa 1 giorno fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 64/100
NVIDIA/gpu-operator#3091 ·
I maintainer di solito rispondono entro 1 giorno
-
feature lifecycle/frozen needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
NVIDIA/gpu-operator#3074 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: nvidia-validator waits the full timeout on a failed validation pod; loadPodSpec panicsForse già presa @kvalliyurnatt l’ha presa 1 giorno fa. Apertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
NVIDIA/gpu-operator#3065 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: ClusterPolicy isDaemonSetReady can report Ready from a DaemonSet status of an older generationForse già presa @kvalliyurnatt l’ha presa 1 giorno fa. Apertabug needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
NVIDIA/gpu-operator#3060 · 1 commento · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
[Bug]: GPUCluster common name label breaks DRA validator selectorForse già presa @ajavanma l’ha presa 27 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
NVIDIA/gpu-operator#2955 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di NVIDIA/gpu-operator
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
OpenTollGate/tollgate-module-basic-go#1027 ·
I maintainer di solito rispondono entro 1 giorno
-
help wanted needs-triage
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
hivecommons/hive#13223 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
[BUG]: Windows GUI package of v1.17.0-rc3 has no GTK DLLsForse già presa @andrut-ds l’ha presa oggi. Apertabug CI/CD Pactus-GUI Windows
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
pactus-project/pactus#2428 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno