Open daurnimator opened 6 years ago
I came to the same error using Antergos Linux and what I had to do was make sure that virtualbox was setup/configured correctly. I thought because I had installed it via pamac that the package was already setup, but I had to go to the docs to find out that I still needed to install linux-headers ( I am using linux kernel and not linux-lts) using command 1. yay linux-headers
, I had to make sure to load modules that are used by VirtualBox by doing 2. sudo rcvboxdrv
then sudo systemctl start systemd-modules-load.service
, and finally 3. minikube start -p vb --vm-driver=virtualbox
Also, be sure to select the correct repo for each package, this is mentioned in the link provided.
Just having the exact issue.
leo@tmv:~/dev/kubernetes$ minikube start --kubernetes-version v1.9.4
Starting local Kubernetes v1.9.4 cluster...
Starting VM...
E0430 16:10:25.962867 1225 start.go:180] Error starting host: Error creating host: Error executing step: Running precreate checks.
: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (4.15.0-47-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n5.2.22r126460". Please upgrade at https://www.virtualbox.org.
Retrying.
E0430 16:10:25.964185 1225 start.go:186] Error starting host: Error creating host: Error executing step: Running precreate checks.
: We support Virtualbox starting with version 5. Your VirtualBox install is "WARNING: The vboxdrv kernel module is not loaded. Either there is no module\n available for the current kernel (4.15.0-47-generic) or it failed to\n load. Please recompile the kernel module and install it by\n\n sudo /sbin/vboxconfig\n\n You will not be able to start VMs until this problem is fixed.\n5.2.22r126460". Please upgrade at https://www.virtualbox.org
E0430 16:10:27.905310 1225 util.go:151] Error uploading error message: Error sending error report to https://clouderrorreporting.googleapis.com/v1beta1/projects/k8s-minikube/events:report?key=AIzaSyACUwzG0dEPcl-eOgpDKnyKoUFgHdfoFuA, got response code 400
It's VM issue. Solution:
After installation, try virtualbox
cmd, if no issues, then you should be good to minikube start
Originally reported at https://github.com/kubernetes/minikube/issues/2522