-
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
virtualbox: unable to start minikube on macOS Ventura #15274
Comments
same issue, i've tried minikube delete and start and update virtualbox and nothing... |
Same issue. I also tried minikube delete and start and updated VirtualBox version 7.0.2 |
i have exactly the same issue.. Has anyone found a solution to this problem? |
Update 7.02 virtual box, solved the problem for me directly from virtual box site |
@crengifo So it's working for you now on macOS Ventura with VirtualBox 7.02? |
hmm, tried to reinstall latest virtual box (7.0.2 r154219). Issue remains for me |
Yes, reinstalling obviously. |
didn't helped. Still facing same problem as described in the OP |
ugh I've tried everything -still an issue |
Same. Host only adapters are no longer supported on mac. I'm running podman until we get a VB driver update. |
@DmitriyStoyanov yep this is definitely the reason - as @W07FP4X said it's because Host-only adapters are no longer supported on Mac OS, we need to use a Host-only network instead. I've configured my virtual machine manually to use this network setup and can connect to Minikube on the running VM. The only problem is the Minikube start command still wants to create/see a host-only adapter so fails and it doesn't seem to be able to see the running VM. Unfortunately, I think we will need to look at running alternatives like Docker or Podman until a Virtualbox driver update for Minikube is released. |
Thanks for discovering the root cause of the issue, I believe the change will need to be in the upstream project https://github.com/machine-drivers/machine, but I could be wrong. |
Yes, this code needs to be updated to use the Host-only network instead of the adapter for the new macOS. https://github.com/machine-drivers/machine/blob/master/drivers/virtualbox/network.go Has someone raised this with the upstream project? |
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. |
Encountered similar issue, and i downgrade virtualbox to older version 6.1 @ https://www.virtualbox.org/wiki/Download_Old_Builds_6_1 |
Just one more macOS user having no success with minikube because of this problem. |
The upstream project (docker-machine) is dead, so the feature will have to be developed by minikube... It is possible to use the machine-driver organisation for hosting the patches, but it's not the upstream. https://github.com/docker/machine/tree/master/drivers/virtualbox For newer macOS, it needs to use Then the interface will be created by the OS, when the network is used. This also means that libmachine can't set the IP anymore, it will have to check which one it received. But the docs say only that it (Host-Only Adapter ) is deprecated, not that it is removed already ? |
This is the tracker issue that @spowelljr created: (github.com/docker/machine is archived and read-only) So far it (virtualbox2) only carries a small patch for FreeBSD, the rest of the driver is unmodified since v0.16.2 |
If you run Docker or Podman with Oracle VirtualBox instead of their "Desktop", you would have the same problem... You can try another hypervisor driver for Minikube, such as the QEMU driver. Or run minikube in Docker or Podman ? But the best would be to fix the machine driver. |
An upstream fix was merged (machine-drivers/machine#39), I created a PR to update the dependency (#15729). Once the binaries are built I'll link them for anyone experiencing the issue to confirm if it resolves the issue for them, thanks. |
If anyone could test these out and confirm whether it fixes the issue. Intel CPU: https://storage.googleapis.com/minikube-builds/15729/minikube-darwin-amd64 |
Hi @spowelljr - I've installed from the binary and still get the same error, only difference is I now get a warning at the top saying minikube doesn't support Virtualbox - am I doing something wrong? |
I think you need to set the It is initialized in the NewDriver, but minikube has its own implementation in the minikube driver "registry"...
EDIT: Hmm, minikube does call the virtualbox.NewDriver - so the defaults should be OK, only flags are missing |
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... |
This comment was marked as outdated.
This comment was marked as outdated.
Hmm, maybe it would read the defaults. The best would be to look in the log, and see how VBox was started ? There should be a |
Doh! That fix was for a totally different issue.
The network change is still left to do, sorry about the noise. |
No worries @afbjorklund - any ETA on a fix for the Host-only Adapter issue? |
same question, anyone helps? |
There is no ETA, I am not sure if anyone is working on the problem at the moment ? |
any idea when this will be resolved ? It was working last year and suddenly I can see few days back it stopped working .. is that problem started after Mac update ? |
This is how I start my minikube,
|
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 |
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 |
What Happened?
After upgrading macOS to Ventura from Monterey the minikube start started to fail with the response:
Attach the log file
log.txt
Operating System
macOS (Default)
Driver
VirtualBox
The text was updated successfully, but these errors were encountered: