minikube: virtualbox: unable to start minikube on macOS Ventura
What Happened?
After upgrading macOS to Ventura from Monterey the minikube start started to fail with the response:
😄 minikube v1.27.1 on Darwin 13.0
✨ Using the virtualbox driver based on user configuration
👍 Starting control plane node minikube in cluster minikube
🔥 Creating virtualbox VM (CPUs=2, Memory=8192MB, Disk=20000MB) ...
🔥 Deleting "minikube" in virtualbox ...
🤦 StartHost failed, but will try again: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
🔥 Creating virtualbox VM (CPUs=2, Memory=8192MB, Disk=20000MB) ...
😿 Failed to start virtualbox VM. Running "minikube delete" may fix it: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
❌ Exiting due to IF_VBOX_NOT_VISIBLE: Failed to start host: creating host: create: creating: Error setting up host only network on machine start: The host-only adapter we just created is not visible. This is a well known VirtualBox bug. You might want to uninstall it and reinstall at least version 5.0.12 that is is supposed to fix this issue
💡 Suggestion: Reboot to complete VirtualBox installation, verify that VirtualBox is not blocked by your system, and/or use another hypervisor
📘 Documentation: https://stackoverflow.com/questions/52277019/how-to-fix-vm-issue-with-minikube-start
🍿 Related issues:
▪ https://github.com/kubernetes/minikube/issues/3614
▪ https://github.com/kubernetes/minikube/issues/4222
▪ https://github.com/kubernetes/minikube/issues/5817
Attach the log file
Operating System
macOS (Default)
Driver
VirtualBox
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 16
- Comments: 34 (4 by maintainers)
Same. Host only adapters are no longer supported on mac. I’m running podman until we get a VB driver update.
brew install podmanpodman machine init --cpus 2 --memory 2048 --rootfulpodman machine startminikube config set driver podmanminikube startminikube statusThis is how I start my minikube,
brew install podmanpodman machine init --cpus 2 --memory 2048 --rootfulpodman machine startminikube start --kubernetes-version=1.24.8 --driver=podman --container-runtime=cri-ominikube statusdidn’t helped. Still facing same problem as described in the OP
No worries @afbjorklund - any ETA on a fix for the Host-only Adapter issue?
hmm, tried to reinstall latest virtual box (7.0.2 r154219). Issue remains for me
ugh I’ve tried everything -still an issue
Doh! That fix was for a totally different issue.
The network change is still left to do, sorry about the noise.
Thanks, @afbjorklund - I’m not sure where this is configured, however looking at the config.json file on the minikube machine it appears to already have that value set…
Encountered similar issue, and i downgrade virtualbox to older version 6.1 @ https://www.virtualbox.org/wiki/Download_Old_Builds_6_1 I’m able to launch minikube using command : minikube start --driver=virtualbox
I tried the downgrade to Virtualbox 6.1 and the issue still persists when starting minikube.