Knowledge Base

The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides
 
Search the VMware Knowledge Base (KB)   View by Article ID
 

Snapshot fails from Snapshot Manager with the error: Operation not allowed in current state (1027707)

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:

    [07:43:03.404 F64A8B90 error 'vm:/vmfs/volumes/4acc704a-2b59540f-116b-0017a477fc18/VMNAME/VMNAME.vmx'] Invalid transition requested (VM_STATE_ON_SHUTTING_DOWN -> VM_STATE_CREATE_SNAPSHOT): Invalid state


Cause

This issue occurs if the vCenter Server management agents have stopped causing the snapshot attempt to move in to the ON_SHUTTING_DOWN state.

Resolution

To resolve this issue, restart the VMware agents on the host.

To restart the agents:
  1. Ensure that the Virtual machine startup / shutdown with host feature is disabled before this step. For more information, see   Restarting hostd (mgmt-vmware) on ESX hosts restarts hosted virtual machines where virtual machine Startup/Shutdown is enabled (1003312)
    .
  2. Restart the management agents on the host. For more information, see Restarting the Management agents on an ESXi or ESX host (1003490).
  3. On vCenter Server, restart the vCenter and Management Web services. For more information, see Stopping, starting, or restarting vCenter services (1003895).
  4. Attempt the snapshot again.
  5. 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.

Additional Information

Default locations of the hostd.log file are located at:
  • ESXi 5.x: /var/log
  • ESXi 3.5/4.x: /var/log/vmware/

See Also

Update History

02/18/2014- Added ESXi to product category

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 11 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.
What can we do to improve this information? (4000 or fewer characters)
  • 11 Ratings
Actions
KB: