Skip to content
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

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

Closed
anmolbabu opened this issue May 20, 2019 · 8 comments
Labels
co/xhyve help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. r/2019q2 Issue was last reviewed 2019q2

Comments

@anmolbabu
Copy link

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

@ianmiell
Copy link

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

@ianmiell
Copy link

Workaround:

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

@tstromberg tstromberg added co/xhyve kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. labels May 22, 2019
@tstromberg tstromberg changed the title Unable to start VM: new host: json: cannot unmarshal bool into Go struct field Driver.Virtio9p of type []string xhyve: json: cannot unmarshal bool into Go struct field Driver.Virtio9p of type []string May 22, 2019
@tstromberg tstromberg added the r/2019q2 Issue was last reviewed 2019q2 label May 24, 2019
@zekaguilar
Copy link

zekaguilar commented May 29, 2019

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"

@sharifelgamal sharifelgamal added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 18, 2019
@wen-fei
Copy link

wen-fei commented Aug 2, 2019

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?

@wen-fei
Copy link

wen-fei commented Aug 2, 2019

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

@AdilBNC
Copy link

AdilBNC commented Sep 3, 2019

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

@tstromberg
Copy link
Contributor

Closing as there is no longer support for xhyve.

@alexmuntean
Copy link

alexmuntean commented Oct 16, 2019

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 :*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/xhyve help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. kind/bug Categorizes issue or PR as related to a bug. priority/backlog Higher priority than priority/awaiting-more-evidence. r/2019q2 Issue was last reviewed 2019q2
Projects
None yet
Development

No branches or pull requests

8 participants