minikube: minikube start (kvm) "Error starting host: Error creating new host: dial tcp: missing address."

Is this a BUG REPORT or FEATURE REQUEST? (choose one): bug report

Minikube version (use minikube version):

minikube version: v0.14.0

Environment:

  • OS (e.g. from /etc/os-release): ubuntu trusty
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): kvm, but machines directory is empty
  • Docker version (e.g. docker -v): 1.12.1
  • Install tools:
  • Others:

What happened:

$ minikube config set vm-driver kvm
$ minikube start                                                                                                                                                                                
Starting local Kubernetes cluster...
E1215 20:30:51.804680    3691 start.go:94] Error starting host: Error creating new host: dial tcp: missing address.

 Retrying.
E1215 20:30:51.805291    3691 start.go:100] Error starting host:  Error creating new host: dial tcp: missing address
Exit code 1

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else do we need to know:

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 40 (6 by maintainers)

Most upvoted comments

I am having this issue with snap’s version of minikube as well. I uninstalled the snap version and performed the installation with

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

And the install seems to be proceeding without a hitch

Also happening on Ubuntu 18.04 after a fresh install of minikube.

The above workaround worked fine:

Uninstall snap version and install “real version” with

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

I have the same issue. Virtual Machine - Ubuntu 18.10. Tried KVM2 driver and yet. Anyone else experiencing this issue?

os: linux mint 19 minikube v1.6.2 vm driver: kvm docker v19.03

I experienced the same issue after installing minikube with snap. For me the solution was to remove the snap install and delete the /snap/minikube folder and then install minikube wirh:

curl -LO https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64
&& sudo install minikube-linux-amd64 /usr/local/bin/minikube

This is pretty odd since snap is suggested in the official documentation. I also had to install docker-machine.

I linked the official minikube binary. If that is a honey pot that I give up. It is running unconfined but I am not sure the snap version of minikube can run unconfined either.

I am having this issue with snap’s version of minikube as well. I uninstalled the snap version and performed the installation with

curl -Lo minikube https://storage.googleapis.com/minikube/releases/latest/minikube-linux-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/

And the install seems to be proceeding without a hitch

THANK YOU FIXED IT FOR ME

This is still happening to me on minikube v1.1.0. Opening another terminal doesn’t seem to help, but I am included in the libvirtd group.

OS: Ubuntu 16.04 VM Driver: kvm Docker version: 18.06.0-ce,

Still a problem! Reopen? Ubuntu 16.04 with KVM2.

Solution is to downgrade minikube to v0.30.0 if you are on 16.04

Same here:

Ubuntu 14.04 with KVM2 minikube version: v0.32.0

+1

  • minikube version: v0.26.1
  • OS: Fedora 27
  • VM Driver: kvm/kvm2
  • Docker version 18.04.0-ce, build 3d479c0

I’m on Ubuntu 16.04 and installed kubectl and minikube via Ubuntu’s snap and I get the same errors:

$ minikube start --vm-driver="kvm"
There is a newer version of minikube available (v0.23.0).  Download it here:
https://github.com/kubernetes/minikube/releases/tag/v0.23.0
To disable this notification, add WantUpdateNotification: False to the json config file at /home/anticom/snap/minikube/4/.minikube/config
(you may have to create the file config.json in this folder if you have no previous configuration)
Starting local Kubernetes cluster...
E1115 02:25:58.211464    9757 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E1115 02:25:58.222801    9757 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E1115 02:25:58.232688    9757 start.go:83] Error starting host: Error creating new host: dial tcp: missing address. Retrying.
E1115 02:25:58.232710    9757 start.go:89] Error starting host:  Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address
Error creating new host: dial tcp: missing address