This issue is caused by the storage vMotion operation exceeding the default relocate.vm.workflow.timeout.minutes setting in Cloud Director, which is set to 5 minutes by default. When this timeout is reached, Cloud Director reverts the operation in its database to maintain consistency, but it does not cancel the task in vCenter. vCenter continues the operation until completion, leading to an inventory mismatch where VCD expects the VM in its original location.
To prevent future occurrences for long-running migrations, increase the timeout value:
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n relocate.vm.workflow.timeout.minutes -v 60/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n relocate.vm.workflow.timeout.minutes -lTo correct the current mismatched VM:
.vmx file, and select Register VM to add it to the correct destination vCenter/Cluster.