You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Sometimes NFS isn't feasible nor needed (for example cloud providers).
SyncedFolders always tries to set it up if host and remote machine support it.
However, port forwarding is usually not supported, so the provisioning will fail.
There are workarounds but can we have something proper like provider_capability implemented for NFS so providers can set whether nfs can be used with them?
In some cloud providers NFS is not supported nor needed and all syncing is done through Rsync.
However, the current Vagrant SyncedFolders implementation will try to set up NFS and while the local and remote system may be capable of it, the ports will not be forwarded correctly for it to work, so the provisioning will fail.
This can be worked around by setting an override entirely:
We would really like this, but this issue has been open for almost a year with no one working on it, Leaving it open is unfortunately making our issue count look higher than it is. I’m going to close this and if someone wants to work on it I’d still be open to a PR!
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.
ghost
locked and limited conversation to collaborators
Mar 30, 2020
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
TL;DR:
SyncedFolders
always tries to set it up if host and remote machine support it.provider_capability
implemented for NFS so providers can set whether nfs can be used with them?In some cloud providers NFS is not supported nor needed and all syncing is done through Rsync.
However, the current Vagrant SyncedFolders implementation will try to set up NFS and while the local and remote system may be capable of it, the ports will not be forwarded correctly for it to work, so the provisioning will fail.
This can be worked around by setting an override entirely:
, or setting the folder type explicitly:
However, those are workarounds and need to be specifically set up, which makes people run into issues, for example (there are many more):
P.S. This idea was also proposed by @legal90 earlier in #4011
The text was updated successfully, but these errors were encountered: