Could not find object with moref "<VM_MOREF>" and VC ID "<VC_UUID>" in inventory category "VirtualMachine"
[VM_Name]-clone on the General panel10.x
This issue is caused by a "split-brain" inventory state where a VM exists as both an original and a clone within vSphere. This duplication creates a conflict in the VCD PostgreSQL database, where the system cannot lock onto a singular, valid MoRef for the VM entity. As a result, VCD references become stale or corrupted, preventing management operations.
To resolve this issue, the VM must be completely dissociated from its stale VCD record and re-imported as a new entity.
1. Clean up VMware Cloud Director
2. Clean the Virtual Machine Configuration (vSphere)
Log in to the vSphere Client.
Power Off the target VM.
cloud.uuid.Example: cloud.uuid = "50 12 34 56..."
3. Reset vCenter Inventory
4. Re-Import into Cloud Director
Manually editing VCD database tables to fix MoRef mismatches is generally ineffective for this specific issue, as the inventory synchronization service will overwrite manual changes as long as the duplicate entities exist in vSphere. The re-import process is the only supported method to generate a clean, conflict-free database entry.