-
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
Minikube VM cannot access anymore to host loopback interface through NAT with VirtualBox 7.x #15566
Comments
Thanks for the information! Since upstream libmachine is no longer being developed, we will need to patch it (virtualbox) here: https://github.com/machine-drivers/machine/issues It should be possible to check |
I tried this but I don't have any environment to build minikube : machine-drivers/machine#39 |
Fixing it for
--virtualbox-boot2docker-url https://github.com/afbjorklund/boot2docker/releases/download/be5929d/boot2docker.iso The "virtualbox" driver is compiled-in (not external), so the place to change would be go.mod
|
Hello, I was able to build the docker-machine with the PR and tested it successfully with VB7
|
Hello, I was able to finally build minikube (in minikube) with the PR and tested it successfully with VB7 I used the following go.mod to build minikube
In minikube logs (lastStart.txt), I can see the same I saw with docker-machine
Do you need something else from me ? |
Sounds great, thanks for the contribution and sorry for the long wait. Merged now. |
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 |
/remove-lifecycle stale as the PR on machine is already merged, and remaining activity (if not already done) is to refer to this latest version in 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 |
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. |
What Happened?
By default, VirtualBox 7.x will now prevent newly created VM to access host loopback interface through NAT (with default IP 10.0.2.2).
To overcome this, we need to pass a new parameter --nat-localhostreachable1 at VM creation time (with modifyvm command). Careful as passing this parameter with previous VB versions will fail :-(
Attach the log file
--- No log file as minikube commands are working, only VM configuration needs to be changed ---
Operating System
Windows
Driver
VirtualBox
The text was updated successfully, but these errors were encountered: