We have a VM that we are unable to delete. When you right click on the VM in Infrastructure Client, the only options are:
Snapshot > Snapshot Manager
Complete Migration...
Add Alarm...
Add Permission...
Open Console
Report Performance...
When attempting the complete migration, it throws an error saying it cannot find a certain file on the datastore. However, I can view the file in the datastore. Any ideas why this VM is stuck and anyway to delete it? Also curious as to how this situation occurs.
try the following:
Login to the ESX console and run those 2 commands :
service mgmt-vmware restart
service vmware-vpxa restart
No impact on your running VMs.
Good Luck
From the cli run the following
for machine in `vmware-cmd -l` ; do echo $machine `vmware-cmd $machine getstate` ; done
Which will show the state of all your VMs. What is the state reported for the the VM?
The state shows as powered off. GUI shows the same thing (lack of green play symbol)
Restart the VC service
try the following:
Login to the ESX console and run those 2 commands :
service mgmt-vmware restart
service vmware-vpxa restart
No impact on your running VMs.
Good Luck