-
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
hyperv: create host timed out in 120.000000 seconds #7825
Comments
Could anyone help on this issue?I have tried all the ways by uninstalling and doing it again. |
@shikha0208 - does it work if you omit the I ask, because it might be that the virtual switch specified does not have a valid configuration. |
I have the same issue starting minikube with the same output as a topic starter. What changed between previously successfully running minikube VM and failed start
Exact command to run: (Internal is a custom HyperV virtual switch with Internal setup). Tried solutions:
Docker Desktop Kubernetes works well when I start it. (tried after failures with minikube). However, Docker is used with Windows containers. Only for trying K8s I switched to Linux container and then back to Windows. All work is done using PowerShell with Admin mode. minikube version: v1.9.2 |
Installing minikube 1.8.2 did not help. Is there anything what could stay behind if minikube unexpectedly turned off? What files I may check or delete? PS C:\WINDOWS\system32> minikube start --driver=hyperv --hyperv-virtual-switch=Internal --force
! minikube v1.8.2 on Microsoft Windows 10 Pro 10.0.18362 Build 18362
X Unable to start VM. Please investigate and run 'minikube delete' if possible: creating host: create host timed out in 120.000000 seconds
|
After intallation failure PS C:\WINDOWS\system32> minikube status |
minikube start (w/o flags) helped (before was not helping) However, then I did:
Process hangs on
After I get back to default switch, minikube start succeeds. Could you please tell why a switch with the same configuration as Default Switch in HyperV does not suite minikube? Ok, after running It worked. So, solution in my case was:
Looks liek everything works now. Just 3 days of trying to get it up :) However, hyperv shows that minikube VM runs on Default Switch and it is not possible to use a different internal switch |
It is working fine.I am closing this issue |
Steps to reproduce:
PS C:\kube> minikube start --kubernetes-version="v1.18.0" --vm-driver="hyperv" --hyperv-virtual-switch="Mini
ube" * minikube v1.9.2 auf Microsoft Windows 10 Enterprise 10.0.18363 Build 18363
! StartHost failed, but will try again: creating host: create host timed out in 120.000000 seconds
E0421 13:06:28.578777 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
icrosoft.HyperV.PowerShell.Commands.GetVM E0421 13:06:30.6 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V wa [ooooooooooooooooooooooooooooooooooooooooo to find a virtual machine with name "minikube".
At line:1 char:3
At line:1 char:3
E0421 13:06:37.357536 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
E0421 13:06:39.545037 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
E0421 13:06:41.696377 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
E0421 13:06:43.905041 4372 main.go:106] libmachine: [stderr =====>] : Hyper-V\Get-VM : Hyper-V was unable to find a virtual machine with name "minikube".
At line:1 char:3
The text was updated successfully, but these errors were encountered: