I’m running minikube VM inside KVM. Everything works well for few minutes than minikube stops responding.
I tried looking if minikube VM was running using the following command:-
sudo virsh list --all
But this command hangs.
I did some digging in the web. I came up to a the following website:-
https://libvir-list.redhat.narkive.com/9qqboQ2D/libvirt-libvirtd-not-responding-to-virsh-results-in-virsh-hanging
which had similar issue where sudo virsh list --all command will hang and it was because libvirtd stop responding. And if we restart libvirtd the problem seems to go away for some time.
I restarted libvirtd we the following command.
sudo systemctl restart libvirtd
It solves the problem for some time but It appear again. In following website the author seemed to have solved the problem, but I found it too technical and could not understand what he did and how he did it.
It it would helpful if some one could give me clear direction on how to solve this problem.
btw, the problem started happening after i updated libvirt, if i can recall correctly and I also tried reinstalling @virtualization group that contains libvirt, kvm, qemu, etc but problem persist.