Vagrant: Getting 'A valid license is required to run the Vagrant VMware' after a vagrant 1.7.2 fresh install

Created on 10 Mar 2015  ยท  14Comments  ยท  Source: hashicorp/vagrant

I installed vagrant 1.7.2 on osx yosemite and got this error when invoking vagrant up:

A valid license is required to run the Vagrant VMware

a vagrant plugin list shows the plugin "vagrant-vmware-workstation" as installed, which is strange since the only provider available is virtualbox.

After removing the plugin everything started working as expected

bug installer

Most helpful comment

@sethvargo FWIW this happened to me too, uninstalling did not fix the problem. However, after noticing and deleting ~/.vagrant.d, everything was okay.

All 14 comments

Hi @micheleorselli

That's strange - had you previously had Vagrant installed? Where did you download Vagrant from? Any additional information you can provide would certainly be helpful!

Hi @sethvargo, thank you for the response

  • I was upgrading vagrant from 1.6.3 to 1.7.2 both downloaded from vagrantup.com
  • The target machine is an osx yosemite though version 1.6.3 was installed before upgrading
  • vmware software (workstation, fusion) has never been present on the machine

Hope it can help, I can provide further details if needed

@micheleorselli that is really weird. I'm going to tag this as "installer", but I just tried both of those versions and cannot get the behavior to reproduce. Are you able to reproduce this @micheleorselli?

Well yes, really weird: I installed vagrant a lot of times on different machines, this is the first time I experience this problem.

I'll try to reproduce it and let you know, probably will be able to look at it in a couple of days

I was getting "No gems found matching "vagrant-vmware-fusion" "3.1.2" nil" after a box update so i ran "vagrant plugin install vagrant-vmware-fusion" which installed 3.2.6 and now on _vagrant up_ I'm receiving the same message.

@Funi1234 you're message is different. The Vagrant VMware Fusion provider is a paid provider that requires a license. You cannot use vmware_desktop boxes without a valid license. If you uninstall the vagrant-vmware-fusion plugin, you should be able to use Vagrant again.

@sethvargo Thanks you.

The box I'm using is "ubuntu/trusty64"

I'm still curious why, after doing a "vagrant box update", vagrant was looking for vagrant-vmware-fusion as a dependency when i tried to run vagrant up.

@Funi1234 I'm not sure, but that seems like a separate issue. Could you open a new issue with the exact steps you took to reproduce please? Thanks!

@sethvargo regarding the original issue I wasn't able to reproduce it anymore. Uninstalling and reinstalling vagrant now works as expected

Hi @micheleorselli

That's good to hear! I am going to close this issue for now as we do not have a way to reproduce this. We are going to work on a refactor of the installer shortly that will hopefully fix many of these strange edge cases. Thanks!

@sethvargo FWIW this happened to me too, uninstalling did not fix the problem. However, after noticing and deleting ~/.vagrant.d, everything was okay.

@sethvargo virtually the same thing here, after upgrading to 1.7.2 my vagrant lost it's vmware plugin license and started returning the same error. In my scenario there was a vmware machine in play, so I had re-add the license to get vagrant working again with them.

error "A valid license is required to run the Vagrant VMware
provider. Please visit http://www.vagrantup.com to purchase
a license. Once you purchase a license, you can install it
using vagrant plugin license."

when i install the vagrant i got above error

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.

Was this page helpful?
0 / 5 - 0 ratings