"Object has already been deleted or has not been completely created" error.
search cancel

"Object has already been deleted or has not been completely created" error.

book

Article ID: 344679

calendar_today

Updated On: 02-10-2025

Products

VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

Error while migrating the VM or reverting a snapshot: "The object 'vim.VirtualMachine:vm-abc' has already been deleted or has not been completely created"

 

  • Reverting to a snapshot in vCenter Server fails with the error:
    This object has already been deleted or has not been completely created.
  • Unable to power on or migrate a cloned virtual machine.
  • In the location less /var/log/vmware/vpxd/vpxd.log inx vCenter Server logs, you see entries similar to:
    'App' opID=3DB842F7-0000xxxx] [VpxLRO] -- ERROR task-48xxxx -- vm-92cd -- vim.vm.Snapshot.revert: vmodl.fault.ManagedObjectNotFound:
    134ab-Result:
    134ab-(vmodl.fault.ManagedObjectNotFound) {
    134ab- dynamicType = <unset>,
    134ab- faultCause = (vmodl.MethodFault) null,
    134ab: obj = 'vim.vm.Snapshot:snapshot-133xyz',
    134ab- msg = "",

     

     
  • In the location  less /var/run/log/hostd.log on esxi , you see entries similar to:
     F4F51B90 info 'Vmomi'] Throw vmodl.fault.ManagedObjectNotFound
    F4F51B90 info 'Vmomi'] Result:
    (vmodl.fault.ManagedObjectNotFound) {
    dynamicType = <unset>,
    faultCause = (vmodl.MethodFault) null,
    obj = 'vim.vm.Snapshot:abc-snapshot-4',
    msg = "",
    }

     

 

 

 

Environment

VMware vCenter Server 8.0.x
VMware vCenter Server 7.0.x
VMware vCenter Server 6.0.x

Cause

This issue occurs due to a mismatched snapshot object id in vCenter Server database. The mismatch can be triggered by migrating the powered off virtual machine to a different ESXi host then restarting the vpxd service.

Resolution

  1. Remove the virtual machine from the inventory and re-add.
  2. Restart the revert operation within vCenter Server.
  3. Log in to the ESXi host directly, and revert the snapshot.
  4. Revert the snapshot using the command-line in the ESXi host.                                                                               

Note: If your problem still exists after trying the steps in this article:

Note:  You may also receive this error while taking a snapshot. In this case, remove the virtual machine from the inventory and re-add as per Step 1.



Additional Information