Windows GPU VM Stops Automatically After Deployment Due to Guest ACPI Standby Policy
Problem
Environment
Cause
Diagnostics
1
$ openstack server event list <VM_UUID>+------------------------------------------+--------------------------------------+--------+----------------------------+
| Request ID | Server ID | Action | Start Time |
+------------------------------------------+--------------------------------------+--------+----------------------------+
| [REQ_UUID] | [VM_UUID] | stop | [TIMESTAMP] |
| [REQ_UUID] | [VM_UUID] | start | [TIMESTAMP] |
+------------------------------------------+--------------------------------------+--------+----------------------------+2
$ sudo grep -i "<VM_UUID>" /var/log/pf9/ostackhost.log | grep -iE "power_state|suspended|pmsuspend"[TIMESTAMP] INFO nova.compute.manager [REQ_UUID] [VM_UUID] During _sync_instance_power_state the DB power_state (1) does not match the vm_power_state from the hypervisor (7). Updating power_state in the DB to match the hypervisor.
[TIMESTAMP] WARNING nova.compute.manager [REQ_UUID] [VM_UUID] Instance is suspended unexpectedly. Calling the stop API.3
powercfg /query SCHEME_CURRENT SUB_SLEEP STANDBYIDLEPower Scheme GUID: [SCHEME_UUID] (Balanced)
Power Setting GUID: [SETTING_UUID] (Sleep after)
Current AC Power Setting Index: 0x00000384
Current DC Power Setting Index: 0x00000258powercfg /aThe following sleep states are available on this system:
Standby (S3)
HibernateWorkaround
Method 1 — Disable Standby on the Running VM (Immediate Fix)
1
2
Method 2 — Enforce via Group Policy (Fleet-Wide Fix)
Method 3 — Bake into the Windows Golden Image (Permanent Prevention)
1
2
3
Resolution
Additional Information
PreviousNVIDIA vGPU Guest Driver Installation Causes BSOD on Domain-Joined Windows VMNextHost With GPU Hardware Cannot Be Assigned to a Cluster From the UI
Last updated
