-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
qemu with socket_vmnet not working on macos m1 #15300
Comments
@csantanapr Thanks for opening the issue. I've been using Minikube 1.28.0 today on my Mac Studio (M1 Ultra) with the I am curious as to your local network configuration in that the logs appear to indicate there are no more DHCP leases available. Would you mind reviewing this section and let me know if this helps? Would you mind posting the output of |
@medyagh had this issue, after he uninstalled, rebooted, and reinstalled it worked for him so that's where the documented workaround came from. If we discover another workaround we should document it as well. |
I tried all workarounds, including all the ones mentioned in the doc like uninstalling and rebooting still doesn't work for me 😢 |
@csantanapr Well, that's certainly less than ideal 😞 Would you mind posting the output of git clone https://github.com/lima-vm/socket_vmnet.git && cd socket_vmnet
sudo make PREFIX=/opt/socket_vmnet uninstall
sudo make PREFIX=/opt/socket_vmnet install BRIDGED=en0 I'm curious if bridged mode changes anything. Note, you might need to change the value |
Hi @mprimeaux I'm using both wifi and ethernet, your saying to configure it with ethernet interface? |
Tried again uninstall and install with BRIDGED=en0
The |
Hi @csantanapr. Thanks for trying that option. I suspected you'd end up with the same failure. I'll debug a bit on my end. |
Hello, I see this too on OSX Ventura. I watched the leases file while starting minikube and the MAC address it wants only shows up after minikube gives up on polling the leases file. I suspect something is keeping the file locked and preventing the DHCP daemon from writing the assignment?
|
Forgot to link it, but I opened an issue in socket_vmnet |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
Just raising here, but could it be that the issue is with |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs. This bot triages issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /close not-planned |
@k8s-triage-robot: Closing this issue, marking it as "Not Planned". In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It still does not work for me also, is there any update? |
Please try the following: sudo /usr/libexec/ApplicationFirewall/socketfilterfw --add /usr/libexec/bootpd
sudo /usr/libexec/ApplicationFirewall/socketfilterfw --unblock /usr/libexec/bootpd This has worked consistently for me and others. I'll update this comment with the related issue where this was identified. I believe @spowelljr may find it faster. UPDATE: Here is the related issue in |
@mprimeaux sorry to bring up an old issue: are these 2 commands the same as adding |
@iwinux I believe this is the case as I do see bootp in the list of firewall entries configured to "Allow incoming connections". |
What Happened?
Trying the new feature to avoid having
minikube tunnel
Using macbook m1
Followed the instructions https://minikube.sigs.k8s.io/docs/drivers/qemu/
Install vmnet
Had problems dhcp_leases file not found then try workaround
reboot
Then try again
Made sure no weird DNS in host
/etc/resolv.conf
Attach the log file
Error
log.txt
Operating System
macOS (Default)
Driver
QEMU
The text was updated successfully, but these errors were encountered: