Skip to content

Instantly share code, notes, and snippets.

@vianaweb
Created March 14, 2013 19:44
Show Gist options
  • Save vianaweb/5164544 to your computer and use it in GitHub Desktop.
Save vianaweb/5164544 to your computer and use it in GitHub Desktop.
vagrant + vmware license :(
Work/vagrant-ubuntu » vagrant plugin license vagrant-vmware-fusion license.lic
Installing license for 'vagrant-vmware-fusion'...
The license for 'vagrant-vmware-fusion' was successfully installed!
Work/vagrant-ubuntu »
Work/vagrant-ubuntu »
Work/vagrant-ubuntu » vagrant up --provider=vmware_fusion
The Vagrant VMware Fusion provider requires a valid license
to run. The license provided is invalid. Please make sure you
downloaded the proper license. If you believe you're seeing
this message in error, please contact support.
Failed to load the "vagrant-vmware-fusion" plugin. View logs for more details.
The provider 'vmware_fusion' could not be found, but was requested to
back the machine 'default'. Please use a provider that exists.
@vianaweb
Copy link
Author

~ » VAGRANT_LOG=info vagrant up
INFO global: Vagrant version: 1.1.0
INFO manager: Registered plugin: box command
INFO manager: Registered plugin: destroy command
INFO manager: Registered plugin: halt command
INFO manager: Registered plugin: init command
INFO manager: Registered plugin: package command
INFO manager: Registered plugin: plugin command
INFO manager: Registered plugin: provision command
INFO manager: Registered plugin: reload command
INFO manager: Registered plugin: resume command
INFO manager: Registered plugin: ssh command
INFO manager: Registered plugin: ssh-config command
INFO manager: Registered plugin: status command
INFO manager: Registered plugin: suspend command
INFO manager: Registered plugin: up command
INFO manager: Registered plugin: ssh communiator
INFO manager: Registered plugin: Arch guest
INFO manager: Registered plugin: Debian guest
INFO manager: Registered plugin: Fedora guest
INFO manager: Registered plugin: FreeBSD guest
INFO manager: Registered plugin: Gentoo guest
INFO manager: Registered plugin: Linux guest.
INFO manager: Registered plugin: OpenBSD guest
INFO manager: Registered plugin: RedHat guest
INFO manager: Registered plugin: Solaris guest.
INFO manager: Registered plugin: SUSE guest
INFO manager: Registered plugin: Ubuntu guest
INFO manager: Registered plugin: Arch host
INFO manager: Registered plugin: BSD host
INFO manager: Registered plugin: Fedora host
INFO manager: Registered plugin: FreeBSD host
INFO manager: Registered plugin: Gentoo host
INFO manager: Registered plugin: Linux host
INFO manager: Registered plugin: OpenSUSE host
INFO manager: Registered plugin: Windows host
INFO manager: Registered plugin: kernel
INFO manager: Registered plugin: kernel
INFO manager: Registered plugin: VirtualBox provider
INFO manager: Registered plugin: chef
INFO manager: Registered plugin: puppet
INFO manager: Registered plugin: shell
INFO vagrant: vagrant invoked: ["up"]
INFO environment: Environment initialized (#Vagrant::Environment:0x0000010187cc40)
INFO environment: - cwd: /Users/vianaweb
INFO environment: Home path: /Users/vianaweb/.vagrant.d
WARN environment: No local data path is set. Local data cannot be stored.
INFO environment: Loading plugin from JSON: vagrant-vmware-fusion
The Vagrant VMware Fusion provider requires a valid license
to run. The license provided is invalid. Please make sure you
downloaded the proper license. If you believe you're seeing
this message in error, please contact support.
ERROR root: Failed to load plugin: vagrant-vmware-fusion
ERROR root: -- Error: #<SystemExit: exit>
ERROR root: -- Backtrace:
ERROR root: /Users/vianaweb/.vagrant.d/gems/gems/vagrant-vmware-fusion-0.3.8/lib/vagrant-vmware-fusion.rb:29:in exit' /Users/vianaweb/.vagrant.d/gems/gems/vagrant-vmware-fusion-0.3.8/lib/vagrant-vmware-fusion.rb:29:inhc_enc_load_error'
/Users/vianaweb/.vagrant.d/gems/gems/vagrant-vmware-fusion-0.3.8/lib/vagrant-vmware-fusion.rb:37:in load' /Users/vianaweb/.vagrant.d/gems/gems/vagrant-vmware-fusion-0.3.8/lib/vagrant-vmware-fusion.rb:37:in<top (required)>'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:60:in require' /Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:60:inrescue in require'
/Applications/Vagrant/embedded/lib/ruby/1.9.1/rubygems/custom_require.rb:35:in require' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant.rb:179:inrequire_plugin'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:654:in block in load_plugins' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:ineach'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:651:in load_plugins' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:128:ininitialize'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in new' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:53:in<top (required)>'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in load' /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in

'
INFO interface: error: Failed to load the "vagrant-vmware-fusion" plugin. View logs for more details.

Failed to load the "vagrant-vmware-fusion" plugin. View logs for more details.

INFO environment: Running hook: environment_load
INFO environment: Initializing config...
INFO loader: Set :default = "/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/config/default.rb"
INFO loader: Loading configuration in order: [:default, :home, :root]
INFO hosts: Host class: VagrantPlugins::HostBSD::Host
INFO runner: Running action: #Vagrant::Action::Builder:0x000001009ae588
INFO cli: CLI: [] "up" []
INFO environment: Running hook: environment_unload
INFO runner: Running action: #Vagrant::Action::Builder:0x00000100972060
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::NoEnvironmentError: A Vagrant environment is required to run this command. Run vagrant init
to set one up in this directory, or change to a directory with a
Vagrantfile and try again.>
ERROR vagrant: A Vagrant environment is required to run this command. Run vagrant init
to set one up in this directory, or change to a directory with a
Vagrantfile and try again.
ERROR vagrant: /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/plugin/v2/command.rb:78:in with_target_vms' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/plugins/commands/up/command.rb:32:inexecute'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/cli.rb:46:in execute' /Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/lib/vagrant/environment.rb:406:incli'
/Applications/Vagrant/embedded/gems/gems/vagrant-1.1.0/bin/vagrant:60:in <top (required)>' /Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:inload'
/Applications/Vagrant/bin/../embedded/gems/bin/vagrant:23:in <main>' INFO interface: error: A Vagrant environment is required to run this command. Runvagrant init to set one up in this directory, or change to a directory with a Vagrantfile and try again. A Vagrant environment is required to run this command. Runvagrant init`
to set one up in this directory, or change to a directory with a
Vagrantfile and try again.

@osopolar
Copy link

osopolar commented Jul 1, 2013

What VM-Ware Fusion version are you using? .. I have VM-Ware Fusion 4 and the same problem.

The documentation under http://docs.vagrantup.com/v2/vmware/index.html says: "The VMware provider is currently compatible only with Fusion 5 or Workstation 9." ... so I guess I need to update or use Virtual Box.

VM-Ware Fusion Provider is not free: http://www.vagrantup.com/vmware#buy-now: you need a provider license and the not included license to the VMware software.

@JC1738
Copy link

JC1738 commented Aug 5, 2013

Have the same problem.... VMWare Fusion 5, purchased the vagrant plugin

Copy link

ghost commented Sep 1, 2013

Getting almost the same error on Windows 7 64 Bits with VMWare Workstation 9.2...

C:\vagrant>vagrant up
The Vagrant VMware provider requires a valid license
to run. The license provided is invalid. Please make sure you
downloaded the proper license. If you believe you're seeing
this message in error, please contact support.
ERROR root: Failed to load plugin: vagrant-vmware-workstation
ERROR root: -- Error: #<SystemExit: exit>
ERROR root: -- Backtrace:
ERROR root: C:/Users/nblavoie/.vagrant.d/gems/gems/vagrant-vmware-workstation-1.
0.0/lib/vagrant-vmware-workstation.rb:29:in exit' C:/Users/nblavoie/.vagrant.d/gems/gems/vagrant-vmware-workstation-1.0.0/lib/vagr ant-vmware-workstation.rb:29:inhc_enc_load_error'
C:/Users/nblavoie/.vagrant.d/gems/gems/vagrant-vmware-workstation-1.0.0/lib/vagr
ant-vmware-workstation.rb:37:in load' C:/Users/nblavoie/.vagrant.d/gems/gems/vagrant-vmware-workstation-1.0.0/lib/vagr ant-vmware-workstation.rb:37:in<top (required)>'
D:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.r
b:60:in require' D:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.r b:60:inrescue in require'
D:/HashiCorp/Vagrant/embedded/lib/ruby/site_ruby/1.9.1/rubygems/custom_require.r
b:35:in require' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant.rb:189:inreq
uire_plugin'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb
:746:in block in load_plugins' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :743:ineach'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb
:743:in load_plugins' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :133:ininitialize'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/bin/vagrant:62:in new' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/bin/vagrant:62:in<top (r
equired)>'
D:/HashiCorp/Vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in load' D:/HashiCorp/Vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in


'
Failed to load the "vagrant-vmware-workstation" plugin. View logs for more detai
ls.
ERROR vagrant: Vagrant experienced an error! Details:
ERROR vagrant: #<Vagrant::Errors::VirtualBoxNotDetected: Vagrant could not detec
t VirtualBox! Make sure VirtualBox is properly installed.
Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
VBoxManage binary and add it to the PATH environmental variable.>
ERROR vagrant: Vagrant could not detect VirtualBox! Make sure VirtualBox is prop
erly installed.
Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
VBoxManage binary and add it to the PATH environmental variable.
ERROR vagrant: D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/pro
viders/virtualbox/driver/meta.rb:39:in rescue in initialize' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/providers/virtualb ox/driver/meta.rb:33:ininitialize'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/providers/virtualb
ox/provider.rb:34:in new' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/providers/virtualb ox/provider.rb:34:inmachine_id_changed'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/providers/virtualb
ox/provider.rb:14:in initialize' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/machine.rb:116 :innew'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/machine.rb:116
:in initialize' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :428:innew'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb
:428:in machine' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/plugin/v2/comm and.rb:131:inblock in with_target_vms'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/plugin/v2/comm
and.rb:164:in call' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/plugin/v2/comm and.rb:164:inblock in with_target_vms'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/plugin/v2/comm
and.rb:163:in map' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/plugin/v2/comm and.rb:163:inwith_target_vms'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/commands/up/comman
d.rb:42:in block in execute' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :207:inblock (2 levels) in batch'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb
:205:in tap' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :205:inblock in batch'
internal:prelude:10:in synchronize' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb :204:inbatch'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/plugins/commands/up/comman
d.rb:41:in execute' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/cli.rb:46:in
execute'
D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/lib/vagrant/environment.rb
:478:in cli' D:/HashiCorp/Vagrant/embedded/gems/gems/vagrant-1.2.5/bin/vagrant:84:in<top (r
equired)>'
D:/HashiCorp/Vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in load' D:/HashiCorp/Vagrant/bin//../embedded/../embedded/gems/bin/vagrant:23:in
'
Vagrant could not detect VirtualBox! Make sure VirtualBox is properly installed.

Vagrant uses the VBoxManage binary that ships with VirtualBox, and requires
this to be available on the PATH. If VirtualBox is installed, please find the
VBoxManage binary and add it to the PATH environmental variable.

C:\vagrant>

@whitneyimura
Copy link

I'm getting the same problem. Anyone figure out a workaround yet?

@masterkain
Copy link

same

@nima
Copy link

nima commented Feb 19, 2014

same

@spudnic
Copy link

spudnic commented Mar 19, 2014

I am running vmware workstation on ubuntu 12.04, there is not vmware fusion for ubuntu 12.04. Where did you guys find the license.lic file as i am not able to locate it.

@rodrigovirgilio
Copy link

You find the license.lic file with the vendor pays vm-workstation (to purchase is received license.lic)

@rodrigovirgilio
Copy link

I'm trying to raise the same problem with vagrant vm-workstation 10 is discover something, post here.

@CaptTofu
Copy link

Same thing here as well. It was hell just getting the plugin installed on OS X, fighting with brew, ruby, rvm and nokigiri. I thought I had succeeded and now this.

To top it off, I see that vagrant has the license in ~/.vagrant.d:

$ ls -l ~/.vagrant.d/license-vagrant-vmware-fusion.lic

-rw-r--r-- 1 myusername staff 547 Aug 22 17:45 /Users/patg/.vagrant.d/license-vagrant-vmware-fusion.lic

@CaptTofu
Copy link

the exact message:

$ vagrant status
The Vagrant VMware provider requires a valid license
to run. The license provided is invalid. Please make sure you
downloaded the proper license. If you believe you're seeing
this message in error, please contact support.
Vagrant failed to initialize at a very early stage:

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

@mattstam
Copy link

mattstam commented Jul 9, 2018

Any update?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment