When using a precompiled driver and all gpu nodes are not ready, gpu-operator will loop to deleted and recreated nvidia-driver-daemonset
#715
Labels
bug
Issue/PR to expose/discuss/fix a bug
The template below is mostly useful for bug reports and support questions. Feel free to remove anything which doesn't apply to you and add more information where it makes sense.
Important Note: NVIDIA AI Enterprise customers can get support from NVIDIA Enterprise support. Please open a case here.
1. Quick Debug Information
2. Issue or feature description
Briefly explain the issue in terms of expected behavior and current behavior.
When using a precompiled driver and all gpu nodes are not ready, gpu-operator will loop to eleted and recreated nvidia-driver-daemonset.
3. Steps to reproduce the issue
Detailed steps to reproduce the issue.
driver.usePrecompiled = true
.systemctl stop kubelet
nvidia-driver-daemonset
will be deleted and recreated, and this process will continue until the GPU node is Ready.When the node is not ready, the node taints like this:
But the
nvidia-driver-daemonset
pod tolerations is like this:Node taint
node.kubernetes.io/unreachable:NoSchedule
is not tolerated, sonvidia-driver-daemonset
.status.desiredNumberScheduled is 0.Following the logic of
cleanupStalePrecompiledDaemonsets
,nvidia-driver-daemonset
will be deleted and then created again because the cluster still has GPU nodes.gpu-operator/controllers/object_controls.go
Lines 3689 to 3728 in a9e6a94
This does not appear to be normal behavior.
The temporary solution is to add the following configuration when installing gpu-operator:
4. Information to attach (optional if deemed irrelevant)
kubectl get pods -n OPERATOR_NAMESPACE
kubectl get ds -n OPERATOR_NAMESPACE
kubectl describe pod -n OPERATOR_NAMESPACE POD_NAME
kubectl logs -n OPERATOR_NAMESPACE POD_NAME --all-containers
nvidia-smi
from the driver container:kubectl exec DRIVER_POD_NAME -n OPERATOR_NAMESPACE -c nvidia-driver-ctr -- nvidia-smi
journalctl -u containerd > containerd.log
Collecting full debug bundle (optional):
NOTE: please refer to the must-gather script for debug data collected.
This bundle can be submitted to us via email: [email protected]
The text was updated successfully, but these errors were encountered: