VMware Cloud Community
Aarif_Khan
Contributor
Contributor

VM deletion failed with error "Cannot complete the operation due to an incorrect request to the server"

Hi,

Backup snaphot was failing for the VM, as multiple orphaned snapshots were present. We tried to delete the snapshots and consolidate disks manually, but that too failing with an error.

Later we have cloned the VM successfully and powered off the original affected VM. The cloned is running fine without any issue.

Now, we want to delete the old VM from Infra to reclaim the datastore space, but getting below error while executing the VM deletion operation from vSphere Client as well from vSphere Cli.

"Cannot complete the operation due to an incorrect request to the server"

Hence, need assistance to resolve the issue.

Thank You.

Reply
0 Kudos
9 Replies
Aarif_Khan
Contributor
Contributor

Thanks for the quick response, I already tried this but getting this same error message.

Reply
0 Kudos
estanev
Enthusiast
Enthusiast

You can try with "Remove from inventory" and then manually delete the VM files from the datastore to reclaim the space.

admin
Immortal
Immortal

Remove the CDROM from the guest and then try to delete from disk

Reply
0 Kudos
Aarif_Khan
Contributor
Contributor

I think this the last option I can try but there are around 100+ orphaned files present in VM folder, manual deletion of these files is time consuming process.

Regards,

Aarif

Reply
0 Kudos
Aarif_Khan
Contributor
Contributor

Removed cdrom and tried, but same error.

Regards,

Aarif

Reply
0 Kudos
jampani_siva
Contributor
Contributor

Hi Khan, does it fixed? I have same issue so what might be the solution.

Reply
0 Kudos
Aarif_Khan
Contributor
Contributor

Hi Siva

Yes, In my case, the solution provided by estanev was helpful.

Thank You "estanev".

Regards,

AarK0413

Reply
0 Kudos
Nagaraju05
Contributor
Contributor

Follow the Below Steps

 

Note the VM folder name like "7ae01e5f-6e61-6887-da9c-*******\VMname.vmdk"
Login ESXI via Root in GUI

Delete the VM from ESXI host

Delete the Folder in Datastore

Thanks

Naga

 

Reply
0 Kudos