Symptoms:
Error similar to below can be seen in domain manager logs :
```
Caused by: java.lang.IllegalArgumentException: No credentials found for vcenter with ip: vcenter.example.com
at com.vmware.vcf.nsxtedgeclustermanager.fsm.actions.FetchCredentialsFromInventoryAction.getVcRemoteEndpoint(FetchCredentialsFromInventoryAction.java:229)
at com.vmware.vcf.nsxtedgeclustermanager.fsm.actions.FetchCredentialsFromInventoryAction.getClusterRemoteEndpoints(FetchCredentialsFromInventoryAction.java:251)
```
Log location - `/var/log/vmware/vcf/domainmanager/domainmanager.log`
As part of migration, VCF is not decommissioning the PSCs till all the Workload Domains have been migrated. Now, if during migration a Workload Domain is created, as part of creation process, the bug in the code incorrectly picks up old PSCs instead from the migrated Management domain.
Currently there is no resolution to the issue.
Workaround:
To workaround the issue you need to run the following script after deployment of every new Workload Domain:
The script will be present at:
```
/apps/migrationcoordinator/packages/migration_coordinator/migration-workarounds/UpdateNewViPSCMapping.py
```
To Run -
```
SSH to the SDDC Manager Virtual Machine.
cd /apps/migrationcoordinator/packages/migration_coordinator/migration-workarounds/
PYTHONPATH=/apps/migrationcoordinator/packages/ python3 UpdateNewViPSCMapping.py -d '{new_domain_id}'
```
Replace {new_domain_id} with the id of the domain which was successfully deployed.
Example:
PYTHONPATH=/apps/migrationcoordinator/packages/ python3 UpdateNewViPSCMapping.py -d '########-####-####-####-########89f1'