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

clarify error message with driver none #7501

Closed
nestoralonso opened this issue Apr 8, 2020 · 1 comment · Fixed by #7500
Closed

clarify error message with driver none #7501

nestoralonso opened this issue Apr 8, 2020 · 1 comment · Fixed by #7500
Labels
co/none-driver kind/documentation Categorizes issue or PR as related to documentation. priority/backlog Higher priority than priority/awaiting-more-evidence.

Comments

@nestoralonso
Copy link
Contributor

nestoralonso commented Apr 8, 2020

Steps to reproduce the issue:

  1. minikube start --driver=none
  2. minikube fails to start (which is expected)
  3. minikube suggest a wrong command to fix the issue:
💣 The "none" driver requires root privileges. Please run minikube using 'sudo minikube --driver=none'.

The error message lacks the necessary parameter start after minikube, it should print like this:

💣The "none" driver requires root privileges. Please run minikube using 'sudo minikube start--driver=none'

Full output of failed command:

Full output of minikube start command used, if not already included:
✨ Using the none driver based on existing profile

❗ 'none' driver reported an issue: the 'none' driver must be run as the root user
💡 Suggestion: For non-root usage, try the newer 'docker' driver

💣 The "none" driver requires root privileges. Please run minikube using 'sudo minikube --driver=none'.

@afbjorklund
Copy link
Collaborator

The thing here is that you need to run every minikube command that way.

This is because root will end up owning all the files that are getting created...

Basically this is a bug. (#3760)

Sudo should not be required, instead minikube should add sudo where needed.

@afbjorklund afbjorklund added the kind/documentation Categorizes issue or PR as related to documentation. label Apr 8, 2020
@afbjorklund afbjorklund changed the title clarify error message with driver node clarify error message with driver none Apr 8, 2020
@tstromberg tstromberg added the priority/backlog Higher priority than priority/awaiting-more-evidence. label Apr 8, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/none-driver kind/documentation Categorizes issue or PR as related to documentation. priority/backlog Higher priority than priority/awaiting-more-evidence.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants