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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo none: Please run with sudo. the vm-driver "none" requires sudo. #5259

Closed
ArsenyZorin opened this issue Sep 4, 2019 · 5 comments

Comments

@ArsenyZorin
Copy link

commented Sep 4, 2019

The exact command to reproduce the issue:

sudo minikube --vm-driver=none start

The full output of the command that failed:

馃槃  minikube v1.3.1 on Arch rolling
馃挕  Please run with sudo. the vm-driver "none" requires sudo.

The output of the minikube logs command:

馃挘  Error getting config: stat /home/azorin/.minikube/profiles/minikube/config.json: no such file or directory

馃樋  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
馃憠  https://github.com/kubernetes/minikube/issues/new/choose

The operating system version:

  • OS: Arch Linux
  • kernel: 5.2.11-arch1-1-ARCH

@tstromberg tstromberg changed the title Cannot start minikube with --vm-driver=none sudo none: Please run with sudo. the vm-driver "none" requires sudo. Sep 4, 2019

@tstromberg

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2019

Hey @ArsenyZorin

I suspect we've fixed this at head, but do you mind sharing the output of:

sudo id

Thanks!

@ArsenyZorin

This comment has been minimized.

Copy link
Author

commented Sep 5, 2019

@tstromberg, yes. Here it is:

鉃 sudo id
uid=0(root) gid=0(root) groups=0(root)
@tstromberg

This comment has been minimized.

Copy link
Contributor

commented Sep 6, 2019

@ArsenyZorin - Bizarre. I'm not sure what's going on there. Do you mind trying minikube v1.4.0 beta and report back on whether or not it fixes the problem? Download here: https://github.com/kubernetes/minikube/releases/tag/v1.4.0-beta.0

For consistency, I would tell it to use Kubernetes v1.15.2 so that you aren't accidentally upgraded to Kubernetes v1.6.0-beta (particularly because downgrades aren't supported!)

sudo minikube --vm-driver=none start --kubernetes-version=v1.15.2

@ArsenyZorin

This comment has been minimized.

Copy link
Author

commented Sep 9, 2019

@tstromberg, hello again.
Yes, minikube v1.4.0 beta fixed the problem. Thank you!

@tstromberg

This comment has been minimized.

Copy link
Contributor

commented Sep 9, 2019

excellent. Thank you for the update! Will mark as closed then.

@tstromberg tstromberg closed this Sep 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can鈥檛 perform that action at this time.