-
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
Failure to mount HGFS - VMware/vagrant-vmware-fusion #9004
Comments
@bryanhuntesl Would you please try this with a bento centos box and see if you still experience the same failure. Thanks! |
Thanks @chrisroberts - works perfectly on the first run with the following using VMware Fusion:
However, on 'vagrant reload' it loses it's grasp, and produces the following error message:
The VM is started regardless. |
New (Centos) Vagrantfile is:
|
It's not that huge a deal, I mostly need the shared folder on the first run, I'm getting stuff configured this time, and most I can get done before restarting the VM - rebuilding is a bit costly (bandwidth/time) though - so anything I can do not to have to rebuild the VM is a plus. |
Same thing again, started from scratch, it fails any time I restart an instance with
|
I wonder if the daemon is not getting started on the guest for some reason. I'll see if I can get a local repro. |
I'm also experiencing this. |
I have been able to reproduce this on occasion depending on the box in use. I have found the underlying cause seems to be VMware attempting to auto updated the vmware tools on the guest. Modifying the VMX settings to disable the automatic upgrade has seemed to resolve the issue. Can you try adding the following vmx config entry and see if it help: Vagrant.configure("2") do |config|
config.vm.provider "vmware_fusion" do |vmware|
vmware.vmx["tools.upgrade.policy"] = "manual"
end
end Cheers! |
I haven't used vagrant in ages, I'm seeing this message now :
That's unhelpful. My new Vagrantfile is :
|
@bryanhuntesl - Please upgrade your vmware plugin. It should resolve the license message you're seeing. Thanks! |
Hi @briancain - thanks for the tip. The license message was resolved, but for some reason (probably unrelated) my Vagrant installation has gone to hell. I'm on other stuff at the moment (just wanted to spin up a machine to test some Ansible pull requests) so I'm going to park this ticket for the time being. Thanks for looking into it. I'm going to close the ticket for now. I'll open a fresh ticket after a fresh install/configuration. |
@bryanhuntesl As in... "Vagrant has detected that the VMware plugin is not properly setup."? That's what I'm seeing after attempting to upgrade Vagrant and the Vagrant VMware plugin. For me, running |
Thanks for the tip @jeffparsons - unfortunately it's still got issues. I'm going to remove everything I can find and start from scratch.
|
I then installed the downloadable vagrant-vmware-utility
So the final exception after going through that process is :
|
Hmm. I just checked the Ruby version :
Will switch to system ruby and try again. |
@bryanhuntesl Updating to a recent Vagrant release will remove the undefined method warnings you are receiving. In the commands you show above, the initial Cheers! |
Hey there, I am going to close this due to lack of response. If this is still occurring, please open a new issue and follow the provided issue template that appears when you click the "New Issue" button. This will help us in getting a reproduction and fix. Thanks! 😄 |
Sorry for commenting on this closed issue but the fix that I had to do was: sudo chmod -R 777 /opt/vagrant-vmware-desktop Giving permission to it, will fix the problem |
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. |
Please note that the Vagrant issue tracker is reserved for bug reports and
enhancements. For general usage questions, please use the Vagrant mailing list:
https://groups.google.com/forum/#!forum/vagrant-up. Thank you!
Vagrant version
Vagrant 2.0.0
Vagrant Plugins
vagrant-share (1.1.9, system)
vagrant-vmware-fusion (4.0.24)
Host operating system
macOS 10.12.6 (16G29)
VMWare Fusion Pro
Professional Version 8.5.8 (5824040)
Guest operating system
centos/7
Vagrantfile
Debug output
https://gist.github.com/bryanhuntesl/37cee786bfb43de22389299a41d59f1a
Expected behaviour
Should have mounted the /tmp directory into the VM
Actual behaviour
Timeout during HGFS mounting
Steps to reproduce
References
Are there any other GitHub issues (open or closed) that should be linked here?
For example:
Question/Resolution
is this just a known issue with VMWare? If so I'm happy to just dump them and use VirtualBox (despite paying for license, and your plugin). I just don't want to waste time trying to get it to work if it never will.
The text was updated successfully, but these errors were encountered: