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

Virtualbox 6 prevents usage of Minikube with xhyve #4436

Closed
corvus-ch opened this issue Jun 6, 2019 · 6 comments
Closed

Virtualbox 6 prevents usage of Minikube with xhyve #4436

corvus-ch opened this issue Jun 6, 2019 · 6 comments
Labels
co/xhyve help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@corvus-ch
Copy link

corvus-ch commented Jun 6, 2019

The exact command to reproduce the issue:

minikube start --disk-size 35g --memory 8192 --vm-driver xhyve

The full output of the command that failed:

😄 minikube v1.1.0 on darwin (amd64)
⚠️ 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=8192MB, Disk=35000MB) ...
E0606 07:31:25.918496 68743 start.go:529] StartHost: create: 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"

💣 Unable to start VM: create: 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"

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

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

macOS Mojave 10.14.5

@medyagh
Copy link
Member

medyagh commented Jun 6, 2019

@corvus-ch Thanks for filling this bug, have you confirmed the source of the problem is having virtualbox 6 ? would downgrading virtualbox to 5 solve the problem?

@medyagh medyagh added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. labels Jun 6, 2019
@sharifelgamal sharifelgamal added the priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. label Jun 6, 2019
@corvus-ch
Copy link
Author

Yes, downgrading to VirtualBox 5.2.30 worked.

So the actual issue is that the implementation and the wording of the output do not match. While the output suggests, that Virtualbox and newer are fine, the implementation seems to require the Virtualbox version to be equal to 5 (not having VirtualBox installed is also fine).

Is there evidence that the xhyve driver not only has issues with Virtualbox 4 but 6 too and the only version of Virtualbox which can coexist would be 5?

@medyagh
Copy link
Member

medyagh commented Jun 8, 2019

Unfortunately we have deprecated xhyve driver and we don't have integration tests for it, if I could replicate the issue on my own machine I could investigate more, is there any reason you could not use other drivers such as hyperkit or virtualbox?

@corvus-ch
Copy link
Author

corvus-ch commented Jun 9, 2019

No, nothing is preventing me from using Hyperkit or Virtualbox. I can live with the fact that xhyve can be used alongside Virtualbox if it is version 5 only. If it is left like this, I suggest to at least change the wording in the output?

@medyagh
Copy link
Member

medyagh commented Jun 10, 2019

I agree, we could definitely provide a better message than this. I will add this to our backlog. thank you so much for taking the time to provide details on this issue. :)

@medyagh medyagh added needs-solution-message Issues where where offering a solution for an error would be helpful priority/backlog Higher priority than priority/awaiting-more-evidence. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. labels Jun 10, 2019
@tstromberg tstromberg added the help wanted Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines. label Jul 18, 2019
@tstromberg
Copy link
Contributor

Closed because xhyve support was removed from minikube.

@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Sep 17, 2019
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. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

No branches or pull requests

5 participants