hashicorp / vagrant

Vagrant is a tool for building and distributing development environments.
https://www.vagrantup.com
Other
26.27k stars 4.43k forks source link

An error was encountered while generating the current list of available VMware adapaters in use on this system. #11839

Open rauldoliveira opened 4 years ago

rauldoliveira commented 4 years ago

Vagrant version

Vagrant 2.2.9

vagrant-disksize (0.1.3, global) vagrant-vmware-desktop (2.1.2, global)

Host operating system

Windows 10 Pro 2004

Guest operating system

Linux Centos 7

Vagrantfile

Vagrant.configure("2") do |config|
  config.vm.box = "centos/7"
  config.vm.provider "vmware_desktop" do |vb|
    vb.gui = false
    vb.memory = "2048"
  end
  config.vm.provision "shell", inline: <<-SHELL
    hostname
  SHELL
end

Debug output

INFO global: Vagrant version: 2.2.9 INFO global: Ruby version: 2.6.6 INFO global: RubyGems version: 3.0.3 INFO global: VAGRANT_EXECUTABLE="C:\HashiCorp\Vagrant\embedded\gems\2.2.9\gems\vagrant-2.2.9\bin\vagrant" INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="C:\HashiCorp\Vagrant\embedded" INFO global: VAGRANT_INSTALLER_ENV="1" INFO global: VAGRANT_INSTALLER_VERSION="2" INFO global: VAGRANT_LOG="debug" WARN global: resolv replacement has not been enabled! DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/box/plugin.rb INFO manager: Registered plugin: box command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/cap/plugin.rb INFO manager: Registered plugin: cap command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/cloud/plugin.rb INFO manager: Registered plugin: vagrant-cloud DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/destroy/plugin.rb INFO manager: Registered plugin: destroy command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/global-status/plugin.rb INFO manager: Registered plugin: global-status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/halt/plugin.rb INFO manager: Registered plugin: halt command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/help/plugin.rb INFO manager: Registered plugin: help command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/init/plugin.rb INFO manager: Registered plugin: init command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/list-commands/plugin.rb INFO manager: Registered plugin: list-commands command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/login/plugin.rb INFO manager: Registered plugin: vagrant-login DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/package/plugin.rb INFO manager: Registered plugin: package command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/plugin/plugin.rb INFO manager: Registered plugin: plugin command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/port/plugin.rb INFO manager: Registered plugin: port command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/powershell/plugin.rb INFO manager: Registered plugin: powershell command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/provider/plugin.rb INFO manager: Registered plugin: provider command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/provision/plugin.rb INFO manager: Registered plugin: provision command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/push/plugin.rb INFO manager: Registered plugin: push command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/rdp/plugin.rb INFO manager: Registered plugin: rdp command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/reload/plugin.rb INFO manager: Registered plugin: reload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/resume/plugin.rb INFO manager: Registered plugin: resume command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/snapshot/plugin.rb INFO manager: Registered plugin: snapshot command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/ssh/plugin.rb INFO manager: Registered plugin: ssh command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/ssh_config/plugin.rb INFO manager: Registered plugin: ssh-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/status/plugin.rb INFO manager: Registered plugin: status command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/suspend/plugin.rb INFO manager: Registered plugin: suspend command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/up/plugin.rb INFO manager: Registered plugin: up command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/upload/plugin.rb INFO manager: Registered plugin: upload command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/validate/plugin.rb INFO manager: Registered plugin: validate command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/version/plugin.rb INFO manager: Registered plugin: version command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/winrm/plugin.rb INFO manager: Registered plugin: winrm command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/winrm_config/plugin.rb INFO manager: Registered plugin: winrm-config command DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/ssh/plugin.rb INFO manager: Registered plugin: ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/winrm/plugin.rb INFO manager: Registered plugin: winrm communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/communicators/winssh/plugin.rb INFO manager: Registered plugin: windows ssh communicator DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/alpine/plugin.rb INFO manager: Registered plugin: Alpine guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/alt/plugin.rb INFO manager: Registered plugin: ALT Platform guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/amazon/plugin.rb INFO manager: Registered plugin: Amazon Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/arch/plugin.rb INFO manager: Registered plugin: Arch guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/atomic/plugin.rb INFO manager: Registered plugin: Atomic Host guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/bsd/plugin.rb INFO manager: Registered plugin: BSD-based guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/centos/plugin.rb INFO manager: Registered plugin: CentOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/coreos/plugin.rb INFO manager: Registered plugin: CoreOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/darwin/plugin.rb INFO manager: Registered plugin: Darwin guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/debian/plugin.rb INFO manager: Registered plugin: Debian guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/dragonflybsd/plugin.rb INFO manager: Registered plugin: DragonFly BSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/elementary/plugin.rb INFO manager: Registered plugin: Elementary guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/esxi/plugin.rb INFO manager: Registered plugin: ESXi guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/fedora/plugin.rb INFO manager: Registered plugin: Fedora guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/funtoo/plugin.rb INFO manager: Registered plugin: Funtoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/haiku/plugin.rb INFO manager: Registered plugin: Haiku guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/kali/plugin.rb INFO manager: Registered plugin: Kali guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/linux/plugin.rb INFO manager: Registered plugin: Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/mint/plugin.rb INFO manager: Registered plugin: Mint guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/netbsd/plugin.rb INFO manager: Registered plugin: NetBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/nixos/plugin.rb INFO manager: Registered plugin: NixOS guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/omnios/plugin.rb INFO manager: Registered plugin: OmniOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/openbsd/plugin.rb INFO manager: Registered plugin: OpenBSD guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/photon/plugin.rb INFO manager: Registered plugin: VMware Photon guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/pld/plugin.rb INFO manager: Registered plugin: PLD Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/slackware/plugin.rb INFO manager: Registered plugin: Slackware guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/smartos/plugin.rb INFO manager: Registered plugin: SmartOS guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/solaris/plugin.rb INFO manager: Registered plugin: Solaris guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/solaris11/plugin.rb INFO manager: Registered plugin: Solaris 11 guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/suse/plugin.rb INFO manager: Registered plugin: SUSE guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/tinycore/plugin.rb INFO manager: Registered plugin: TinyCore Linux guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/trisquel/plugin.rb INFO manager: Registered plugin: Trisquel guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/ubuntu/plugin.rb INFO manager: Registered plugin: Ubuntu guest DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/guests/windows/plugin.rb INFO manager: Registered plugin: Windows guest. DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/alt/plugin.rb INFO manager: Registered plugin: ALT Platform host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/arch/plugin.rb INFO manager: Registered plugin: Arch host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/bsd/plugin.rb INFO manager: Registered plugin: BSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/darwin/plugin.rb INFO manager: Registered plugin: Mac OS X host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/freebsd/plugin.rb INFO manager: Registered plugin: FreeBSD host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/gentoo/plugin.rb INFO manager: Registered plugin: Gentoo host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/linux/plugin.rb INFO manager: Registered plugin: Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/null/plugin.rb INFO manager: Registered plugin: null host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/redhat/plugin.rb INFO manager: Registered plugin: Red Hat Enterprise Linux host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/slackware/plugin.rb INFO manager: Registered plugin: Slackware host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/suse/plugin.rb INFO manager: Registered plugin: SUSE host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/void/plugin.rb INFO manager: Registered plugin: Void host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/hosts/windows/plugin.rb INFO manager: Registered plugin: Windows host DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/kernel_v1/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/kernel_v2/plugin.rb INFO manager: Registered plugin: kernel DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/docker/plugin.rb INFO manager: Registered plugin: docker-provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/hyperv/plugin.rb INFO manager: Registered plugin: Hyper-V provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/providers/virtualbox/plugin.rb INFO manager: Registered plugin: VirtualBox provider DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/ansible/plugin.rb INFO manager: Registered plugin: ansible DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/cfengine/plugin.rb INFO manager: Registered plugin: CFEngine Provisioner DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/chef/plugin.rb INFO manager: Registered plugin: chef DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/container/plugin.rb INFO manager: Registered plugin: container DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/docker/plugin.rb INFO manager: Registered plugin: docker DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/file/plugin.rb INFO manager: Registered plugin: file DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/podman/plugin.rb INFO manager: Registered plugin: podman DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/puppet/plugin.rb INFO manager: Registered plugin: puppet DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/salt/plugin.rb INFO manager: Registered plugin: salt DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/provisioners/shell/plugin.rb INFO manager: Registered plugin: shell DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/atlas/plugin.rb INFO manager: Registered plugin: atlas DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/ftp/plugin.rb INFO manager: Registered plugin: ftp DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/heroku/plugin.rb INFO manager: Registered plugin: heroku DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/local-exec/plugin.rb INFO manager: Registered plugin: local-exec DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/pushes/noop/plugin.rb INFO manager: Registered plugin: noop DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/synced_folders/nfs/plugin.rb INFO manager: Registered plugin: NFS synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/synced_folders/rsync/plugin.rb INFO manager: Registered plugin: RSync synced folders DEBUG global: Loading core plugin: C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/synced_folders/smb/plugin.rb INFO manager: Registered plugin: SMB synced folders INFO vagrant: vagrant invoked: ["provision", "--debug"] DEBUG vagrant: Creating Vagrant environment INFO environment: Environment initialized (#) INFO environment: - cwd: D:/VMs/Vagrant/TesteCentos7 INFO environment: Home path: C:/Users/Raul/.vagrant.d DEBUG environment: Effective local data path: D:/VMs/Vagrant/TesteCentos7/.vagrant INFO environment: Local data path: D:/VMs/Vagrant/TesteCentos7/.vagrant DEBUG environment: Creating: D:/VMs/Vagrant/TesteCentos7/.vagrant DEBUG manager: Enabling localized plugins INFO manager: Plugins: DEBUG signature_file: new solution file instance plugin_file=D:/VMs/Vagrant/TesteCentos7/.vagrant/plugins.json solution_file=D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/local.sol DEBUG signature_file: missing file so skipping loading DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:D:/VMs/Vagrant/TesteCentos7/.vagrant/plugins.json:D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/local.sol:invalid> DEBUG bundler: Generating new builtin set instance. DEBUG bundler: Generating new plugin set instance. Skip gems - [] DEBUG bundler: generating solution set for configured plugins DEBUG bundler: Current generated plugin dependency list: [] DEBUG bundler: resolving solution from available specification set DEBUG bundler: solution set for configured plugins has been resolved DEBUG bundler: activating solution set DEBUG bundler: Activating solution set: [] DEBUG signature_file: plugin file does not exist, not storing solution DEBUG bundler: solution set stored to - <Vagrant::Bundler::SolutionFile:D:/VMs/Vagrant/TesteCentos7/.vagrant/plugins.json:D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/local.sol:invalid> INFO manager: Loading plugins... DEBUG manager: Enabling globalized plugins INFO manager: Plugins: INFO manager: - vagrant-disksize = [installed: 0.1.3 constraint: > 0] INFO manager: - vagrant-vmware-desktop = [installed: 2.1.2 constraint: > 0] DEBUG signature_file: new solution file instance plugin_file=C:/Users/Raul/.vagrant.d/plugins.json solution_file=D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/global.sol DEBUG signature_file: reading solution file - D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/global.sol DEBUG signature_file: solution validation check CHECKSUM d8c85a6d91f39b87c2b3141cc822b2f153edeef0a219f555b160a3c765365b29 <-> d8c85a6d91f39b87c2b3141cc822b2f153edeef0a219f555b160a3c765365b29 VERSION 2.2.9 <-> 2.2.9 DEBUG signature_file: loading solution dependency list DEBUG signature_file: solution dependency list: [, ] DEBUG bundler: solution file in use for init: <Vagrant::Bundler::SolutionFile:C:/Users/Raul/.vagrant.d/plugins.json:D:/VMs/Vagrant/TesteCentos7/.vagrant/bundler/global.sol:valid> DEBUG bundler: Generating new builtin set instance. DEBUG bundler: Generating new plugin set instance. Skip gems - [] DEBUG bundler: loading cached solution set DEBUG bundler: activating solution set DEBUG bundler: Activating solution set: ["vagrant-disksize-0.1.3", "vagrant-vmware-desktop-2.1.2"] DEBUG bundler: Activating gem vagrant-disksize-0.1.3 DEBUG bundler: Activating gem vagrant-vmware-desktop-2.1.2 INFO manager: Loading plugins... INFO manager: Loading plugin vagrant-disksize with default require: vagrant-disksize ERROR manager: Failed to load plugin vagrant-disksize with default require. - LoadError: cannot load such file -- vagrant-disksize INFO manager: Loading plugin vagrant-disksize with slash require: vagrant/disksize INFO manager: Registered plugin: vagrant-disksize DEBUG manager: Successfully loaded plugin vagrant-disksize. INFO manager: Loading plugin vagrant-vmware-desktop with default require: vagrant-vmware-desktop INFO manager: Registered plugin: VMware Workstation Provider DEBUG manager: Successfully loaded plugin vagrant-vmware-desktop. INFO loader: Set :root = ["#<Pathname:D:/VMs/Vagrant/TesteCentos7/Vagrantfile>"] DEBUG loader: Populating proc cache for #<Pathname:D:/VMs/Vagrant/TesteCentos7/Vagrantfile> DEBUG loader: Load procs for pathname: D:/VMs/Vagrant/TesteCentos7/Vagrantfile INFO loader: Loading configuration in order: [:home, :root] DEBUG loader: Loading from: root (evaluating) DEBUG provisioner: Provisioner defined: DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "Write-Output $PSVersionTable.PSVersion.Major"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: 5 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 30 DEBUG subprocess: Exit status: 0 INFO subprocess: Starting process: ["C:\WINDOWS\System32\WindowsPowerShell\v1.0\/powershell.EXE", "-NoLogo", "-NoProfile", "-NonInteractive", "-ExecutionPolicy", "Bypass", "-Command", "(new-object System.Security.Principal.WindowsPrincipal([System.Security.Principal.WindowsIdentity]::GetCurrent())).IsInRole([System.Security.Principal.WindowsBuiltInRole]::Administrator)"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: True DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 31999 DEBUG subprocess: Exit status: 0 DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe INFO subprocess: Starting process: ["C:/Program Files/Oracle/VirtualBox/VBoxManage.exe", "--version"] INFO subprocess: Command not in installer, restoring original environment... DEBUG subprocess: Selecting on IO DEBUG subprocess: stdout: 6.1.10r138449 DEBUG subprocess: Waiting for process to exit. Remaining to timeout: 32000 DEBUG subprocess: Exit status: 0 DEBUG meta: Finding driver for VirtualBox version: 6.1.10 INFO meta: Using VirtualBox driver: VagrantPlugins::ProviderVirtualBox::Driver::Version_6_1 DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe DEBUG environment: Initial usable provider list: [[4, :hyperv], [6, :virtualbox], [10, :vmware_desktop], [10, :vmware_workstation]] DEBUG environment: Priority sorted usable provider list: [:vmware_desktop, :vmware_workstation, :virtualbox, :hyperv] DEBUG environment: Preferred provider list: [] DEBUG environment: Using provider vmware_desktop detected in configuration and usable. DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe DEBUG meta: Finding driver for VirtualBox version: 6.1.10 INFO meta: Using VirtualBox driver: VagrantPlugins::ProviderVirtualBox::Driver::Version_6_1 DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe DEBUG environment: Initial usable provider list: [[4, :hyperv], [6, :virtualbox], [10, :vmware_desktop], [10, :vmware_workstation]] DEBUG environment: Priority sorted usable provider list: [:vmware_desktop, :vmware_workstation, :virtualbox, :hyperv] DEBUG environment: Preferred provider list: [] DEBUG environment: Using provider vmware_desktop detected in configuration and usable. INFO loader: Set "62424700_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "62424700_machine_default"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box found: centos/7 (vmware_desktop) INFO environment: Running hook: authenticate_box_url INFO host: Autodetecting host type for [#<Vagrant::Environment: D:/VMs/Vagrant/TesteCentos7>] DEBUG host: Trying: alt DEBUG host: Trying: arch DEBUG host: Trying: darwin DEBUG host: Trying: freebsd DEBUG host: Trying: gentoo DEBUG host: Trying: redhat DEBUG host: Trying: slackware DEBUG host: Trying: suse DEBUG host: Trying: void DEBUG host: Trying: bsd DEBUG host: Trying: linux DEBUG host: Trying: null DEBUG host: Trying: windows INFO host: Detected: windows! INFO runner: Running action: authenticate_box_url # INFO warden: Calling IN action: # DEBUG client: No authentication token in environment or C:/Users/Raul/.vagrant.d/data/vagrant_login_token INFO warden: Calling OUT action: # INFO loader: Set :"57327040_centos/7_vmware_desktop" = ["#<Pathname:C:/Users/Raul/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1902.01/vmware_desktop/Vagrantfile>"] DEBUG loader: Populating proc cache for #<Pathname:C:/Users/Raul/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1902.01/vmware_desktop/Vagrantfile> DEBUG loader: Load procs for pathname: C:/Users/Raul/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1902.01/vmware_desktop/Vagrantfile INFO loader: Loading configuration in order: [:"57327040_centos/7_vmware_desktop", :home, :root, "62424700_machine_default"] DEBUG loader: Loading from: 57327040_centos/7_vmware_desktop (evaluating) DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO environment: Running hook: environment_plugins_loaded INFO runner: Running action: environment_plugins_loaded # INFO environment: Running hook: environment_load INFO runner: Running action: environment_load # INFO warden: Calling IN action: # DEBUG checkpoint_client: starting plugin check DEBUG checkpoint_client: starting utility check INFO warden: Calling IN action: HashiCorp Background Check: Start DEBUG activation: Last ping time: 1597784133 DEBUG activation: License file ID: 541c4925-856b-46e4-8776-21bbce6373a6 INFO warden: Calling OUT action: HashiCorp Background Check: Start INFO warden: Calling OUT action: # DEBUG checkpoint_client: plugin check complete DEBUG checkpoint_client: starting plugin check INFO cli: CLI: [] "provision" [] DEBUG checkpoint_client: plugin check complete DEBUG cli: Invoking command class: VagrantPlugins::CommandProvision::Command [] DEBUG checkpoint_client: no information received from checkpoint DEBUG command: 'provision' each target VM... DEBUG command: Getting target VMs for command. Arguments: DEBUG command: -- names: [] DEBUG command: -- options: nil DEBUG command: Loading all machines... INFO vmware_driver: VMX file: DEBUG vagrant_utility: initialize HOST=127.0.0.1 PORT=9922 INFO loader: Set "62424700_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "62424700_machine_default"] ERROR loader: Unknown config sources: [:"57327040_centos/7_vmware_desktop"] DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing WARN vagrantfile: Failed to locate centos/7 with version WARN vagrantfile: Performing lookup with inital values centos/7 with version DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe DEBUG meta: Finding driver for VirtualBox version: 6.1.10 INFO meta: Using VirtualBox driver: VagrantPlugins::ProviderVirtualBox::Driver::Version_6_1 DEBUG base: Windows, checking for VBoxManage on PATH first DEBUG vagrant_utility: request METHOD=GET PATH=/vmware/info RESPONSE=200 DEBUG base: Windows. Trying VBOX_INSTALL_PATH for VBoxManage DEBUG base: VBOX_INSTALL_PATH value: C:\Program Files\Oracle\VirtualBox\ INFO base: VBoxManage path: C:/Program Files/Oracle/VirtualBox/VBoxManage.exe DEBUG environment: Initial usable provider list: [[4, :hyperv], [6, :virtualbox], [10, :vmware_desktop], [10, :vmware_workstation]] DEBUG environment: Priority sorted usable provider list: [:vmware_desktop, :vmware_workstation, :virtualbox, :hyperv] DEBUG environment: Preferred provider list: [] DEBUG environment: Using provider vmware_desktop detected in configuration and usable. INFO environment: Getting machine: default (vmware_desktop) INFO environment: Uncached load of machine. INFO loader: Set "62424700_machine_default" = [] INFO loader: Loading configuration in order: [:home, :root, "62424700_machine_default"] ERROR loader: Unknown config sources: [:"57327040_centos/7_vmware_desktop"] DEBUG vagrant_utility: request METHOD=GET PATH=/vmware/paths RESPONSE=200 DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG push: finalizing INFO box_collection: Box found: centos/7 (vmware_desktop) INFO environment: Running hook: authenticate_box_url INFO runner: Running action: authenticate_box_url # INFO warden: Calling IN action: # DEBUG client: No authentication token in environment or C:/Users/Raul/.vagrant.d/data/vagrant_login_token INFO warden: Calling OUT action: # INFO loader: Set :"57327040_centos/7_vmware_desktop" = ["#<Pathname:C:/Users/Raul/.vagrant.d/boxes/centos-VAGRANTSLASH-7/1902.01/vmware_desktop/Vagrantfile>"] INFO loader: Loading configuration in order: [:"57327040_centos/7_vmware_desktop", :home, :root, "62424700_machine_default"] DEBUG loader: Loading from: 57327040_centos/7_vmware_desktop (cache) DEBUG loader: Loading from: root (cache) DEBUG loader: Configuration loaded successfully, finalizing and returning DEBUG vagrant_utility: request METHOD=GET PATH=/version RESPONSE=200 DEBUG push: finalizing INFO machine: Initializing machine: default INFO machine: - Provider: HashiCorp::VagrantVMwareDesktop::Provider INFO machine: - Box: # INFO machine: - Data dir: D:/VMs/Vagrant/TesteCentos7/.vagrant/machines/default/vmware_desktop DEBUG vmware: Re-initializing driver for new ID: nil INFO vmware_driver: VMX file: DEBUG vagrant_utility: initialize HOST=127.0.0.1 PORT=9922 DEBUG vagrant_utility: request METHOD=GET PATH=/vmware/info RESPONSE=200 DEBUG vagrant_utility: request METHOD=GET PATH=/vmware/paths RESPONSE=200 DEBUG vagrant_utility: request METHOD=GET PATH=/version RESPONSE=200 DEBUG vagrant_utility: request METHOD=GET PATH=/vmnet RESPONSE=400 ERROR=Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts DEBUG checkpoint_client: utility communication error - An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again. DEBUG vagrant_utility: request METHOD=GET PATH=/vmnet RESPONSE=400 ERROR=Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts INFO environment: Running hook: environment_unload INFO runner: Running action: environment_unload # INFO warden: Calling IN action: HashiCorp Background Check: End INFO logger: Cleaning up background activation thread... INFO warden: Calling OUT action: HashiCorp Background Check: End ERROR vagrant: Vagrant experienced an error! Details: ERROR vagrant: #<HashiCorp::VagrantVMwareDesktop::Errors::DriverAPIDeviceListError: An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again.> ERROR vagrant: An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again. ERROR vagrant: C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/driver.rb:702:in read_vmnet_devices' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/driver.rb:173:indetect_nat_device!' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/driver.rb:166:in initialize' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/driver.rb:1175:innew' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/driver.rb:1175:in create' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/provider.rb:48:inmachine_id_changed' C:/Users/Raul/.vagrant.d/gems/2.6.6/gems/vagrant-vmware-desktop-2.1.2/lib/vagrant-vmware-desktop/provider.rb:31:in initialize' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:139:innew' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/machine.rb:139:in initialize' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/vagrantfile.rb:81:innew' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/vagrantfile.rb:81:in machine' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:715:inmachine' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/plugin/v2/command.rb:180:in block in with_target_vms' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/plugin/v2/command.rb:213:inblock in with_target_vms' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/plugin/v2/command.rb:212:in map' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/plugin/v2/command.rb:212:inwith_target_vms' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/plugins/commands/provision/command.rb:29:in execute' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/cli.rb:67:inexecute' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/lib/vagrant/environment.rb:290:in cli' C:/HashiCorp/Vagrant/embedded/gems/2.2.9/gems/vagrant-2.2.9/bin/vagrant:205:in

' INFO interface: error: An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again. An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again. INFO interface: Machine: error-exit ["HashiCorp::VagrantVMwareDesktop::Errors::DriverAPIDeviceListError", "An error was encountered while generating the current list of\navailable VMware adapaters in use on this system.\n\n Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts\n\nPlease resolve any problems reported in the error message above and\ntry again."]

Expected behavior

The expected behavior is the creation of the virtual machine

Actual behavior

The following error happens:

An error was encountered while generating the current list of available VMware adapaters in use on this system.

Get http://localhost:49677/api/vmnet: GET http://localhost:49677/api/vmnet giving up after 5 attempts

Please resolve any problems reported in the error message above and try again.

Steps to reproduce

  1. vagrant provision
soapy1 commented 4 years ago

Looks like this is a similar issue to https://github.com/hashicorp/vagrant/issues/11823 and https://github.com/hashicorp/vagrant/issues/11815

Which version of the vmware-utility is installed? The latest version is 1.0.11 and is available on the utility download page.

rauldoliveira commented 4 years ago

My vmware-utility-version is 1.0.11

PS C:\HashiCorp\VagrantVMwareUtility\bin> .\vagrant-vmware-utility.exe --version 1.0.11

My VMWare, is VMWare Workstation Pro, version 15.5.6 build-16341506

rauldoliveira commented 4 years ago

I updated vagrant to the latest version and the problem persists.

Installed Version: 2.2.10 Latest Version: 2.2.10

jszakmeister commented 4 years ago

I'm also seeing this same issue on my macOS host (10.14.6, Mojave) using vagrant-vmware-utility version 1.0.11 and vagrant version 2.2.10. I had to restart the vagrant-vmware-utility service for it to stop reporting the api/vmnet error, but then it complained about not being able to talk to the utility:

sudo launchctl stop com.vagrant.vagrant-vmware-utility
sudo launchctl start com.vagrant.vagrant-vmware-utility

After a couple more rounds of vagrant up in some projects, it started working again.

Xav-Pe commented 4 years ago

Also getting this error on Windows 10 2004 up-to-date.

PS C:\users\user\vagrant> vagrant -v
Vagrant 2.2.10
PS C:\users\user\vagrant> C:\HashiCorp\VagrantVMwareUtility\bin\vagrant-vmware-utility.exe -v
1.0.11
PS C:\users\user\vagrant> vagrant plugin list
vagrant-vmware-desktop (2.1.2, global)

In logs :

2020-09-25T10:59:00.015+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/vmware/info request-id=0xc0002c2b60
2020-09-25T10:59:00.015+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/vmware/paths request-id=0xc00039e000
2020-09-25T10:59:00.015+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=200 request-id=0xc0002c2b60
2020-09-25T10:59:00.015+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=200 request-id=0xc00039e000
2020-09-25T10:59:00.053+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/vmware/paths request-id=0xc00039e7e0
2020-09-25T10:59:00.053+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=200 request-id=0xc00039e7e0
2020-09-25T10:59:00.053+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/version request-id=0xc00039e8c0
2020-09-25T10:59:00.053+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=200 request-id=0xc00039e8c0
2020-09-25T10:59:00.083+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/vmnet request-id=0xc00039f0a0
2020-09-25T10:59:00.083+0200 [INFO]  vagrant-vmware-utility.service run.service-run.vmrest: starting remote request to vmware service
2020-09-25T10:59:00.083+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/version request-id=0xc0001d6540
2020-09-25T10:59:00.084+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=200 request-id=0xc0001d6540
2020-09-25T10:59:00.113+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request start: method=GET path=/vmnet request-id=0xc0000ea9a0
2020-09-25T10:59:00.113+0200 [INFO]  vagrant-vmware-utility.service run.service-run.vmrest: starting remote request to vmware service
2020-09-25T10:59:26.795+0200 [WARN]  vagrant-vmware-utility.service run.service-run.vmrest: request failed: error="Get http://localhost:51951/api/vmnet: GET http://localhost:51951/api/vmnet giving up after 5 attempts"
2020-09-25T10:59:26.795+0200 [ERROR] vagrant-vmware-utility.service run.service-run.vmrest: vmnets list request failed: error="Get http://localhost:51951/api/vmnet: GET http://localhost:51951/api/vmnet giving up after 5 attempts"
2020-09-25T10:59:26.795+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=400 request-id=0xc00039f0a0
2020-09-25T10:59:26.855+0200 [WARN]  vagrant-vmware-utility.service run.service-run.vmrest: request failed: error="Get http://localhost:51951/api/vmnet: GET http://localhost:51951/api/vmnet giving up after 5 attempts"
2020-09-25T10:59:26.855+0200 [ERROR] vagrant-vmware-utility.service run.service-run.vmrest: vmnets list request failed: error="Get http://localhost:51951/api/vmnet: GET http://localhost:51951/api/vmnet giving up after 5 attempts"
2020-09-25T10:59:26.855+0200 [INFO]  vagrant-vmware-utility.service run.service-run.api.handler: request complete: code=400 request-id=0xc0000ea9a0

Hope this helps.

lfolco commented 3 years ago

Any updates on this? I'm about to switch off of vagrant because I can't load VMs anymore :\

DanyC97 commented 3 years ago

I'm also seeing this same issue on my macOS host (10.14.6, Mojave) using vagrant-vmware-utility version 1.0.11 and vagrant version 2.2.10. I had to restart the vagrant-vmware-utility service for it to stop reporting the api/vmnet error, but then it complained about not being able to talk to the utility:

sudo launchctl stop com.vagrant.vagrant-vmware-utility
sudo launchctl start com.vagrant.vagrant-vmware-utility

After a couple more rounds of vagrant up in some projects, it started working again.

your workaround works like a charm, thank you v much for sharing it (it happens on my OSX quite often ... very annoying)

clong commented 3 years ago

Still seeing this on version 1.0.17 😞

OS: MacOS 11.1 Utility Version: 1.0.17 Plugin: vagrant-vmware-desktop 2.1.5

andriytk commented 3 years ago

Also seeing this always after some time with 1.0.17 utility. Reboot usually helps, but it's very annoying.

macOS 10.14.6, Vagrant-2.2.14, vagrant-vmware-desktop-2.1.5, Fusion-11.5.7.

teasy79 commented 3 years ago

I have also the same problem :-(

OS: Windows 10 Pro 20H2 Vagrant: 2.2.14 Utility Version: 1.0.20 Plugin: vagrant-vmware-desktop 2.1.5

Does anyone already have a solution? For the workaround with

net.exe stop vagrant-vmware-utility
net.exe start vagrant-vmware-utility

you need admin rights. This way I would have to start the Vagrant Box with admin rights every time I start it - even if it already exists.

micchickenburger commented 3 years ago

This is still an issue on macOS Big Sur 11.5.2, VMware Fusion 12.1.2, Vagrant 2.2.18, vagrant-vmware-desktop 3.0.0. The workaround of restarting the com.vagrant.vagrant-vmware-utility service works but is annoying indeed.

jmmeacham commented 2 years ago

Still an issue in 2022

InanisV commented 2 years ago

I'm also seeing this same issue on my macOS host (10.14.6, Mojave) using vagrant-vmware-utility version 1.0.11 and vagrant version 2.2.10. I had to restart the vagrant-vmware-utility service for it to stop reporting the api/vmnet error, but then it complained about not being able to talk to the utility:

sudo launchctl stop com.vagrant.vagrant-vmware-utility
sudo launchctl start com.vagrant.vagrant-vmware-utility

After a couple more rounds of vagrant up in some projects, it started working again.

Thanks a lot! Restarting the utility really works on my MacOS 10.15.7 :D