Skip to content
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

Make timeout for KVM2 configurable #20402

Open
joshiste opened this issue Feb 11, 2025 · 1 comment
Open

Make timeout for KVM2 configurable #20402

joshiste opened this issue Feb 11, 2025 · 1 comment

Comments

@joshiste
Copy link

What Happened?

Every now and then we experience the following error when running Minikube on our CI runners:

 PROVIDER_KVM2_NOT_RUNNING: /usr/bin/virsh domcapabilities --virttype kvm timed out

Looking at the code, there is currently a fixed timeout of 6 seconds. Can we make this configurable?

Attach the log file

🧊 * [e2e-containerd] minikube v1.34.0 on Ubuntu 24.04
🧊 * Using the kvm2 driver based on user configuration
🧊 
🧊 X Exiting due to PROVIDER_KVM2_NOT_RUNNING: /usr/bin/virsh domcapabilities --virttype kvm timed out
🧊 * Suggestion: Check that the libvirtd service is running and the socket is ready
🧊 * Documentation: https://minikube.sigs.k8s.io/docs/reference/drivers/kvm2/
🧊 

Operating System

Ubuntu

Driver

KVM2

@nirs
Copy link
Contributor

nirs commented Feb 11, 2025

Not sure that this should be configurable, but you change the timeout and check if bigger value works with your system.

To get more data on this, adding a debug log reporting the time to complete the request can help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants