New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vm restart when kubelet restart #11662
Comments
We had a similar issue a while ago, and it was fixed and backported (kubernetes/kubernetes#118635) |
it‘s not the same promblem, see kubelet logs |
@wavezhang what KubeVirt and k8s versions are you running? |
And what container runtime are you using? But IIRC then as part of the discussion around kubernetes/kubernetes#118635 we today assume that kubelet restarts leads to container restarts.
|
The virt-handler device_controller is watching the kubelet.sock file, and when kubelet restarts, dpi.initialized is set to issue: How to reproduce it (as minimally and precisely as possible): I believe the solution to this problem is: |
What happened:
A clear and concise description of what the bug is.
vm restart when kubelet restart
What you expected to happen:
A clear and concise description of what you expected to happen.
vm not affected when kubelet restart
How to reproduce it (as minimally and precisely as possible):
Steps to reproduce the behavior.
restart kubelet until you see vm pod stop
Additional context:
Add any other context about the problem here.
kubelet log
predicate.go:129] "Predicate failed on Pod" pod="default/virt-launcher-vm-ftiq8-sk8jk" err="Predicate NodeAffinity failed"
It seems that h.waitForDevicePlugins(stopCh) should put into h.do() ?
Environment:
virtctl version
): N/Akubectl version
): N/Auname -a
): N/AThe text was updated successfully, but these errors were encountered: