-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Minikube fails to start start on Hyper-V with Windows Server 2016 or Windows 10 due to KVP issues #1598
Comments
Update: building a minikube ISO from source and using it with "minikube start" works:
The Linux kernel version now is 4.9.13, which includes the required LIS fixes. Would it be possible to release a new default ISO? |
@alexpilotti we've released a 0.19.1 image, however there hasn't been a minikube release with it yet
|
@r2d4 great thanks, I just tested it performing multiple start / delete runs and I noticed a race condition behaviour in LIS that causes the same failure on Hyper-V in some cases. Is there already a plan to switch to BUILDROOT_BRANCH 2017.5 in the ISO? The kernel version is 4.11.5. |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Is this a BUG REPORT or FEATURE REQUEST? (choose one): BUG REPORT
Minikube version (use
minikube version
): v0.19.1Environment: Hyper-V
cat ~/.minikube/machines/minikube/config.json | grep DriverName
): hypervcat ~/.minikube/machines/minikube/config.json | grep -i ISO
orminikube ssh cat /etc/VERSION
): minikube-v0.18.0.isoWhat happened:
When starting Minikube, it will hang waiting for retrieving an IP address via KVP (e.g. Get-VMNetworkAdapter minikube). An IP address is correctly assigned in the VM, this can be verified by logging in via ssh using the docker / tcuser credentials.
The following messages are visible in the "minikube start" verbose output:
This issue is due to outdated LIS modules / KVP daemon in the ISO.
What you expected to happen:
minikube should retrieve an IP address and proceed with the deployment.
How to reproduce it (as minimally and precisely as possible):
.\minikube.exe start --vm-driver=hyperv --hyperv-virtual-switch=<your_external_switch> -v 9
Anything else do we need to know:
This issue is common on any Linux distro and can be fixed by updating the Kernel used in the ISO. This will include recent LIS modules that fix the issue.
The text was updated successfully, but these errors were encountered: