minikube: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: Could not find an IP address for

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

Please provide the following details:

Environment:

Minikube version (use minikube version): v0.24.1

  • OS (e.g. from /etc/os-release): Darwin Kernel Version 16.6.0
  • VM Driver (e.g. cat ~/.minikube/machines/minikube/config.json | grep DriverName): kyperkit
  • ISO version (e.g. cat ~/.minikube/machines/minikube/config.json | grep -i ISO or minikube ssh cat /etc/VERSION): minikube-v0.23.6.iso
  • Install tools: curl
  • Others: The above can be generated in one go with the following commands (can be copied and pasted directly into your terminal):
minikube version
echo "";
echo "OS:";
cat /etc/os-release
echo "";
echo "VM driver": 
grep DriverName ~/.minikube/machines/minikube/config.json
echo "";
echo "ISO version";
grep -i ISO ~/.minikube/machines/minikube/config.json

What happened: Received the following error when starting minikube: E0115 11:20:51.968242 82457 start.go:156] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4

What you expected to happen: Should expect minikube to start

How to reproduce it (as minimally and precisely as possible): #: minikube start --vm-driver=hyperkit

Output of minikube logs (if applicable): minikube start --vm-driver=hyperkit -v 10 Aliases: Aliases: map[string]string{} Override: map[string]interface {}{“v”:“10”} PFlags: map[string]viper.FlagValue{“kvm-network”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c34a0)}, “extra-config”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3e00)}, “container-runtime”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3b80)}, “disable-driver-mounts”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2b40)}, “docker-opt”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c37c0)}, “mount-string”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2aa0)}, “registry-mirror”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3a40)}, “vm-driver”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2dc0)}, “cpus”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3180)}, “disk-size”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c32c0)}, “memory”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2f00)}, “cache-images”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3d60)}, “feature-gates”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3cc0)}, “kubernetes-version”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3ae0)}, “dns-domain”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3900)}, “host-only-cidr”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3360)}, “insecure-registry”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c39a0)}, “network-plugin”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3c20)}, “bootstrapper”:viper.pflagValue{flag:(*pflag.Flag)(0xc4200b34a0)}, “profile”:viper.pflagValue{flag:(*pflag.Flag)(0xc4200b30e0)}, “iso-url”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2c80)}, “keep-context”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2820)}, “docker-env”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3680)}, “apiserver-name”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3860)}, “hyperv-virtual-switch”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3400)}, “mount”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c2960)}, “xhyve-disk-driver”:viper.pflagValue{flag:(*pflag.Flag)(0xc4201c3540)}} Env: map[string]string{} Key/Value Store: map[string]interface {}{} Config: map[string]interface {}{“wantreporterror”:true} Defaults: map[string]interface {}{“reminderwaitperiodinhours”:24, “wantreporterror”:false, “wantreporterrorprompt”:true, “wantupdatenotification”:true, “showdriverdeprecationnotification”:true, “v”:“0”, “alsologtostderr”:“false”, “log_dir”:“”, “wantkubectldownloadmsg”:true} Starting local Kubernetes v1.8.0 cluster… Starting VM… Found binary path at /usr/local/bin/docker-machine-driver-hyperkit Launching plugin server for driver hyperkit Plugin server listening at address 127.0.0.1:60459 () Calling .GetVersion Using API Version 1 () Calling .SetConfigRaw () Calling .GetMachineName (minikube) Calling .GetMachineName (minikube) Calling .DriverName (minikube) Calling .DriverName Running pre-create checks… (minikube) Calling .PreCreateCheck (minikube) Calling .GetConfigRaw Creating machine… (minikube) Calling .Create (minikube) Downloading /Users/jicowan/.minikube/cache/boot2docker.iso from file:///Users/jicowan/.minikube/cache/iso/minikube-v0.23.6.iso… (minikube) DBG | 2018/01/15 11:19:49 [INFO] Creating ssh key… (minikube) DBG | 2018/01/15 11:19:49 [INFO] Creating raw disk image… (minikube) DBG | Writing magic tar header (minikube) DBG | Writing SSH key tar header (minikube) Generated UUID 4ac06202-fa18-11e7-812d-c4b301c6a74b (minikube) Generated MAC da:d7:e9:90:e3:a4 (minikube) Starting with cmdline: loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes base host=minikube

E0115 11:20:51.968242 82457 start.go:156] Error starting host: Error creating host: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4 Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4 Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4 Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4 Temporary Error: Could not find an IP address for da:d7:e9:90:e3:a4

Anything else do we need to know: I have a dhcpd_leases file, but it is not updating.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Reactions: 1
  • Comments: 16 (6 by maintainers)

Most upvoted comments

This issue appears to be a dupe of #1926

It’s worth noting that this seems to be a fairly widespread issue for HyperKit users, and one we plan to prioritize the resolution of. My apologies for the inconvenience.