DetectionLab: Wef provisioning fails with VirtualBox

  • Operating System Version: Both MacOS and Windows 10
  • Provider (VirtualBox/VMWare): VirtualBox 6.1.4 and 6.0.18
  • Vagrant Version: 2.2.7
  • Packer Version:
  • Are you using stock boxes (downloaded) or were they built from scratch using Packer? Vagrant only
  • Is the issue reproducible or intermittent? reproducible

Please verify that you are building from an updated Master branch before filing an issue.

Description of the issue:

When trying to provision the environment, it always fails at wef, the virtual machine remains in ‘Stopping’ state after one scheduled restart while provisioning. See the VirtualBox logs below. LE: It seems Microsoft ATA 1.9 downloading is failing…

00:01:00.664999 ************** End of Guest state at power off ***************

00:01:56.408724 Console: Machine state changed to ‘Stopping’ 00:01:56.409108 Console::powerDown(): A request to power off the VM has been issued (mMachineState=Stopping, InUninit=0) 00:02:00.973560 PDMR3PowerOff: 60 308 546 080 ns run time 00:02:00.973624 Changing the VM state from ‘POWERING_OFF’ to ‘OFF’ 00:02:00.974201 VMR3PowerOff: 00:02:00.974234 RUNNING -> POWERING_OFF, SUSPENDED -> POWERING_OFF, DEBUGGING -> POWERING_OFF, LOAD_FAILURE -> POWERING_OFF, GURU_MEDITATION -> POWERING_OFF, FATAL_ERROR -> POWERING_OFF, CREATED -> POWERING_OFF, RUNNING_LS -> POWERING_OFF_LS, DEBUGGING_LS -> POWERING_OFF_LS, GURU_MEDITATION_LS -> POWERING_OFF_LS, FATAL_ERROR_LS -> POWERING_OFF_LS failed, because the VM state is actually OFF 00:02:00.974393 VMSetError: F:\tinderbox\win-6.0\src\VBox\VMM\VMMR3\VM.cpp(3617) int __cdecl vmR3TrySetState(struct VM *,const char *,unsigned int,…); rc=VERR_VM_INVALID_VM_STATE 00:02:00.975025 VMSetError: VMR3PowerOff failed because the current VM state, OFF, was not found in the state transition table (old state FATAL_ERROR_LS) 00:02:00.982269 ERROR [COM]: aRC=VBOX_E_VM_ERROR (0x80bb0003) aIID={872da645-4a9b-1727-bee2-5585105b9eed} aComponent={ConsoleWrap} aText={Could not power off the machine. (Error: VERR_VM_INVALID_VM_STATE)}, preserve=false aResultDetail=-1907



### Link to Gist Containing Build Logs:
<!--
If you're having issues provisioning a host or building a Packer image, please paste the build logs into a [Gist](https://gist.github.com/) and add a link to it here.

Find your Vagrant logs in `/DetectionLab/Vagrant/vagrant_up_$host.log`
-->

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 22 (9 by maintainers)

Most upvoted comments

I’m just going to add some code such that if the IWR download fails, it will fallback to using bitsadmin to download the file. I think that should resolve the issues here

reprovision worked, so all set here, thanks

image