Vagrant 2.3.6: Unable to Vagrant up

MS Window 10 host, VMWare Desktop provider. I am unable to follow the basic steps in the QuickStart tutorial using the VMWare Desktop provider. I have downloaded and installed the VMWare Utility and the vagrant-vmware-desktop plugin, added the generic/fedora37 box, and entered the vagrant init generic/fedora37 --force command with no errors reported. When I use

vagrant up

I get the following response:


E:\Vagrant Boxes>vagrant up
Bringing machine 'default' up with 'vmware_desktop' provider...
==> default: Checking if box 'generic/fedora37' version '4.2.16' is up to date...
==> default: Verifying vmnet devices are healthy...
==> default: Preparing network adapters...
==> default: Starting the VMware VM...
An error occurred while executing `vmrun`, a utility for controlling
VMware machines. The command and output are below:

Command: ["-T", "ws", "start", "E:\\Vagrant Boxes\\.vagrant\\machines\\default\\vmware_desktop\\0a84059c-ec02-4882-bc8d-b4572094d4fe\\generic-fedora37-vmware.vmx", "nogui", {:notify=>[:stdout, :stderr], :timeout=>45}]

Stdout: Error: The operation was canceled

Stderr:

E:\Vagrant Boxes>

What basic step am I missing? I am at a loss to explain this error in what should be a straight forward, error-free process. I repeated the attempt using the tutorial’s hashicorp/bionic64 box and got the same result. Enough for this day… DVH

Hi there,

Has VMware Workstation been fully setup on the host machine? Has a license been enetered, or the trial period been initiated? If both of those things are true, providing the log file will help to determine the root cause of the issue. The log file can be located at:

E:\Vagrant Boxes\.vagrant\machines\default\vmware_desktop\0a84059c-ec02-4882-bc8d-b4572094d4fe\vmware.log

Cheers

@chrisroberts :: Thanks for the pointer to the log file. I reviewed it and found this smoking gun:

2023-05-21T07:13:06.539Z In(05) vmx The following features are required for SVM support in VMware Workstation; however, these features are not available on this host:
2023-05-21T07:13:06.539Z In(05) vmx    Flush by ASID.
2023-05-21T07:13:06.539Z In(05) vmx Module 'MonitorMode' power on failed.
2023-05-21T07:13:06.539Z In(05) vmx VMX_PowerOn: ModuleTable_PowerOn = 0
2023-05-21T07:13:06.539Z In(05) vmx Vix: [mainDispatch.c:4213]: VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0
2023-05-21T07:13:06.539Z In(05) vmx VMXSTATS: Ready to cleanup and munmap 245EA5B0000.
2023-05-21T07:13:06.539Z In(05) vmx Msg_Post: Error
2023-05-21T07:13:06.539Z In(05) vmx [msg.hvuser.SVMUnsupported] This host supports AMD-V, but the AMD-V implementation is incompatible with VMware Workstation.
2023-05-21T07:13:06.539Z In(05) vmx [msg.monitor.mode.ulm.unsupported] VMware Workstation does not support the user level monitor on this host.
2023-05-21T07:13:06.539Z In(05) vmx [msg.moduletable.powerOnFailed] Module 'MonitorMode' power on failed.

It seems my AMD chip is too old to support this level of VMWare Desktop. Add another log to the fuel for upgrading my (more than a bit long in tooth) server to a more recent CPU.

Looks like I’m back to VirtualBox for now. I’ll try the Bento version of Fedora-37 and see how that goes. I do see that I’ll have to specify the version to load. It seems worth a try. Thanks. DVH

Vagrant.configure("2") do |config|
  config.vm.box = "gusztavvargadr/windows-10"

  config.vm.provider "vmware_desktop" do |vb|
    vb.gui = true
  end
end

I also encountered the same problem, I think it is possible that I enabled hyper-v (because I need to use wsl), but the builder of the image did not use hyper-v, so this error occurred.

It should not be a problem with VMware, because I have tried to use VMware+Windows ISO to run successfully on a computer with wsl2 enabled

vmware.log.txt (121.5 KB)


2023-09-08T03:00:01.765Z In(05) vmx Msg_Question:
2023-09-08T03:00:01.765Z In(05) vmx [msg.cpuid.noVHVQuestion] 此平台不支持虚拟化的 Intel VT-x/EPT。
2023-09-08T03:00:01.765Z In(05)+ vmx Continue without virtualized Intel VT-x/EPT?
2023-09-08T03:00:01.765Z In(05) vmx ----------------------------------------
2023-09-08T03:00:01.765Z In(05) vmx MsgIsAnswered: Using builtin default '否(_N)' as the answer for 'msg.cpuid.noVHVQuestion'
2023-09-08T03:00:01.765Z In(05) vmx MsgQuestion: msg.cpuid.noVHVQuestion reply=1
2023-09-08T03:00:01.765Z In(05) vmx Module 'CPUID' power on failed.
2023-09-08T03:00:01.765Z In(05) vmx VMX_PowerOn: ModuleTable_PowerOn = 0
2023-09-08T03:00:01.765Z In(05) vmx HgfsChannelDeactivateChannel: HGFS [backdoor] channel DEACTIVATED.
2023-09-08T03:00:01.766Z In(05) vmx HgfsChannelDeactivateChannel: HGFS [vmci] channel DEACTIVATED.
2023-09-08T03:00:01.766Z In(05) vmx HgfsServer_ExitState: exit threadpool - inactive.
2023-09-08T03:00:01.766Z In(05) vmx HgfsServerManagerVigorExit: Destroy:
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: Refreshing imageName for 'windows9-64' (refreshCount=1, lastCount=1).
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: open of D:\Program Files (x86)\VMware\VMware Workstation\isoimages_manifest.txt.sig failed: Could not find the file
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: Unable to read signature file 'D:\Program Files (x86)\VMware\VMware Workstation\isoimages_manifest.txt.sig', ignoring.
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: Updated cached value for imageName to 'windows.iso'.
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: Selected Tools ISO 'windows.iso' for 'windows9-64' guest.
2023-09-08T03:00:01.766Z In(05) vmx TOOLS updated cached value for isoImageExists to 1.
2023-09-08T03:00:01.766Z In(05) vmx Tools: ToolsRunningStatus_Exit, delayedRequest is 0x2A155849B60
2023-09-08T03:00:01.766Z In(05) vmx ToolsISO: Refreshing imageName for 'windows9-64' (refreshCount=1, lastCount=1).
2023-09-08T03:00:01.767Z In(05) vmx ToolsISO: open of D:\Program Files (x86)\VMware\VMware Workstation\isoimages_manifest.txt.sig failed: Could not find the file
2023-09-08T03:00:01.767Z In(05) vmx ToolsISO: Unable to read signature file 'D:\Program Files (x86)\VMware\VMware Workstation\isoimages_manifest.txt.sig', ignoring.
2023-09-08T03:00:01.767Z In(05) vmx ToolsISO: Updated cached value for imageName to 'windows.iso'.
2023-09-08T03:00:01.767Z In(05) vmx ToolsISO: Selected Tools ISO 'windows.iso' for 'windows9-64' guest.
2023-09-08T03:00:01.767Z In(05) vmx TOOLS updated cached value for isoImageExists to 1.
2023-09-08T03:00:01.767Z In(05) vmx VMXVmdb_SetToolsVersionStatus: status value set to 'ok', 'supportedNew', install possible
2023-09-08T03:00:01.767Z In(05) svga SVGA thread is exiting the main loop
2023-09-08T03:00:01.790Z In(05) vmx SOUNDLIB: Closing Wave sound backend.
2023-09-08T03:00:01.790Z In(05) vmx MKSThread: Requesting MKS exit
2023-09-08T03:00:01.790Z In(05) vmx Stopping MKS/SVGA threads
2023-09-08T03:00:01.790Z In(05) vmx MKS/SVGA threads are stopped
2023-09-08T03:00:01.835Z In(05) mks MKS-RenderMain: Stopped ISBRenderer (DX12Renderer)
2023-09-08T03:00:01.837Z In(05) mks MKS PowerOff
2023-09-08T03:00:01.837Z In(05) svga SVGA thread is exiting
2023-09-08T03:00:01.837Z In(05) mks MKS thread is exiting
2023-09-08T03:00:01.838Z Wa(03) vmx 
2023-09-08T03:00:01.838Z In(05) vmx nvme0:0: numIOs = 1 numMergedIOs = 0 numSplitIOs = 0 ( 0.0%)
2023-09-08T03:00:01.838Z In(05) vmx Closing disk 'nvme0:0'
2023-09-08T03:00:01.842Z In(05) vmx AIOWIN32C: asyncOps=3 syncOps=9 bufSize=0Kb fixedOps=0
2023-09-08T03:00:01.842Z In(05) aioCompletion AIO thread processed 3 completions
2023-09-08T03:00:01.843Z In(05) deviceThread Device thread is exiting
2023-09-08T03:00:01.843Z In(05) vmx Vix: [mainDispatch.c:1171]: VMAutomationPowerOff: Powering off.
2023-09-08T03:00:01.844Z In(05) vmx Win32U_GetFileAttributes: GetFileAttributesExW("D:\Users\win\AppData\Local\Temp\windows\.vagrant\machines\default\vmware_desktop\5e0f8c16-163c-4bc9-a108-b57f550f0791\gusztavvargadr-w1022h2e-2307.0.0-1689918051.vmpl", ...) failed, error: 2
2023-09-08T03:00:01.844Z In(05) vmx Policy_SavePolicyFile: invalid arguments to function.
2023-09-08T03:00:01.844Z In(05) vmx PolicyVMX_Exit: Could not write out policies: 15.
2023-09-08T03:00:01.844Z In(05) vmx WORKER: asyncOps=2 maxActiveOps=1 maxPending=1 maxCompleted=1
2023-09-08T03:00:01.844Z In(05) PowerNotifyThread PowerNotify thread exiting.
2023-09-08T03:00:01.845Z In(05) vmx Vix: [mainDispatch.c:4213]: VMAutomation_ReportPowerOpFinished: statevar=1, newAppState=1873, success=1 additionalError=0
2023-09-08T03:00:01.846Z In(05) vmx VMXSTATS: Ready to cleanup and munmap 2A1540D0000.
2023-09-08T03:00:01.846Z In(05) vmx 
2023-09-08T03:00:01.846Z In(05)+ vmx Power on failure messages: 未能启动虚拟机。
2023-09-08T03:00:01.846Z In(05)+ vmx 
2023-09-08T03:00:01.846Z In(05) vmx Vix: [mainDispatch.c:4213]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1 additionalError=0
2023-09-08T03:00:01.846Z In(05) vmx Transitioned vmx/execState/val to poweredOff
2023-09-08T03:00:01.846Z In(05) vmx Vix: [mainDispatch.c:4213]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=0 additionalError=0
2023-09-08T03:00:01.847Z In(05) vmx Vix: [mainDispatch.c:4251]: Error VIX_E_FAIL in VMAutomation_ReportPowerOpFinished(): 未知错误
2023-09-08T03:00:01.847Z In(05) vmx Vix: [mainDispatch.c:4213]: VMAutomation_ReportPowerOpFinished: statevar=0, newAppState=1870, success=1 additionalError=0
2023-09-08T03:00:01.847Z In(05) vmx Transitioned vmx/execState/val to poweredOff
2023-09-08T03:00:01.847Z In(05) vmx WQPoolFreePoll : pollIx = 3, signalHandle = 980
2023-09-08T03:00:01.847Z In(05) vmx Vix: [mainDispatch.c:817]: VMAutomation_LateShutdown()
2023-09-08T03:00:01.847Z In(05) vmx Vix: [mainDispatch.c:772]: VMAutomationCloseListenerSocket. Closing listener socket.
2023-09-08T03:00:01.847Z In(05) vmx Flushing VMX VMDB connections
2023-09-08T03:00:01.847Z In(05) vmx VmdbDbRemoveCnx: Removing Cnx from Db for '/db/connection/#1/'
2023-09-08T03:00:01.847Z In(05) vmx VmdbCnxDisconnect: Disconnect: closed pipe for pub cnx '/db/connection/#1/' (0)
2023-09-08T03:00:01.847Z In(05) vmx VigorTransport_ServerDestroy: server destroyed.
2023-09-08T03:00:01.847Z In(05) vmx WQPoolFreePoll : pollIx = 2, signalHandle = 800
2023-09-08T03:00:01.847Z In(05) vmx WQPoolFreePoll : pollIx = 1, signalHandle = 844
2023-09-08T03:00:01.849Z In(05) vmx VMX exit (0).
2023-09-08T03:00:01.853Z In(05) vmx OBJLIB-LIB: ObjLib cleanup done.
2023-09-08T03:00:01.853Z In(05) vmx AIOMGR-S : stat o=4 r=34 w=0 i=0 br=430076 bw=0