-
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
The "kvm2" driver should not be used with root privileges. #5801
Comments
Try |
Facing the same error. |
Thank you for creating this issue. I am curious are you running kvm inside a VM or a cloud VM? If yes for that you would need to have a VM that supports nested virtualization. Alternatively inside a VM you could use the none driver instead of kvm (which skips vm and installs on baremetal) @nanikjava |
The answer is to not run minikube as the root user. If you note, https://kubernetes.io/blog/2019/03/28/running-kubernetes-locally-on-linux-with-minikube-now-with-kubernetes-1.14-support/ does not do so. If minikube continues to fail as a non-root user, I encourage you to update to the latest minikube and provide the output of |
But how to run WITH root privileges? |
Yes. Alternatively you may pass --force, but in general it is not
recommended to execute programs as root unless required.
…On Tue, Dec 10, 2019, 2:46 AM AsherShoshan ***@***.***> wrote:
But how to run WITH root privileges?
Should I create non-root user for this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#5801?email_source=notifications&email_token=AAAYYMBINSCVE3MB7EVGI6TQX5XRRA5CNFSM4JHFLJB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGOZSWI#issuecomment-563976537>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYYMBXJRZR3UFJ6LZ5YF3QX5XRRANCNFSM4JHFLJBQ>
.
On Tue, Dec 10, 2019, 2:46 AM AsherShoshan ***@***.***> wrote:
But how to run WITH root privileges?
Should I create non-root user for this?
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#5801?email_source=notifications&email_token=AAAYYMBINSCVE3MB7EVGI6TQX5XRRA5CNFSM4JHFLJB2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEGOZSWI#issuecomment-563976537>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAYYMBXJRZR3UFJ6LZ5YF3QX5XRRANCNFSM4JHFLJBQ>
.
|
You need to run libvirt as ur user..Then this error will go away. |
thanks it worked for me, before i was tried with lot of different vms, but after all we was found that same error. but after using, --force flage. i got solved. |
Please continue the conversion in #8257 instead of this old issue, thanks. The issue is not running the VM as root (that is a requirement for libvirt), |
Hi, I am trying to start the minikube with kvm2 driver. I getting the below while starting the minikube.
I have used the below wiki for setting up the minikube.
https://kubernetes.io/blog/2019/03/28/running-kubernetes-locally-on-linux-with-minikube-now-with-kubernetes-1.14-support/
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: