I have a Server 2019 Hyper-V host which has two Windows Server guest VMs. Both VMs are configured to shut down when the host shuts down:
However, any time the Host is restarted or shut down, the guest OSes experience an unexpected shutdown and record event ID 6008 in the System event log ("The previous system shutdown at 2:11:33 PM on 7/26/2019 was unexpected"). When the shutdown process begins on the Hyper-V host, the following events are immediately logged to the Microsoft-Windows-Hyper-V-VMMS/Admin
log:
Event ID: 14100
Logged: 7/26/2019 2:11:46 PM
Source: Hyper-V-VMMS
Text: Shut down physical computer. Stopping/saving all virtual machines...
Event ID: 19060
Logged: 7/26/2019 2:11:46 PM
Source: Hyper-V-VMMS
Text: <VM NAME #1> failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID <VM #1 GUID>)
Event ID: 19060
Logged: 7/26/2019 2:11:46 PM
Source: Hyper-V-VMMS
Text: <VM NAME #2> failed to perform the 'Shutting Down' operation. The virtual machine is currently performing the following operation: 'Shutting Down'. (Virtual machine ID <VM #2 GUID>)
What's strange about these events is:
- There's no gap of time between the "stopping/saving VMs" event and the subsequent "VM failed to shut down" events.
- They're logged within seconds of the VM reporting when it was unexpectedly shut down.
Why is this happening and what can I do about it?
Changing the VM shutdown options to Save or Turn off are not an option in this environment. I doubt it matters, but the guest VMs are running Server 2008 R2 and Server 2016.