Skip to content
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

An unexpected error occurred while loading the Vagrant VMware provider #3299

Closed
ubermuda opened this issue Mar 24, 2014 · 9 comments
Closed

Comments

@ubermuda
Copy link

I just upgraded to Vagrant 1.5.1, and first command I run (vagrant destroy) gives me this:

An unexpected error occurred while loading the Vagrant VMware
provider. Please contact support with the following
error code: '7'.
Vagrant failed to initialize at a very early stage:

The plugins failed to load properly. The error message given is
shown below.

exit

Here's a gist of the run with VAGRANT_LOG=debug: https://gist.github.com/ubermuda/d0e8944390614d212ed4

@bartmcleod
Copy link

Same problem here. I thought it was caused by migrating my MacBook. Any invocation of the vagrant command yields this error. Also vagrant 1.5.1

@mitchellh
Copy link
Contributor

I'm unsure what is causing this, but I've heard that nuking the home directory ~/.vagrant.d fixes things. You can save your boxes by preserving ~/.vagrant.d/boxes

@ubermuda
Copy link
Author

ubermuda commented Apr 2, 2014

Actually I reverted to vagrant 1.4.3, upgraded my plugins and re-upgraded to 1.5.1, and it worked.

@jeffbrabant
Copy link

I upgraded to 1.5.3 on windows and I had this problem. I previously had the workstation plugin installed, but rerunning that command solved the issue.

vagrant plugin install vagrant-vmware-workstation

@bartmcleod
Copy link

This worked for me too initiale, but with version 1.5.3 vagrant up with the vmware box gives me ruby errors complaining about the version. I also upgraded the plugin, uninstalled and re-installed it. Doesn't help. As far as I'm concerned 1.5.3. with the VMware provider is broken.

@jweir
Copy link

jweir commented May 6, 2014

Just got this error when upgrading from 1.5 to 1.6

rm -rf ~/.vagrant.d/plugins.json

And I was able to move on. Then Vagrant ran an upgrade script.

FYI the only plugin I have installed is the vmware_fusion provider

@rwellens
Copy link

rwellens commented May 7, 2014

I have just re-install my vmware Provider

vagrant plugin install vagrant-vmware-fusion

@AlexSatrapa
Copy link

I had this error when upgrading from Vagrant 1.5 to 1.6.5 as well.

I removed the ~/.vagrant.d/plugins.json file and ran vagrant plugin install vagrant-vmware-fusion and everything is back to normal.

@PortNumber53
Copy link

rm ~/.vagrant.d/plugins.json worked for me too, didn't have to do any plugin install

@ghost ghost locked and limited conversation to collaborators Apr 5, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants