-
Notifications
You must be signed in to change notification settings - Fork 4.4k
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
NFS mount broken on osx #7443
Comments
Hi @ol0lll Thank you for opening an issue. The reason we moved the mount to a single command is that it's significantly faster. Is there an easy way to force the mount to fail so I can test the retry logic? |
Hi @sethvargo, thank you for your quick reply. I am not exactly sure why nfs is slow in my setup, for testing I think you could just leave the mount_options array empty, which causes the mount command to fail on the guest.
This raises the exception when commands run separately. |
Since vagrant version 1.8.3 mount_nfs on linux guests is not raising retryable exceptions when NFS Server is not ready, therefore nfs mount command is not retried.
Commit 837713c is joining commands which seems to break exception handling, I was able to mitigate this problem executing each command seperately:
https://gist.github.com/ol0lll/2822039f0492ee3ddddd45d3b9965ce7
in plugins/guests/linux/cap/mount_nfs.rb
The text was updated successfully, but these errors were encountered: