minikube: Error starting host: Error getting state for host: unexpected EOF

Minikube version (use minikube version): v0.12.2

Environment:

  • OS (e.g. from /etc/os-release): Ubuntu 14.04
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): kvm
  • Docker version (e.g. docker -v): Docker version 1.12.3
  • Install tools:
  • Others:

What happened: When trying to start a cluster I get an error:

 ✗ sudo minikube start
Starting local Kubernetes cluster...
E1130 15:29:30.277137   18796 start.go:92] Error starting host: Error getting state for host:     unexpected EOF. Retrying.
E1130 15:29:30.277941   18796 start.go:98] Error starting host:  Error getting state for host: unexpected EOF

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 25 (7 by maintainers)

Most upvoted comments

As a last resort, can you try

minikube delete
rm -rf ~/.minikube

You don’t need sudo to run minikube. I suspect that something is wrong with your cached ISO. The download could have been interrupted or invalid.

Try to rm -rf ~/.minikube/cache and then try to run minikube

Ran it:

 ~ rm -rf ~/.minikube/cache
 ~ minikube start
Starting local Kubernetes cluster...
E1130 19:45:40.353550    6859 start.go:92] Error starting host: Error getting state for host:   unexpected EOF. Retrying.
E1130 19:45:40.354129    6859 start.go:98] Error starting host:  Error getting state for host:    unexpected EOF

Still have the same issue. I suspect something with the “kvm” driver but I have no proof to back it up. I wasn’t able to run it with VirtualBox though.

hi…i am also having the same below error when I am trying to run the ‘Minikube start’ command on the Linux AWS instance. VBoxManage is already installed on my PC (having Windows 10 OS) from where I am launching my Linux AWS instance. Can someone help.

E0222 00:15:57.464329 32174 start.go:165] Error starting host: Error creating host: Error executing step: Running precreate checks. : VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path

I’m having the same issue

E0217 15:06:08.998173 24429 start.go:156] Error starting host: Error creating host: Error executing step: Running precreate checks. : VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path

yet VBoxManage is available in my system

Finally works! I checked if the kvm works by running:

➜  ~ sudo /usr/sbin/kvm-ok
INFO: /dev/kvm does not exist
HINT:   sudo modprobe kvm_intel
INFO: Your CPU supports KVM extensions
INFO: KVM (vmx) is disabled by your BIOS
HINT: Enter your BIOS setup and enable Virtualization Technology (VT),
      and then hard poweroff/poweron your system
KVM acceleration can NOT be used

I enabled the virtualization in the BIOS and checked kvm installation again. This time everything worked fine.

Are you running minikube inside of a VM? You won’t be able to do nested virtualization. However if you’re using windows or OS X you should use those minikube binaries.

Seems to solve it. But then I got a new error…

   ➜  ~ minikube delete 
Deleting local Kubernetes cluster...
Errors occurred deleting machine:  unexpected EOF
➜  ~ rm -rf ~/.minikube
➜  ~ minikube start  
Starting local Kubernetes cluster...
Downloading Minikube ISO
 36.00 MB / 36.00 MB [==============================================] 100.00% 0s
E1130 21:08:00.026929    4265 start.go:92] Error starting host: Error creating host: Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path". Retrying.
E1130 21:08:00.027295    4265 start.go:98] Error starting host:  Error creating host: Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
➜  ~ minikube start --vm-driver=kvm
Starting local Kubernetes cluster...
E1130 21:09:16.213244    4388 start.go:92] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: [Code-1] [Domain-20] internal error: no supported architecture for os type 'hvm'. Retrying.
E1130 21:09:16.214181    4388 start.go:98] Error starting host:  Error creating host: Error creating machine: Error in driver during machine creation: [Code-1] [Domain-20] internal error: no supported architecture for os type 'hvm'
➜  ~