Open nikita-fuchs opened 1 month ago
I ran minikube delete --all
one more time, and minikube start --driver qemu --network socket_vmnet --alsologtostderr
again, and now it works. It might have been a firewall issue but I am not sure. This time I was asked something new and permitted ALL connections, whereas before I permitted just the one which was requested. Could somebody shine some light on this? Is this really just a firewall issue or would that be too easy?
It could very possibly be a firewall issue, we have logic that tries to detect if the firewall is blocking it, seems like it didn't pick it up on your machine though.
if firewall.IsBootpdBlocked(cc) {
if err := firewall.UnblockBootpd(); err != nil {
klog.Warningf("failed unblocking bootpd from firewall: %v", err)
}
}
I am running the widely used LittleSnitch Firewall, maybe you can try to reproduce and handle that case? Feel free to close though.
@nikita-fuchs I got the same error message as you running minikube start --driver qemu --network socket_vmnet
on my M4 MacBook running macOS 15.1.1. I used Homebrew to install and run socket_vmnet
.
What fixed it for me was to start the service with sudo
:
$ brew tap homebrew/services
$ brew install socket_vmnet
$ sudo brew services start socket_vmnet
Warning: Taking root:admin ownership of some socket_vmnet paths:
/opt/homebrew/Cellar/socket_vmnet/1.1.7/bin
/opt/homebrew/Cellar/socket_vmnet/1.1.7/bin/socket_vmnet
/opt/homebrew/opt/socket_vmnet
/opt/homebrew/opt/socket_vmnet/bin
I'm not sure if this is the right fix, but it resolved the error I was seeing. This could be related to https://github.com/Homebrew/homebrew-core/issues/125702.
What Happened?
First of all, sorry for the german in the logs, the application does this automatically?
I tried running Minikube a second time after I somehow managed to fix this issue once already, I do not remember though how I did it:
After restarting the socket_vmnet service and running
delete --all
, it was stuck starting forever:and after mercy-killing it and trying again, it is stuck in this state ('Aktualisiere' means something like "Refreshing/Updating" in german):
Attach the log file
First comes the log.txt, next comes running the last command from above with --alsologtostderr
Operating System
macOS (Default)
Driver
QEMU