[########-####-####-####-############] One or more exceptions have occurred - Could not find object with moref "resgroup-#######" and VC ID "########-####-####-####-############" in inventory category "ResourcePool".
/opt/vmware/vcloud-director/logs/vcloud-container-debug.log the below error is present. ERROR | task-service-activity-pool-#| FutureUtil | Task future is not complete. | requestId=########-####-####-####-############,request=POST https://vcloud.example.com/api/vdc/<vcd-id>/action/instantiat...,requestTime=1775566292234,remoteAddress=<ipaddress>,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:148.0) Gecko/201...,accept=application/*+xml;version 39.0 vcd=########-####-####-####-############,task=########-####-####-####-############ activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:########-####-####-####-############)com.vmware.ssdc.library.exceptions.InventoryObjectNotFoundException: Could not find object with moref "resgroup-####" and VC ID "########-####-####-####-############" in inventory category "ResourcePool". at com.vmware.vcloud.val.internal.impl.VC20VirtualEngine.checkInventoryRecord(VC20VirtualEngine.java:1243) at com.vmware.vcloud.val.internal.impl.VC20VirtualEngine.getDatastoresForResourcePool(VC20VirtualEngine.java:3213) at com.vmware.vcloud.fabric.storage.storedVm.impl.AbstractCreateStoredVmActivity.findDatastoreOnVc(AbstractCreateStoredVmActivity.java:899) at com.vmware.vcloud.fabric.storage.storedVm.impl.AbstractCreateStoredVmActivity.copyVmInVc(AbstractCreateStoredVmActivity.java:336)VMware Cloud Director 10.6.x
This issue occurs due to a mismatch between the VMware vCenter inventory and the VMware Cloud Director database. Specifically, the error indicates that a resource pool referenced by VCD no longer exists or is out of sync with the vCenter Server.
To resolve this issue, confirm that the resource pool exists in the vCenter Server. Once confirmed that it does exist, perform a reconnect of vCenter Server from Cloud Director in order to synchronize the managed object reference state.
After accessing the vCenter MOB entry for resgroup-12345, verify the result:
If the resource pool does not exist, perform the following remediation steps:
1. Create a new resource pool in vCenter Server by following the steps in the official documentation: Create a resource pool
2. Execute the cell management tool to resolve the synchronization issue: Detect and Fix Resource Pool Mismatches between VMware Cloud Director and vCenter