Skip to content

minikube start with hyper-v won't resolve guest ip-address #1945

Closed
@a3nick

Description

@a3nick

BUG REPORT

Executing minikube start --vm-driver="hyperv" --hyperv-virtual-switch="ext1", where ext1 is my external virtual switch on hyper-v, the system hangs on "Starting VM" message.
Checking the log it seems that the powershell command used to retireve the ip address of the guest machine don't returns any value (i tested running the command on a separate powershell with the same result).
I obtained the same result on two different machines.

Environment:

Minikube version: v0.22.0

  • OS: Windows 10x64 - 1703
  • VM Driver: hyper-v
  • ISO version: -v0.23.3
  • Install tools: kubectl & minikube installed using chocolatey packages

Output of minikube logs:

[executing ==>] : C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -NoProfile -NonInteractive (( Get-VM minikube ).networkadapters[0]).ipaddresses[0]
[stdout =====>] :
[stderr =====>] :

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions