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

log.txt

Operating System

macOS (Default)

Driver

VirtualBox

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Reactions: 16
  • Comments: 34 (4 by maintainers)

Most upvoted comments

Same. Host only adapters are no longer supported on mac. I’m running podman until we get a VB driver update. brew install podman podman machine init --cpus 2 --memory 2048 --rootful podman machine start minikube config set driver podman minikube start minikube status

This is how I start my minikube,

brew install podman podman machine init --cpus 2 --memory 2048 --rootful podman machine start minikube start --kubernetes-version=1.24.8 --driver=podman --container-runtime=cri-o minikube status

Update 7.02 virtual box, solved the problem for me directly from virtual box site

didn’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?

Update 7.02 virtual box, solved the problem for me directly from virtual box site

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.

d.HostLoopbackReachable = true

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…

Screenshot 2023-01-30 at 19 53 34

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

down grade virtualbox to 6.* would be able to resolve this Host-ony Adapter deprecated issue.

I tried the downgrade to Virtualbox 6.1 and the issue still persists when starting minikube.