-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Minikube should log where it gets config options from on start #2053
Comments
Its not falling back to virtualbox, there just might be some configuration for a machine already started with virtualbox that its reading. I think a decent fix here would be to just print out the current vm-driver on |
I know that I've never had virtualbox on this machine, but I don't know that there aren't fragments of old .minikube configs in my profile somewhere, so that's possible. Whether or not we print that on on minikube start normally, it should certainly be visible with
Right now, no matter how much you amp up the logging, the user still has no idea where minikube is getting its configuration info from. This would go for other configuration switches as well. Should I change the topic of this issue to reflect the actual desired solution? |
@jberkus Yeah, that would be great. I'll send a PR shortly to log this info. |
Thanks! |
I'm pretty sure that minikube will try to use the virtualbox driver if there are any remnants of VirtualBox on the system, regardless of the CC: @r2d4 |
@bgehman It definitely should not be trying to use the virtualbox driver if you've specified another one. There was an old bug with the xhyve driver though, where it would appear to be trying to use the virtualbox driver if there were any remnants of virtualbox on the system, but that was actually an bug in the xhyve driver. It was trying to check the version of Virtualbox, because some versions of it caused kernel panics when running virtualbox and xhyve simultaneously. |
Thanks! |
FYI, just had a chance to test this with some local libvirtd issues. MUCH better. |
BUG REPORT
Please provide the following details:
Environment:
Minikube version : v0.22.3
What happened:
Install KVM dependencies
Fail to configure kvm permissions correctly so that I can run kvm as a non-root user
Attempt to start Minikube using:
Full error output:
https://paste.fedoraproject.org/paste/UXyu5yBNICuX565Nm-B4Vg
What you expected to happen:
minikube start
should have failed with some kind of "could not start kvm" error.How to reproduce it (as minimally and precisely as possible):
Follow instructions above. An easy way to produce the permissions error is to just not add the user to the libvirtd group.
Output of
minikube logs
(if applicable):https://paste.fedoraproject.org/paste/UXyu5yBNICuX565Nm-B4Vg
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: