During a VMware Cloud Foundation (VCF) brownfield import, the deployment fails at the "Generate input for resource pools configuration" step. The domainmanager logging of the VCF Installer appliance shows an error similar to:
YYYY-MM-DDTHH:MM:SSSS+0000 ERROR [vcf_dm, ##UUID##, ###] [c.v.v.v.f.a.GenerateInitSddcBrownfieldResourcePoolsConfigInput, dm-exec-1] Exception occurred trying to prepare input for resource pools configuration java.lang.IllegalArgumentException: Expected 1 but did not find any MORs of a type VirtualMachine and name <vCenter_Name>
At some point during the import, the management vCenter Server's display name was changed. The logging snippet above will show the previous vCenter Server name.
VMware Cloud Foundation (VCF) 9.x
The display name of the vCenter Server Appliance (vCSA) virtual machine was manually changed in the vSphere Client UI during the import. This causes a mismatch with the original deployment specifications, preventing the SDDC Manager API lookup from locating the VirtualMachine Managed Object Reference (MOR).
Log in to the vSphere Client.
Locate the vCSA virtual machine in the inventory.
Right-click the virtual machine and select Rename.
Change the display name back to the exact name expected by the installer (as shown in the error found in the domainmanager logging).
Return to the VCF Installer and restart the failed deployment task.