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

hyperkit: IP address never found in dhcp leases file Temporary Error: Could not find an IP address for <mac> #4206

Open
colangelo opened this issue May 4, 2019 · 65 comments
Labels
cause/vm-driver When a VM driver bug causes the failure (not nested) co/hyperkit Hyperkit related issues kind/support Categorizes issue or PR as a support question. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. long-term-support Long-term support issues that can't be fixed in code

Comments

@colangelo
Copy link

colangelo commented May 4, 2019

Hi,
minikube does not start on my mac, I tried multiple times to remove and reinstall Docker Desktop and docker-machine-driver-hyperkit without solving the problem.
It's not related to version 1.0.1, because the problem was present also with version 1.0.0 and maybe also with previous versions that I haven't tested.

When I lanch minikube the /usr/local/bin/docker-machine-driver-hyperkit process appears in the process list, does not use CPU, and it's still present for some time after the command exited.

Can you help me?

The exact command to reproduce the issue:

minikube stop; minikube delete ; rm -rf ~/.minikube
minikube config set vm-driver hyperkit
minikube start -v 10

The full output of the command that failed:

😄  minikube v1.0.1 on darwin (amd64)
💿  Downloading Minikube ISO ...
 142.88 MB / 142.88 MB [============================================] 100.00% 0s
🤹  Downloading Kubernetes v1.14.1 images in the background ...
🔥  Creating hyperkit VM (CPUs=2, Memory=2048MB, Disk=20000MB) ...
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:54243
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Creating CA: /Users/user/.minikube/certs/ca.pem
Creating client certificate: /Users/user/.minikube/certs/cert.pem
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) Calling .GetConfigRaw
Creating machine...
(minikube) Calling .Create
(minikube) Downloading /Users/user/.minikube/cache/boot2docker.iso from file:///Users/user/.minikube/cache/iso/minikube-v1.0.1.iso...
(minikube) DBG | 2019/05/04 17:33:26 [INFO] Creating ssh key...
(minikube) DBG | 2019/05/04 17:33:26 [INFO] Creating raw disk image...
(minikube) DBG | Writing magic tar header
(minikube) DBG | Writing SSH key tar header
(minikube) DBG | Mounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/user/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/user/.minikube/machines/minikube/b2d-image] []  <nil> 0xc42000e018 0xc42000e02
0 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/user/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/user/.minikube/machines/minikube/b2d-image
(minikube) /dev/disk3                                           /Users/user/.minikube/machines/minikube/b2d-image
(minikube) DBG | Extracting Kernel Options...
(minikube) DBG | Extracted Options "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes base host=minikube"
(minikube) DBG | Extracting /Users/user/.minikube/machines/minikube/b2d-image/boot/bzImage into /Users/user/.minikube/machines/minikube/bzImage
(minikube) DBG | Extracting /Users/user/.minikube/machines/minikube/b2d-image/boot/initrd into /Users/user/.minikube/machines/minikube/initrd
(minikube) DBG | Unmounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/user/.minikube/machines/minikube/b2d-image] []  <nil> 0xc42000e018 0xc42000e020 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} de
tach /Users/user/.minikube/machines/minikube/b2d-image
(minikube) "disk3" ejected.
(minikube) Using UUID f59fbfd4-6e81-11e9-bb44-f01898eab608
(minikube) Generated MAC 4e:e8:f0:ac:b:3f
(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

💣  Unable to start VM: create: 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 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f
Temporary Error: Could not find an IP address for 4e:e8:f0:ac:b:3f

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new

The output of the minikube logs command:

💣  command runner: getting ssh client for bootstrapper: Error dialing tcp via ssh client: dial tcp :22: connect: connection refused

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new

The operating system version:

macOS Mojave 10.14.4 (18E226)
Darwin mac.local 18.5.0 Darwin Kernel Version 18.5.0: Mon Mar 11 20:40:32 PDT 2019; root:xnu-4903.251.3~3/RELEASE_X86_64 x86_

@tstromberg tstromberg changed the title minikube does not start on my mac hyperkit: IP address never found in dhcp leases file Temporary Error: Could not find an IP address for <mac> May 14, 2019
@tstromberg
Copy link
Contributor

This is a duplicate of #1926 - the solution is to upgrade your hyperkit driver:

curl -LO https://storage.googleapis.com/minikube/releases/latest/docker-machine-driver-hyperkit && sudo install -o root -g wheel -m 4755 docker-machine-driver-hyperkit /usr/local/bin/

Then run minikube delete && minikube start --vm-driver=hyperkit to recreate your VM.

If this is still broken, please re-open the bug, and include the output of:

ls -la $(which docker-machine-driver-hyperkit)

I will make sure we provide a more user friendly error message for this case. Thanks!

@tstromberg tstromberg added cause/vm-driver When a VM driver bug causes the failure (not nested) co/hyperkit Hyperkit related issues triage/duplicate Indicates an issue is a duplicate of other open issue. labels May 14, 2019
@colangelo
Copy link
Author

colangelo commented May 15, 2019

I've tried what you suggest many times, but I'm still having the exact same issue.

$ ls -la $(which docker-machine-driver-hyperkit)
-rwsr-xr-x 1 root wheel 27785684 May 15 19:17 /usr/local/bin/docker-machine-driver-hyperkit*

@tstromberg tstromberg reopened this May 15, 2019
@tstromberg
Copy link
Contributor

tstromberg commented May 15, 2019

Thanks for the update! Do you mind providing updated output for minikube start --alsologtostderr -v=8 as well as the contents of /var/db/dhcpd_leases?

The newer version of the hyperkit driver (which you appear to be on) should log a bit more information on what DHCP entries it finds in that file, which would be very useful here.

@tstromberg tstromberg added priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. triage/needs-information Indicates an issue needs more information in order to work on it. r/2019q2 Issue was last reviewed 2019q2 and removed triage/duplicate Indicates an issue is a duplicate of other open issue. labels May 23, 2019
@tstromberg
Copy link
Contributor

Regrettably, there isn't enough information in this issue to make it actionable, and a long enough duration has passed, so this issue is likely difficult to replicate. If you can provide any additional details, such as:

  • The exact command line used
  • The full output of the command
  • The full output of "minikube logs"

Please feel free to do so at any point. Thank you for sharing your experience!

@snoopdouglas
Copy link

snoopdouglas commented Jun 21, 2019

This might be a naive suggestion to the source of the problem here, but on my Mojave install there is no /var/db/dhcpd_leases. There is, however, /var/db/dhcpclient/leases.

@tstromberg
Copy link
Contributor

tstromberg commented Aug 8, 2019

If you are running into this, please share the output of:

docker-machine-driver-hyperkit version (it should say v1.3.0+)

and:

minikube start -v=7

Thanks!

@tstromberg tstromberg reopened this Aug 8, 2019
@amctavish
Copy link

amctavish commented Aug 8, 2019

Also experiancing this issue.

OS: macOS Mojave 10.14.6

hyperkit: v0.20190201-11-gc0dd46

docker-machine version 0.16.1, build cce350d7

> minikube start --vm-driver hyperkit -v=7
😄  minikube v1.3.0 on Darwin 10.14.6
🔥  Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
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:55516
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Reading certificate data from /Users/amctavish/.minikube/certs/ca.pem
Decoding PEM data...
Parsing certificate...
Reading certificate data from /Users/amctavish/.minikube/certs/cert.pem
Decoding PEM data...
Parsing certificate...
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) Calling .GetConfigRaw
Creating machine...
(minikube) Calling .Create
(minikube) Downloading /Users/amctavish/.minikube/cache/boot2docker.iso from file:///Users/amctavish/.minikube/cache/iso/minikube-v1.3.0.iso...
(minikube) DBG | 2019/08/09 08:58:10 [INFO] Creating ssh key...
(minikube) DBG | 2019/08/09 08:58:10 [INFO] Creating raw disk image...
(minikube) DBG | Writing magic tar header
(minikube) DBG | Writing SSH key tar header
(minikube) DBG | Mounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil attach /Users/amctavish/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/amctavish/.minikube/machines/minikube/b2d-image] []  <nil> 0xc4200b8008 0xc4200b8010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} attach /Users/amctavish/.minikube/machines/minikube/boot2docker.iso -mountpoint /Users/amctavish/.minikube/machines/minikube/b2d-image
(minikube) /dev/disk2                                           /Users/amctavish/.minikube/machines/minikube/b2d-image
(minikube) DBG | Extracting Kernel Options...
(minikube) DBG | Extracted Options "loglevel=3 user=docker console=ttyS0 console=tty0 noembed nomodeset norestore waitusb=10 systemd.legacy_systemd_cgroup_controller=yes base host=minikube"
(minikube) DBG | Extracting /Users/amctavish/.minikube/machines/minikube/b2d-image/boot/bzImage into /Users/amctavish/.minikube/machines/minikube/bzImage
(minikube) DBG | Extracting /Users/amctavish/.minikube/machines/minikube/b2d-image/boot/initrd into /Users/amctavish/.minikube/machines/minikube/initrd
(minikube) DBG | Unmounting boot2docker.iso
(minikube) DBG | executing: &{/usr/bin/hdiutil [hdiutil detach /Users/amctavish/.minikube/machines/minikube/b2d-image] []  <nil> 0xc4200b8008 0xc4200b8010 [] <nil> <nil> <nil> <nil> <nil> false [] [] [] [] <nil> <nil>} detach /Users/amctavish/.minikube/machines/minikube/b2d-image
(minikube) "disk2" ejected.
(minikube) Using UUID 6de66e08-ba7b-11e9-8239-3af9d3d5a8c5
(minikube) Generated MAC 8a:fc:f5:2a:c6:da
(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
E0809 08:59:14.679491   85696 start.go:723] StartHost: create: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory

💣  Unable to start VM: create: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new/choose
> docker-machine-driver-hyperkit version
This is a Docker Machine plugin binary.
Plugin binaries are not intended to be invoked directly.
Please use this plugin through the main 'docker-machine' binary.
(API version: 1)

(feel like I'm doing that wrong 😟 )

As @snoopdouglas mentioned using Mojave there is /var/db/dhcpclient/leases but no /var/db/dhcpd_leases

@rkrdo
Copy link

rkrdo commented Aug 8, 2019

I'm also having the same issue using Mojave,

The output of minikube start --vm-driver hyperkit -v=7 is:

😄  minikube v1.3.0 on Darwin 10.14.5
💿  Downloading VM boot image ...
    minikube-v1.3.0.iso.sha256: 65 B / 65 B [=====================] 100.00% 0s
    minikube-v1.3.0.iso: 131.07 MiB / 131.07 MiB [================] 100.00% 1s
🔥  Creating hyperkit VM (CPUs=2, Memory=2000MB, Disk=20000MB) ...
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:59942
() Calling .GetVersion
Using API Version  1
() Calling .SetConfigRaw
() Calling .GetMachineName
(minikube) Calling .GetMachineName
(minikube) Calling .DriverName
Creating CA: /Users/ricardo/.minikube/certs/ca.pem
Creating client certificate: /Users/ricardo/.minikube/certs/cert.pem
Running pre-create checks...
(minikube) Calling .PreCreateCheck
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) Calling .GetConfigRaw
Creating machine...
(minikube) Calling .Create
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | ERROR: logging before flag.Parse: I0808 18:31:48.583791    8388 drivers.go:96] Making disk image using store path: /Users/ricardo/.minikube
(minikube) Downloading /Users/ricardo/.minikube/cache/boot2docker.iso from file:///Users/ricardo/.minikube/cache/iso/minikube-v1.3.0.iso...
(minikube) DBG | ERROR: logging before flag.Parse: I0808 18:31:48.708304    8388 drivers.go:103] Creating ssh key: /Users/ricardo/.minikube/machines/minikube/id_rsa...
(minikube) DBG | ERROR: logging before flag.Parse: I0808 18:31:48.783841    8388 drivers.go:109] Creating raw disk image: /Users/ricardo/.minikube/machines/minikube/minikube.rawdisk...
(minikube) DBG | Writing magic tar header
(minikube) DBG | Writing SSH key tar header
(minikube) DBG | ERROR: logging before flag.Parse: I0808 18:31:48.784123    8388 drivers.go:123] Fixing permissions on /Users/ricardo/.minikube/machines/minikube ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | clean start, hyperkit pid file doesn't exist: /Users/ricardo/.minikube/machines/minikube/hyperkit.pid
(minikube) DBG | Using UUID b0df7f16-ba34-11e9-8891-8c85907a2ecb
(minikube) DBG | Generated MAC e:3a:ab:fb:c9:6b
(minikube) DBG | 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
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | 2019/08/08 18:31:49 fcntl(F_PUNCHHOLE) failed: host filesystem does not support sparse files: Operation not permitted
(minikube) DBG | 2019/08/08 18:31:49 rdmsr to register 0x140 on vcpu 0
(minikube) DBG | 2019/08/08 18:31:49 rdmsr to register 0x140 on vcpu 1
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | 2019/08/08 18:32:06 rdmsr to register 0x64e on vcpu 0
(minikube) DBG | 2019/08/08 18:32:06 rdmsr to register 0x34 on vcpu 0
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
(minikube) DBG | exe=/usr/local/bin/docker-machine-driver-hyperkit uid=0
(minikube) DBG | hyperkit pid from json: 8416
(minikube) DBG | Searching for e:3a:ab:fb:c9:6b in /var/db/dhcpd_leases ...
E0808 18:32:51.347041    8366 start.go:723] StartHost: create: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory

💣  Unable to start VM: create: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory
Temporary Error: open /var/db/dhcpd_leases: no such file or directory

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new/choose

And the output of docker-machine-driver-hyperkit version is:

version: v1.3.0
commit: 43969594266d77b555a207b0f3e9b3fa1dc92b1f

minikube logs returns:

💣  command runner: getting ssh client for bootstrapper: Error dialing tcp via ssh client: dial tcp :22: connect: connection refused

😿  Sorry that minikube crashed. If this was unexpected, we would love to hear from you:
👉  https://github.com/kubernetes/minikube/issues/new/choose

and like other folks in this thread, I don't have a /var/db/dhcp_leases file

@colangelo
Copy link
Author

@rkrdo Are you using a vpn at the same time, or have a vpn client installed?
In my case the problem is probably related to some weird interaction between minikube and vpn software.
But for me it's tricky to determine because it's inconsistent, or at least i didn't recognize a partern yet.

@tyagi
Copy link

tyagi commented Aug 9, 2019

Same with me too. Missing /var/db/dhcpd_leases file on my mac.

Details

  • OS: High Sierra [10.13.6]
  • Same Exception Trace
  • HyperKit - latest
➜  ~ hyperkit -v
hyperkit: v0.20190201-11-gc0dd46

Homepage: https://github.com/docker/hyperkit
License: BSD
  • Hyperkit driver - latest
➜  ~ docker-machine-driver-hyperkit version
version: v1.3.0
commit: 43969594266d77b555a207b0f3e9b3fa1dc92b1f
  • Minikube - latest
➜  ~ minikube version
minikube version: v1.3.0
commit: 43969594266d77b555a207b0f3e9b3fa1dc92b1f

Note:

  • I can start Minikube using Virtualbox.
  • I do have Cisco AnyConnect software installed for connecting to VPN but I am not using it when starting Minikube.
  • Laptop is company managed as in few policies are in place like Siri being unavailable.

Some digging I did (if it helps) -

  • Function GetIPAddressByMACAddress() tries to get a IP Address for the assigned MAC address by reading it from file. File's path is hardcoded in LeasesPath.
  • Creating a dummy touch /var/db/dhcpd_leases doesn't help either. New exception after adding a dummy file is Temporary Error: could not find an IP address for 32:99:f0:57:d3:7a
  • Not able to start a dhcp server on mac (using bootp) either [This is most probably my fault for not doing it right]

Please let me know if you need any other information to fix this issue, happy to help. I can also voluntary to fix this issue once we can identify the root cause.

@rkrdo
Copy link

rkrdo commented Aug 9, 2019

@rkrdo Are you using a vpn at the same time, or have a vpn client installed?
In my case the problem is probably related to some weird interaction between minikube and vpn software.
But for me it's tricky to determine because it's inconsistent, or at least i didn't recognize a partern yet.

@colangelo thank you for the suggestion! it turned out it to be Little Snitch that was causing preventing minikube-darwin-amd64 from creating/writing to /var/db/dhcpd_leases

@colangelo
Copy link
Author

colangelo commented Aug 11, 2019

Thanks @rkrdo, good to know!

I also have Little Snitch installed, and most of the times i have no issues, but sometimes especially a few months ago, if i'd recently connected or disconnetted from the vpn i was getting that error.

My opinion is that this issue is probably related to one ore more third party software that interact with the network stack, and interact badly with minikube's dhcp (or hyperkit's).

@tstromberg tstromberg removed the triage/needs-information Indicates an issue needs more information in order to work on it. label Aug 22, 2019
@tstromberg tstromberg added priority/important-longterm Important over the long term, but may not be staffed and/or may need multiple releases to complete. and removed priority/awaiting-more-evidence Lowest priority. Possibly useful, but not yet enough support to actually get it done. r/2019q2 Issue was last reviewed 2019q2 labels Sep 19, 2019
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Jan 19, 2021
@priyawadhwa priyawadhwa added lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. and removed lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. labels Feb 10, 2021
@hughpearse
Copy link

hughpearse commented May 8, 2021

I encountered this issue after upgrading from catalina to big sur. Tried a bunch of stuff and eventually got it working again. Not sure exactly what I did to fix it, but I can show everything:

foo@bar$ brew reinstall hyperkit
foo@bar$ brew link hyperkit
foo@bar$ sudo chown root:wheel /usr/local/Cellar/hyperkit/0.20200908/bin/hyperkit
foo@bar$ sudo chmod u+s /usr/local/Cellar/hyperkit/0.20200908/bin/hyperkit
foo@bar$ brew reinstall docker-machine-driver-hyperkit
foo@bar$ sudo chown root:wheel /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
foo@bar$ sudo chmod u+s /usr/local/opt/docker-machine-driver-hyperkit/bin/docker-machine-driver-hyperkit
foo@bar$ sudo rm /var/db/dhcpd_leases
foo@bar$ sudo touch /var/db/dhcpd_leases
foo@bar$ minishift stop
foo@bar$ minishift delete --force --clear-cache
foo@bar$ rm -rf ~/.minishift
foo@bar$ brew install --cask --force minishift

Go to System Preferences > Security & Privacy > Firewall > [Firewall Options] > [ ] Enable stealth mode

And disable stealth mode if enabled.

foo@bar$ minishift start --show-libmachine-logs -v5 --network-nameserver 8.8.8.8

I dont know for sure, but I suspect the fix was brew install --cask --force minishift

@javsalgar
Copy link

Same issue in Big Sur. I tried disconnecting from VPNs, tried the steps from @hughpearse but no luck

@Mars-2030
Copy link

I am still having teh same issue with BigSur .. it seems noting worked form me.. have any one fine a solution for that

@vdeolali
Copy link

vdeolali commented Oct 6, 2021

Same issue on Catalina. Have upgraded hyperkit, stopped vpn, touched /var/db/dhcpd_leases. But it works when I change the driver to docker

@gilbahat
Copy link

not working for me as well.
as multipass are considering switching to the qemu driver, maybe minikube can support it too?
canonical/multipass#2245

@sharifelgamal
Copy link
Collaborator

@gilbahat we are working on a qemu driver in the near future, specifically for arm64 support but just for more general support as well.

WRT to connectivity issues with hyperkit, it's something we're actively working on fixing in the short term: #3036

@amirsalaar
Copy link

amirsalaar commented Dec 16, 2021

for my case, I had my corporation antivirus running (particularly McAfee), which was blocking the creation of dhcpd_leases. After turning that off and shutting the firewall temporarily, it got fixed.

@edrandall
Copy link

edrandall commented Jan 10, 2022

Running MacOS Big Sur 11.6.2 in a corporate environment which has the pf firewall configured, have been experiencing this issue.

I created a new pf rules file /etc/pf.anchors/io.k8s.sigs.minikube and whittled it down to the following rule:

# log is optional and uses `pflog0` by default;  `man pflog` gives instructions to see the logged packets
pass log on bridge100 inet proto udp from any port bootpc to port bootps

Unsure whether the bridge100 device is hard-coded or might change in future, would like to keep the rule as specific as possible.

Reference the rules file in /etc/pf.conf:

anchor "minikube"
load anchor "minikube" from "/etc/pf.anchors/io.k8s.sigs.minikube"

To reload pf using the updated rules:

# pfctl -d
# pfctl -e -f /etc/pf.conf

Cleared everything down with minikube delete then restarted minikube start, the following appears in the pflog0 tcpdump:

 00:00:04.420007 rule 2.minikube.0/0(match): pass in on bridge100: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from ca:7e:32:41:3f:16, length 278

The minikube starts successfully.

@georhiireva
Copy link

georhiireva commented Jan 11, 2022

Hello, colleagues.
MacOs BigSur.
I had the same issue with minishift and used recommendations from this topic to fix. I tried all options and this works for me (just use minikube instead of minishift):

  1. minishift stop
  2. minishift delete --clear-cache
  3. rm -fr ~/.minishift
  4. brew reinstall hyperkit
  5. brew reinstall docker-machine-driver-hyperkit
  6. sudo chown root:wheel /usr/local/bin/docker-machine-driver-hyperkit &&
    sudo chmod u+s /usr/local/bin/docker-machine-driver-hyperkit
  7. sudo chown root:wheel /usr/local/bin/hyperkit &&
    sudo chmod u+s /usr/local/bin/hyperkit
  8. minishift config set vm-driver hyperkit (u'll have message: instance doesn't exist bla bla, will be set on next start - it's ok)
  9. minishift start
    Minishift start successfully.
    PS: Check the location of docker-machine-driver-hyperkit and hyperkit before points 6 and 7.
    I hope this will help somebody.

@cr-tech-repo
Copy link

cr-tech-repo commented Jan 17, 2022

@georhiireva - There is typo in your second command with the work minishift and cache

@georhiireva
Copy link

@georhiireva - There is typo in your second command with the work minishift and cache

@cr-tech-repo , thanks, fix it

@kanwarysingh
Copy link

kanwarysingh commented Jan 31, 2022

Running MacOS Big Sur 11.6.2 in a corporate environment which has the pf firewall configured, have been experiencing this issue.

I created a new pf rules file /etc/pf.anchors/io.k8s.sigs.minikube and whittled it down to the following rule:

# log is optional and uses `pflog0` by default;  `man pflog` gives instructions to see the logged packets
pass log on bridge100 inet proto udp from any port bootpc to port bootps

Unsure whether the bridge100 device is hard-coded or might change in future, would like to keep the rule as specific as possible.

Reference the rules file in /etc/pf.conf:

anchor "minikube"
load anchor "minikube" from "/etc/pf.anchors/io.k8s.sigs.minikube"

To reload pf using the updated rules:

# pfctl -d
# pfctl -e -f /etc/pf.conf

Cleared everything down with minikube delete then restarted minikube start, the following appears in the pflog0 tcpdump:

 00:00:04.420007 rule 2.minikube.0/0(match): pass in on bridge100: 0.0.0.0.68 > 255.255.255.255.67: BOOTP/DHCP, Request from ca:7e:32:41:3f:16, length 278

The minikube starts successfully.

@edrandall I get a syntax error while enabling the firewall. Any idea which part might be causing it?

/etc/pf.conf:36: syntax error
pfctl: Syntax error in config file: pf rules not loaded
pfctl: load anchors

/etc/pf.conf:

scrub-anchor "cisco.anyconnect.vpn"
scrub-anchor "com.apple/*"
nat-anchor "com.apple/*"
rdr-anchor "com.apple/*"
dummynet-anchor "com.apple/*"
anchor "cisco.anyconnect.vpn"
load anchor "cisco.anyconnect.vpn" from "/opt/cisco/anyconnect/ac_pf.conf"
anchor "com.apple/*"
load anchor "com.apple" from "/etc/pf.anchors/com.apple"
# com.crowdstrike anchor point
anchor "com.crowdstrike"
load anchor "com.crowdstrike" from "/etc/pf.anchors/com.crowdstrike"
anchor "minikube"
load anchor "minikube" from "/etc/pf.anchors/io.k8s.sigs.minikube"

/etc/pf.anchors/io.k8s.sigs.minikube:

# log is optional and uses `pflog0` by default;  `man pflog` gives instructions to see the logged packets
pass log on bridge100 inet proto udp from any port bootpc to port bootps

I am on MacOS Catalina 10.15.7.

@edrandall
Copy link

probably a mismatched quote somewhere, could be in pf.conf or any of your anchor files.

@jvinceller
Copy link

jvinceller commented Mar 3, 2022

I've tried all the solutions with a Mac M1 with Monterey and the x86 (Rosetta) execution mode and I couldn't get minishift or minikube working. It's always something at the network adapter. My Mac seems to have the leases at /var/db/dhcpclient/leases and not under /var/db/dhcp_leases anyway.

@julienbonastre
Copy link

Facing this issue too on BigSur Mac - tried all tricks about to no avail

@edrandall
Copy link

Try the following packet filter rules:

#
# Allows minikube to run using hyperkit
# /etc/pf.anchors/io.k8s.sigs.minikube - load by adding 2 lines to /etc/pf.conf:
# ---
# anchor "io.k8s.sigs.minikube"
# load anchor "io.k8s.sigs.minikube" from "/etc/pf.anchors/io.k8s.sigs.minikube"
# ---
# Restart: pfctl -d ; pfctl -e -f /etc/pf.conf
# To watch logged packets, add "log" directive to rule(s) and run:
# ifconfig pflog0 create
# tcpdump -n -e -ttt -i pflog0
#

# Allow hyperkit DHCP packet in
pass on bridge100 inet proto udp from any port bootpc to port bootps

# Allow hyperkit to pull images
pass inet proto udp from 192.168.0.0/16 to any port 53
pass inet proto tcp from 192.168.0.0/16 to any

@NaoyukiTai
Copy link

This is biting me as well. I followed up most of suggestions including the /etc/pf.anchors. I cannot turn off the firewall as my company Mac is under control of Falcon.

Mac is Intel, Monterey 12.4. As of 2022-07-18, as far as I can tell,
minikube - 1.26.0
hyperkit - 0.20200908
docker-machine-driver-hyperkit - 1.0.0

minikube_logs_1b004fc441daa6a7016058454b974cf8421ba12a_0.log

logs.txt

@maffydavison
Copy link

I'm on Mac Monterrey and saw the note about the dhcp_leases file not being there (true) but /var/db/dhcpclient containing IP information. I'm in a crunch to get through this K8s tutorial, so I thought I'd try something down and dirty and copy one of the files from the dhcpclient to /var/db/dhcpd_leases and see if that worked -- but it couldn't parse XML, so I'm stuck again. I'll clean up my hack and pull the logs - but the issue remains that there is no such file as dhcpd_leases

😿 Failed to start hyperkit VM. Running "minikube delete" may fix it: creating host: create: Error creating machine: Error in driver during machine creation: IP address never found in dhcp leases file Temporary error: unable to parse line: <?xml version="1.0" encoding="UTF-8"?
minikube_logs_d5f6b3eb7402185b5cbe7c8e6ab1ab332f57ca4f_0.log
logs.txt

@andriytk
Copy link

It fixed for me after I uninstalled Falcon Sensor. (macOS-2.6.1)

@caerulescens
Copy link

caerulescens commented Jan 29, 2024

I'm going to investigate starting hyperkit on a MacBook Pro with an Intel (x86) processor; I'll report what I find.

@caerulescens
Copy link

/assign

@caerulescens caerulescens removed their assignment May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cause/vm-driver When a VM driver bug causes the failure (not nested) co/hyperkit Hyperkit related issues kind/support Categorizes issue or PR as a support question. lifecycle/frozen Indicates that an issue or PR should not be auto-closed due to staleness. long-term-support Long-term support issues that can't be fixed in code
Projects
None yet
Development

No branches or pull requests