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

precreate: VirtualBox is configured with multiple host-only adapters with the same IP #4332

Closed
umi0410 opened this issue May 23, 2019 · 3 comments
Labels
co/virtualbox priority/backlog Higher priority than priority/awaiting-more-evidence. r/2019q2 Issue was last reviewed 2019q2 triage/duplicate Indicates an issue is a duplicate of other open issue.

Comments

@umi0410
Copy link

umi0410 commented May 23, 2019

The exact command to reproduce the issue:
minikube start
The full output of the command that failed:
error message
The output of the minikube logs command:
I didn't get it, sorry.
The operating system version:
Linux Ubuntu 18.04

when does the errors occur
I guess when I use both sudo minikube start and minikube start, virtualbox configurations got messed.
In that case, only one user between root and $USER was able to access minikube start.
The following image is the case when the error occurs with using the same IP
error virtualbox

What I suggest!

I think you are aware of why the error occurs ( because of the apapters that have the same IP )
but some users are not familiar with what the host-only adapters are and how to deal with them. So if you append some kind of detailed explanations for the error, it would be great. Like this.

"Try opening virtualbox, click Global Tools - Host Network Manager, and check out if there are network adapters which use the same IP.
Then remove an adapter which has the same IP or change the IP not to be the same."

@tstromberg tstromberg added the needs-solution-message Issues where where offering a solution for an error would be helpful label May 23, 2019
@tstromberg tstromberg changed the title minikube start error with same IP of VM in VirtualBox. - needs more detailed error handling message. precreate: VirtualBox is configured with multiple host-only adapters with the same IP May 23, 2019
@tstromberg
Copy link
Contributor

Thanks for opening this bug report. The error message is raised by libmachine, but minikube has a built-in way to suggest solutions for error messages that we should use here. I like your suggested text. You are welcome to edit this file to add a proper solution for this error message:

https://github.com/kubernetes/minikube/blob/master/pkg/minikube/problem/err_map.go

Otherwise we will try to get to it ourselves at some point. Thank you!

@tstromberg tstromberg added the priority/backlog Higher priority than priority/awaiting-more-evidence. label May 23, 2019
@tstromberg
Copy link
Contributor

Related: #3138

@tstromberg tstromberg added the r/2019q2 Issue was last reviewed 2019q2 label May 23, 2019
@tstromberg
Copy link
Contributor

Dupe of #3870 - will make sure that one gets a solution message though.

@tstromberg tstromberg added the triage/duplicate Indicates an issue is a duplicate of other open issue. label May 23, 2019
@tstromberg tstromberg removed the needs-solution-message Issues where where offering a solution for an error would be helpful label Apr 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/virtualbox priority/backlog Higher priority than priority/awaiting-more-evidence. r/2019q2 Issue was last reviewed 2019q2 triage/duplicate Indicates an issue is a duplicate of other open issue.
Projects
None yet
Development

No branches or pull requests

2 participants