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

kube-setup.sh fails #2

Open
elkhand opened this issue Nov 30, 2020 · 0 comments
Open

kube-setup.sh fails #2

elkhand opened this issue Nov 30, 2020 · 0 comments

Comments

@elkhand
Copy link

elkhand commented Nov 30, 2020

Using VMware Player Version 12.1.0 (17195230).

Running kube-setup.sh as root user on Fedora 33 fails:

minikube v1.15.1 on Fedora 33
✨  Using the kvm2 driver based on user configuration
πŸ›‘  The "kvm2" driver should not be used with root privileges.
πŸ’‘  If you are running minikube within a VM, consider using --driver=none:
πŸ“˜    https://minikube.sigs.k8s.io/docs/reference/drivers/none/

❌  Exiting due to DRV_AS_ROOT: The "kvm2" driver should not be used with root privileges.

if this script ends with an error, restart the virtual machine
and manually run minikube start --memory 4096 --vm-driver=kvm2

Switching to non-root user xxx and trying to start minikube also fails.

[xxx@localhost kub4h]$ minikube start --memory 4096 --vm-driver=kvm2
πŸ˜„  minikube v1.15.1 on Fedora 33
✨  Using the kvm2 driver based on existing profile
πŸ‘  Starting control plane node minikube in cluster minikube
πŸ”„  Restarting existing kvm2 VM for "minikube" ...
🀦  StartHost failed, but will try again: driver start: error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2020-11-30T07:28:53.375835Z qemu-system-x86_64: error: failed to set MSR 0x48d to 0x5600000016
qemu-system-x86_64: /builddir/build/BUILD/qemu-5.1.0/target/i386/kvm.c:2713: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.')
πŸ”„  Restarting existing kvm2 VM for "minikube" ...
😿  Failed to start kvm2 VM. Running "minikube delete" may fix it: driver start: error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2020-11-30T07:28:58.773855Z qemu-system-x86_64: error: failed to set MSR 0x48d to 0x5600000016
qemu-system-x86_64: /builddir/build/BUILD/qemu-5.1.0/target/i386/kvm.c:2713: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.')

❌  Exiting due to GUEST_PROVISION: Failed to start host: driver start: error creating VM: virError(Code=1, Domain=10, Message='internal error: process exited while connecting to monitor: 2020-11-30T07:28:58.773855Z qemu-system-x86_64: error: failed to set MSR 0x48d to 0x5600000016
qemu-system-x86_64: /builddir/build/BUILD/qemu-5.1.0/target/i386/kvm.c:2713: kvm_buf_set_msrs: Assertion `ret == cpu->kvm_msr_buf->nmsrs' failed.')

😿  If the above advice does not help, please let us know: 
πŸ‘‰  https://github.com/kubernetes/minikube/issues/new/choose

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant