Hi guys,
Hopefully someone will have some amazingly simple solution to my current conundrum!
Does anyone have any bright ideas on how to get rid of this ghost VM, and thus allow us to create new VMs within this vApp?
Thanks!
Hi,
There is a table 'VM_INV' in vCD database, finding out date entries with the equivalent MOREF on that table and cleaning it up.
Instead of hacking away at the database, (which is not supported) check the "Stranded Items" folder.
Missing VMs should be listed here, so you should be able to purge the already-deleted VM from VCD that way.
This will not show the object which is already deleted from vSphere.
Stranded Items is for when an object is "to be deleted" in vcloud director, but we fail to perform the delete task in the appropriate system (vCenter/vShield/NSX).
This is quite the opposite, which is the VM is in a vApp in an Inconsistent state (vCD thinks it's powered on, vSphere doesn't have a power state since it's missing from inventory).
I'll ask around if there is an easy way to fix this. the key point will be getting the VM into an Off state in vCloud Director, then it should delete without issue.