-
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
VM eth0 fails unpredictably #1710
Comments
What driver are you using for minikube to provision the VM? |
Oops, missed that in the report. It's virtualbox. |
@drigz Are you by any chance using this https://stevesloka.com/2017/05/19/access-minikube-services-from-host/ or something similar? I'm having an issue where I can add the route back afterwards, and get no issues until I pull docker images again. |
@Multiply, yes, I am adding a route to reach the containers running in minikube. However, I don't think I'm seeing the issue as reproducibly as you. When you say "pull docker images", do you mean starting a container for which the image has not yet been downloaded? That's normally no problem for me. |
@drigz I have a As long as I have a route Edit: As I wrote before, if I remove the route from my Mac, it starts working after a few seconds, and I can easily add the route back afterwards, so there's something odd going on here. |
Ok, so I had this issue as well. After some digging, I could see lines like this in the output of the
and
I've found a similar issue here where, from what I understood there was an issue with the VirtualBox Intel adapter. A solution that seems to work ( at least until now ) was to do a:
|
I have the same Issue on Windows 10. My quick fix was to disable Network Card 1. The problem was not only during downloading of docker images. It would happen when it had been running for some time. Only thing I had been able to find so far was: Which was gave me the idea to simply disable and enable the network card. I am currently running about 20 micro services on my local machine. Hope this help's someone else out there. |
I am having similar issue with debian 9 as guest machine. as long as I added a static route point to somewhere with nexthop to debian eth1 on host machine. I have tried many ways . but none of work.
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
I'm still excerpering this issue running on Windows 10, using VirtualBox as vm-driver. |
I have the same problem using virtualbox 6.1.14. Problem is e1000 driver. Any ideas how to fix it ? |
minikube version: v0.20.0
Environment:
What happened:
The VM can't contact the internet (or other local networks, eg 10.0.2.0/24). I notice this because pods crash due to loss of internet access.
minikube stop
thenminikube start
resolves the issue.How to reproduce it:
I've seen this a couple of times after leaving minikube running for a few days, but don't know what causes it.
Let me know if there's more I can test to debug the problem if it occurs again, or something I should try to reproduce it.
More details:
Trying to use the dashboard gives the error:
Get https://10.0.0.1:443/api/v1/namespaces/default/pods: dial tcp 10.0.0.1:443: getsockopt: network is unreachable
minikube ssh
fails with:E0718 14:40:44.106142 24866 ssh.go:53] Error attempting to ssh/run-ssh-command: exit status 255
Most other
minikube
commands also fail because ssh doesn't work.ssh
docker@192.168.99.100
(password: tcuser) works. Running on the VM:The text was updated successfully, but these errors were encountered: