Caused by: com.vmware.vcloud.fabric.compute.ResourcePoolNotFoundException
VMware Cloud Director 10.x
VCD uses Resource Pools for its Provider, Organization and System resource. Disabling vSphere DRS in vCenter removes all of the resource pools backing the VCD there by causing a variety of issues.
Option 1) Restore vCenter/VCD/NSX from backup to a time before the DRS was disabled.
Option 2) Restore vCenter Server from backup to an ISOLATED network and export resource pool tree.
a) Restore vCenter Server from backup to an ISOLATED network.
b) Bring vCenter online in that location and then Login to the UI
c) To export the resource pool tree from the compute cluster, navigate to the Configure tab -> vSphere DRS.
d) Click the edit button and then toggle 'vSphere DRS' slider to disabled.
e) A yellow banner appears on screen. Click the link "save snapshot'. This saves the snapshot tree to your desktop as a .snapshot file.
f) Take the .snapshot file and copy it over to the other vCenter that you want to fix.
g) Import the .snapshot file. To do this right-click on the cluster and select "Restore Resource Pool Tree"
Option 3) Recreate resource pools and place the VM in their respective resource pools.
a) SSH to primary VCD cell as root.
b) To fix the mismatch, run the following command as per the documentation.
/opt/vmware/vcloud-director/bin//cell-management-tool detect-rp-mismatches --fix-mismatch-with-vc
The prompt will assist with the steps to be carried out.
c) From the Cloud Director Provider portal, reconnect the vCenter as per the steps in the documentation.
d) Verify tasks such as Create vApps, power on/off VMs, Create OrgVDC, etc.are working as expected.
Using DRS Advanced Setting - IsClusterManaged : https://knowledge.broadcom.com/external/article/324905/using-drs-advanced-setting-isclusterman.html
DRS requirements for VMware Cloud Director : https://docs.vmware.com/en/VMware-Cloud-Director/10.5/VMware-Cloud-Director-Install-Configure-Upgrade-Guide/GUID-C258BED7-9664-4DFE-B812-100281D4D460.html