A Brownfield import of a vCenter Server is failing within VCF 9.
Within the import logs, you may see an error similar to the following:
[####-##-## ##:##:##,###] [INFO] vcf_brownfield:831: Could not complete import domain operation for vCenter: VCSA-FQDN
Within the commonservice.log, you may see an error similar to the following:
####-##-#T##:##:##.###+0000 ERROR [common,<redacted>,194e] [c.v.e.s.i.s.e.DomainExtensionsImpl,http-nio-127.0.0.1-7100-exec-44] Failed to post domain inventorycom.vmware.evo.sddc.inventory.model.InventoryAlreadyExistsException: 8828f96c-120a-48c9-806f-2837e600bbce ESX-FQDN already exists
VCF 9
This issue is due to the hosts already being a part of SDDC.
In some cases, a prevously added WLD may have been deleted. The delete process of a WLD in VCF 9 is a 2 step process in that the hosts are moved to the free pool (Unused) and must be decommissioned from SDDC directly.
Decommission the ESX hosts from SDDC.
1. In the vSphere Client, click Global Inventory ListsHostsUnassigned Hosts.
2. Select one or more hosts and click Decommission Selected Hosts.
3. Activate or deactivate Skip failed hosts during decommissioning.
This setting is enabled by default. When enabled, hosts that fail are skipped and decommissioning continues on the remaining hosts.
4. Click Confirm.
Once the hosts are removed, re-attempt the Brownfield Import.