Error: "Could not find object with moref vm-##### and VC ID ########-####-####-######## in inventory category VirtualMachine" when moving VM between vApp in different Organization VDC or Attempting to Power on a VM from VCD
book
Article ID: 385348
calendar_today
Updated On:
Products
VMware Cloud Director
Issue/Introduction
Error when moving or migrating a Virtual Machine(VM) between vApps in different Organization VDC (Org VDC) across Datacenter Group.
The VM in the VMware Cloud Director(VCD) UI shows in Unknown status.
Actions such as VM power on, VM sizing policy change or Importing a VM to an existing vApp fail with an error like follows in the Tenant portal.
[########-####-####-############] com.vmware.ssdc.library.exceptions.InventoryObjectNotFoundException: Could not find object with moref "vm-######" and VC ID "########-####-####-############" in inventory category "VirtualMachine"
Environment
VMware Cloud Director 10.5.x
VMware Cloud Director 10.6.x
Cause
This issue occurs due to a mismatch in the computevm table from vm and vm_inv on VCD database.
Resolution
To resolve this issue, contact Broadcom Support and note this Article ID (385348) in the problem description. For more information, see Creating and managing Broadcom support cases.