-
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
no External vswitch found. A valid vswitch must be available for this command to run #5154
Comments
Did you create the external switch in hyperv? |
Yes, you need to create an external switch in Hyper-V as specified in the documentation in @speedysocks30 comment, and then specify the name of the switch in |
Yes I did, created an External switch through HyperV Manager, after seeing
few resolved posts. Even then it was not working.
…On Wed, Aug 21, 2019, 11:23 PM Sharif Elgamal ***@***.***> wrote:
Yes, you need to create an external switch in Hyper-V as specified in the
documentation in @speedysocks30 <https://github.com/speedysocks30>
comment, and then specify the name of the switch in minikube start with
the --hyperv-virtual-switch parameter.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5154?email_source=notifications&email_token=AF6MIIOLUZGETRV64BXWWVLQFV6IRA5CNFSM4IOBXEPKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD42SJSI#issuecomment-523576521>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AF6MIIORC4NAFZMF5SRSKYTQFV6IRANCNFSM4IOBXEPA>
.
|
@jpthirumalai - Do you mind sharing the output of this PowerShell command:
I would also like to see the command-line you use that includes |
Get-VMSwitch -SwitchType External Name SwitchType NetAdapterInterfaceDescription ---- ---------- ------------------------------ switch4kube External Intel(R) Ethernet Connection (4) I219-LMCommand used to start minikube start --vm-driver=hyperv --hyperv-virtual-switch=switch4kue And the output is minikube v1.3.1 on Microsoft Windows 10 Pro 10.0.17763 Build 17763 Creating hyperv VM (CPUs=2, Memory=2000MB, Disk=20000MB) ... E0821 10:53:20.324513 108332 start.go:723] StartHost: create: precreate: no External vswitch found. A valid vswitch must be available for this command to run. Check https://docs.docker.com/machine/drivers/hyper-v/ |
Tried steps from resolved issue #1221 |
@jpthirumalai - Is it possible that there is a typo in your minikube command? I noticed it says |
@author: I believe this issue is now addressed by minikube v1.4, as it no longer requires an external virtual switch. If you still see this issue with minikube v1.4 or higher, please reopen this issue by commenting with Thank you for reporting this issue! |
/reopen Find this issue in latest version of minikube 1.4.0 |
@aditya-bhuyan: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/reopen This issue is present in v1.12.0 |
@Septem151: You can't reopen an issue/PR unless you authored it or you are a collaborator. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The exact command to reproduce the issue:
minikube start --vm-driver=hyperv
The full output of the command that failed:
C:\WINDOWS\system32>minikube start --vm-driver=hyperv
E0821 10:53:20.324513 108332 start.go:723] StartHost: create: precreate: no External vswitch found. A valid vswitch must be available for this command to run. Check https://docs.docker.com/machine/drivers/hyper-v/
X Unable to start VM
--hyperv-virtual-switch=<switch-name>
tominikube start
C:\WINDOWS\system32>
The output of the
minikube logs
command:The operating system version:
Microsoft Windows [Version 10.0.17763.678]
The text was updated successfully, but these errors were encountered: