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

Minikube waits indefinitely for vfkit on MacOS 15.2 #20104

Closed
cloudowski opened this issue Dec 15, 2024 · 2 comments
Closed

Minikube waits indefinitely for vfkit on MacOS 15.2 #20104

cloudowski opened this issue Dec 15, 2024 · 2 comments
Labels
co/vfkit VFkit related issues triage/needs-information Indicates an issue needs more information in order to work on it.

Comments

@cloudowski
Copy link

cloudowski commented Dec 15, 2024

What Happened?

After upgrade to MacOS 15.2 vfkit driver seems to stopped working. When I start a minikube instance it waits for the vm to start - there's no error, just an attempt to connect to the vm.

I have the latest vfkit version (0.6.0) and before the upgrade to 15.2 everything worked fine.

Attach the log file

I1215 11:43:19.741674 3182 main.go:141] libmachine: Attempt 1
I1215 11:43:19.741711 3182 main.go:141] libmachine: Searching for 22:68:2d:34:5e:b8 in /var/db/dhcpd_leases ...
I1215 11:43:19.742224 3182 main.go:141] libmachine: Found 41 entries in /var/db/dhcpd_leases!
I1215 11:43:19.742263 3182 main.go:141] libmachine: dhcp entry: {Name:minikube IPAddress:192.168.94.42 HWAddress:22:68:2d:34:5e:b8 ID:1,22:68:2d:34:5e:b8 Lease:0x675ec0d7}
I1215 11:43:19.742282 3182 main.go:141] libmachine: Found match: 22:68:2d:34:5e:b8
I1215 11:43:19.742310 3182 main.go:141] libmachine: IP: 192.168.94.42
I1215 11:43:19.742325 3182 main.go:141] libmachine: Waiting for VM to start (ssh -p 22 docker@192.168.94.42)...

Operating System

macOS (Default)

Driver

vfkit

@afbjorklund
Copy link
Collaborator

afbjorklund commented Dec 15, 2024

You might want to file an issue with https://github.com/crc-org/vfkit, if it is always reproducible on macOS 15.2

There is no specific debug flag for the driver, but the output and the command should be available in the log?

The --gui flag could be useful for troubleshooting.

But it is not yet exposed in the driver config / flags.

@afbjorklund afbjorklund added co/vfkit VFkit related issues triage/needs-information Indicates an issue needs more information in order to work on it. labels Dec 15, 2024
@cloudowski
Copy link
Author

Fixed, it was a problem with network access. After the upgrade to 15.2 the network access rules have changed (?) and everything launched from iTerm (i.e. minikube) was denied network access.
After allowing it from Security & Privacy settings everything started to work again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
co/vfkit VFkit related issues triage/needs-information Indicates an issue needs more information in order to work on it.
Projects
None yet
Development

No branches or pull requests

2 participants