Minikube: xhyve: json: cannot unmarshal bool into Go struct field Driver.Virtio9p of type []string

Created on 20 May 2019  路  8Comments  路  Source: kubernetes/minikube

The exact command to reproduce the issue:
minikube start --vm-driver=xhyve

The full output of the command that failed:

minikube start --vm-driver=xhyve
馃槃 minikube v1.0.1 on darwin (amd64)
馃す Downloading Kubernetes v1.14.1 images in the background ...
鈿狅笍 The xhyve driver is deprecated and support for it will be removed in a future release.
Please consider switching to the hyperkit driver, which is intended to replace the xhyve driver.
See https://github.com/kubernetes/minikube/blob/master/docs/drivers.md#hyperkit-driver for more information.
To disable this message, run [minikube config set WantShowDriverDeprecationNotification false]
馃敟 Creating xhyve VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...

馃挘 Unable to start VM: new host: json: cannot unmarshal bool into Go struct field Driver.Virtio9p of type []string

馃樋 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
馃憠 https://github.com/kubernetes/minikube/issues/new

The output of the minikube logs command:
minikube logs

馃挘 api load: filestore: Docker machine "minikube" does not exist. Use "docker-machine ls" to list machines. Use "docker-machine create" to add a new one.

馃樋 Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
馃憠 https://github.com/kubernetes/minikube/issues/new
The operating system version:
Mac OS mojave 10.14.3

cxhyve help wanted kinbug prioritbacklog 2019q2

Most helpful comment

Workaround:

brew unlink docker-machine-driver-xhyve
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7310c563d662ddbe094f46f9600cad30ad3551a6/Formula/docker-machine-driver-xhyve.rb

All 8 comments

I get this also; it seemed to happen after an upgrade to docker-machine-driver-xhyve to 0.4.0

Workaround:

brew unlink docker-machine-driver-xhyve
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7310c563d662ddbe094f46f9600cad30ad3551a6/Formula/docker-machine-driver-xhyve.rb

I have VBox 6 on MacOS 10.14.5
Another error:
-- Starting Minishift VM ..... FAIL E0530 00:19:08.848817 9655 start.go:494] Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads". Retrying.
Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

I have VBox 6 on MacOS 10.14.5
Another error:
-- Starting Minishift VM ..... FAIL E0530 00:19:08.848817 9655 start.go:494] Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads". Retrying.
Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

anyone knows how to solve this problem?

I have VBox 6 on MacOS 10.14.5
Another error:
-- Starting Minishift VM ..... FAIL E0530 00:19:08.848817 9655 start.go:494] Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads". Retrying.
Error starting the VM: Error creating the VM. Error with pre-create check: "Virtual Box version 4 or lower will cause a kernel panicif xhyve tries to run. You are running version: 6.0.8r130520\n\n\t Please upgrade to version 5 at https://www.virtualbox.org/wiki/Downloads"

anyone knows how to solve this problem?

see issue213

Workaround:

brew unlink docker-machine-driver-xhyve
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7310c563d662ddbe094f46f9600cad30ad3551a6/Formula/docker-machine-driver-xhyve.rb

Do not forget:
sudo chown root:wheel /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve
sudo chmod u+s /usr/local/opt/docker-machine-driver-xhyve/bin/docker-machine-driver-xhyve

Closing as there is no longer support for xhyve.

Workaround:

brew unlink docker-machine-driver-xhyve
brew install https://raw.githubusercontent.com/Homebrew/homebrew-core/7310c563d662ddbe094f46f9600cad30ad3551a6/Formula/docker-machine-driver-xhyve.rb

this one works for me also in catalina. thanks buddy :*

Was this page helpful?
0 / 5 - 0 ratings