-
Notifications
You must be signed in to change notification settings - Fork 104
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
Script fails after virtual machine is restarted #27
Comments
Can you try to restart it again? And print the logs /var/log/bootlocal.log and /var/log/boot2docker.log. If you can't re-access the virtual machine (hopefully not an important one), can you try again with another machine? Also are you using last versions of everything? |
The status of the machine is "running". SSH does not work. It was not an important machine... I recreated the machine and re-ran everything. But it fails at nfs verification. Checked that the host nfs server is running. The following is on the bootlocal.log: I am running the docker-toolbox 1.9.0d. Boot2Docker version 1.9.0, build master : 16e4a2a - Tue Nov 3 19:49:22 UTC 2015. Docker version 1.9.0, build 76d6bc9 |
Updated to docker-toolbox 1.9.1b. Boot2Docker version 1.9.1, build master : cef800b - Fri Nov 20 19:33:59 UTC 2015. Docker version 1.9.1, build a34a1d5.
|
@nithin-bose Can you reboot your mac? Seems related to: #22 (comment) |
restarted.... but same as above |
Further on this, I am able to ping 192.168.99.1 (host) from 192.168.99.100 (vm) immediately after creating woth docker-machine. However after running docker-machine-nfs, ping from the host fails. However, pinging something outside, like ggogle.com works.... could it be that the network settings are affected somehow?? |
Certain that no firewall is blocking this? Cause another user had that case too. |
No firewalls, unless boot2docker or virtual box has one. Mac firewall is off. I have no idea why ping should fail after the script is run. |
@brandontamm I will try this out and let you know |
Tried this.... same issue... after running docker-machine-nfs, even though I can docker ssh into the machine, ping from boot2docker to host machine fails.
I am not sure what is causing the issue. I really want this to work. Or at least something that passes fs events to the docker machine. :( |
Hey @nithin-bose , When you ssh in your machine, can you ping your host ? (Not the 192.168.99.1) |
Did not get you. 192.168.99.1 is my host and 192.168.99.100 is my boot2docker vbox guest machine. The same is used for nfs as well. The commands above are from the boot2docker guest. Ping works fine if I docker-machine ssh and do it before running docker-machine-nfs. |
On my machine I also have the 192.168.99.1 which is an ip from virtualbox (vboxnet4), but my actual ip from my host (mac os) is 10.0.0.X ... the ip received from my router. Can you ping that one from your guest? Not sure this test is worth anything. I'm no expert in all underlying network stuff. Just trying to figure out why your nfs is not connecting between host<->guest. Cheers T |
I dont see any 10.* ip in my ifconfig. I only have a vboxnet0 adapter which shows the ip to be 192.168.99.100 :( event i dont understand why its not working.... your script is simple enough.... nfs-client seems to hang.... the same is the case with my friend too.... which versions are you on? |
Hey @nithin-bose , My ip is 10.* because my router is in that range. But it could be very well another ip. Most routers give an ip in a range of 192.168.0.X . Anyway not sure this will tell anything. For all the things a I use, all are at latest version. |
Oh sorry.... vbox used to give ip in the 10.* range so i thought you were refering to that. I will check this out and let you know. Thank you for your patience 👍 |
Same here, with a fresh installation starting from the last docker toolbox, the nfs share doesn't work.
|
Problem fixed, it was missing the |
@paolomainardi which hosts file was missing this entry the host or guest? |
@nithin-bose It should be on the host. Guest doesn't have to be touched on that level. |
Script fails with the following error:
Restart Docker Machine ... Too many retries waiting for SSH to be available. Last error: Maximum number of retries (60) exceeded
I am not able to connect to the machine even with
docker-machine ssh
The text was updated successfully, but these errors were encountered: