minishift: Using minishift with Hyper-V is crashing
Description
On windows 10 pro Hyper-V enable Minishift v3.6
Installation
Add virtual swith called “externe”
Command
set HYPERV_VIRTUAL_SWITCH=externe
minishift start --show-libmachine-logs -v 5 --vm-driver hyperv
-- Checking if Hyper-V driver is configured ... panic: runtime error: invalid memory address or nil pointer dereference
[signal 0xc0000005 code=0x0 addr=0x20 pc=0x5dc1cc]
goroutine 1 [running]:
panic(0xa53080, 0xc04200a090)
/usr/local/go/src/runtime/panic.go:500 +0x1af
github.com/minishift/minishift/pkg/minishift/shell/powershell.(*PowerShell).Execute(0xc0421136e0, 0xb1ce48, 0x20, 0x7, 0xc04213c3c0, 0xb15ea2, 0x18)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/pkg/minishift/shell/powershell/powershell.go:34 +0x2c
github.com/minishift/minishift/cmd/minishift/cmd.checkHypervDriver(0xb15ea2)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/cmd/start_preflight.go:242 +0x7b
github.com/minishift/minishift/cmd/minishift/cmd.preflightCheckSucceedsOrFails(0xb15c4a, 0x18, 0xb6ff88, 0xb22e23, 0x28, 0xc042209a00, 0xb15ea2, 0x18, 0xb2ee4f, 0x42)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/cmd/start_preflight.go:136 +0x1f7
github.com/minishift/minishift/cmd/minishift/cmd.preflightChecksBeforeStartingHost()
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/cmd/start_preflight.go:65 +0x117
github.com/minishift/minishift/cmd/minishift/cmd.runStart(0xc0422f8000, 0xc04210e3c0, 0x0, 0x5)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/cmd/start.go:154 +0x2f3
github.com/minishift/minishift/vendor/github.com/spf13/cobra.(*Command).execute(0xc0422f8000, 0xc04210e370, 0x5, 0x5, 0xc0422f8000, 0xc04210e370)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/vendor/github.com/spf13/cobra/command.go:651 +0x453
github.com/minishift/minishift/vendor/github.com/spf13/cobra.(*Command).ExecuteC(0xe93b40, 0x0, 0x0, 0x0)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/vendor/github.com/spf13/cobra/command.go:726 +0x36e
github.com/minishift/minishift/vendor/github.com/spf13/cobra.(*Command).Execute(0xe93b40, 0xc042209f50, 0xc042209f50)
/home/minishift_ci/gopath/src/github.com/minishift/minishift/vendor/github.com/spf13/cobra/command.go:685 +0x32
github.com/minishift/minishift/cmd/minishift/cmd.Execute()
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/cmd/root.go:137 +0x34
main.main()
/home/minishift_ci/gopath/src/github.com/minishift/minishift/cmd/minishift/main.go:26 +0x20`
Expected
minishift VM created on Hyper-V supervisor.
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 19 (11 by maintainers)
@Emmanuel35 have you used:
minishift config set skip-check-hyperv-driver trueas suggested to bypass the check?