When attempting to move a VM between vApps the operation fails with:
MigrateException: MIGRATION_FAILED_DESTINATION_RESOURCE_RECONFIG_FAILED at com.vmware.ssdc.util.LMException.wrap(LMException.java:135)
In the logs there will be a specification that this is due to a null pointer exception:
2025-01-06 17:15:10,127 | ERROR | Backend-activity-pool-326372 | ComputeVmImpl | Error encountered while reconfiguring the hub urn:uuid:<UUID> during migration of computeVm <UUID>. | requestId=<ID>,request=POST https://<VCD FQDN>/api/vApp/vapp-<UUID>/action/recomposeVApp,requestTime=1736201699438,remoteAddress=<IP Address>:49983,userAgent=Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 ...,accept=application/*+xml;version 40.0.0-alpha vcd=<VCD ID>,task=<task ID> activity=(com.vmware.vcloud.backendbase.management.system.TaskActivity,urn:uuid:<VCD ID>,task=<task ID> ) activity=(com.vmware.vcloud.vdc.impl.ComposeRecomposeVAppActivity,urn:uuid:<vApp ID>) activity=(com.vmware.vcloud.vdc.impl.LinkVMsToTargetVAppActivity,urn:uuid:<ID>) activity=(com.vmware.vcloud.vdc.impl.MoveVmUsingVmotionActivity,urn:uuid:<ID>)
java.lang.NullPointerException
at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.executeResourceReconfig(GenericVirtualResourcePool.java:2587)
at com.vmware.vcloud.fabric.compute.vrp.GenericVirtualResourcePool.executeResourceReconfig(GenericVirtualResourcePool.java:2601)
at com.vmware.vcloud.fabric.compute.vrp.AllocationPoolVirtualResourcePool.configureHubIfNeeded(AllocationPoolVirtualResourcePool.java:239)
at com.vmware.vcloud.fabric.compute.cvm.ComputeVmImpl.configureHubIfNeeded(ComputeVmImpl.java:314)
VMware Cloud Director 10.6.0.1
There is a resource pool missing from vCenter that is expected that is associated with the virtual machine in the database.
We will need to SSH into the primary VMware Cloud Director cell and perform the following steps from the docuementation: https://techdocs.broadcom.com/us/en/vmware-cis/cloud-director/vmware-cloud-director/10-6/vmware-cloud-director-service-provider-portal-guide-10-6/vcd-cell-management-tool-reference-admin/cmt-detect-rp-mismatches-admin.html
After the mis-match is corrected the error should no longer appear. If it does engage VMware By Broadcom support.