-
Notifications
You must be signed in to change notification settings - Fork 102
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
"vagrant provision" fails with "host IP was given to the Vagrant core NFS helper" #94
Comments
TO/ @epall Hi Eric, Thanks for reporting this! TL;DR: This is a regression introduced by 621d954, can be worked around by using:
However, I cannot currently reproduce this using your Vagrantfile on the following environment, so can you at least give me a debug log I'm trying to reproduce on the following setup:
Everything's working as it should:
Are there any differences from this in your config? Since you did mention that the machine fails during provisioning, I presume you do have a provisioner specified. Can you share the provisioner config or at least the type? Thanks! Cheers, |
Hmm. Works fine for me on my work laptop, so I'll have to get back to you in a few days when I get some time to debug on my home laptop. I haven't configured any provisioner, but I'm expecting it to rsync I use gpg-agent as my SSH agent, and it's been acting up since I upgraded to Yosemite. Could that be connected to this issue? |
I'm not sure why this is happening on certain machines and not happening on others exactly, but I found the reason why this happens. This is a problem for all remote-instance based providers using this action: There was an upstream bug about it, where mitchell recommended to export those variables correctly: However, the problem is that even with variables exported, this will fail, since default firewall rules will not allow it. I can hack around and set each synced folder type to |
Ah, that makes sense. Would it be possible to actually support NFS shared folders by using a reverse SSH tunnel ( |
@epall But I'm open to suggestions. What do you think? Would there be any benefit in NFS support for your use-cases? |
Ough. I guess there's still the possibility of tunneling, but now you're talking about superuser access to screw around with network interfaces both locally and remotely. Seems brittle and error-prone, though maybe not that much worse than NFS in the first place. The rsync-powered synced folders is plenty for my immediate use-case, because I'm just using vagrant to test out a puppet config before pushing it to a production box. For other use cases, being able to edit files locally and run them remotely on a vagrant box in GCE (without a 20+-second |
@epall Ah, for syncing files remotely without provisioning, there are now |
oh, snap! That's fantastic. |
This has been temporarily reverted by #96 and |
Submitted a bug upstream, will see what vagrant folks reply. |
@epall This should be fixed, new release that uses built-in rsync is now available. |
I'm closing this issue since this looks resolved. |
Following the Quick Start in README.md using vagrant 1.7.4 on OS X 10.10.3, I'm hitting into a snag after my instance comes up during
vagrant up
:vagrant ssh
works fine to get into the box, but no provisioning occurs. If I runvagrant provision
explicitly, it errors out the same way:Full log:
Vagrantfile:
The text was updated successfully, but these errors were encountered: