Snapshot using a Snapshot Manager fails with the error: Operation not allowed in current state
book
Article ID: 334177
calendar_today
Updated On:
Products
VMware vCenter Server 6.0VMware vCenter Server 7.0VMware vCenter Server 8.0VMware vSphere ESXi 6.0VMware vSphere ESXi 7.0VMware vSphere ESXi 8.0
Issue/Introduction
Symptoms:
Attempting a snapshot for a virtual machine using Snapshot Manager, or VMware Consolidated Backup or a third party backup solution such as vRanger fails.
You see these errors in vCenter Server:
Cannot create snapshot Operation not allowed in current state
The virtual machine, VMware vCenter Server and the host appear to be running without problems, but the error persists.
The hostd.log file on the host contains entries similar to:
The operation succeeds and the corresponding log entry for the snapshot attempt reflects a transition from ON to CREATE SNAPSHOT instead of ON_SHUTTING_DOWN.
Workaround:
This issue can occur when the PCI device is attached to virtual machine. Snapshots are not supported with the PCI devices.
To resolve the issue, remove the PCI device to create the snapshot or power off the virtual machine and take a snapshot.
Additional Information
Default locations of the hostd.log file are located at: