When performing a brownfield import (Import Existing vCenter) in VMware Cloud Foundation (VCF) 9.x, the task fails during the "Generate Inputs for configuring NSX Manager after import" subtask.
The following error is displayed in the VCF Operations or SDDC Manager UI:
A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.vCenter with the name <vCenter FQDN> not found in the inventory.Review of the /var/log/vmware/vcf/domainmanager/domainmanager.log on the SDDC Manager reveals a stack trace similar to:
ERROR [vcf_dm,###########,eb44] [c.v.e.s.o.model.error.ErrorFactory,dm-###-11] [######] VCF_ERROR_INTERNAL_SERVER_ERROR
Invocation of prefix '' part of task GeneratePostNsxImportConfigurationsInputAction in plugin ViDomainServicePlugin failed with exception.
com.vmware.evo.sddc.common.core.error.InternalServerErrorException: Invocation of prefix ''
part of task GeneratePostNsxImportConfigurationsInputAction in plugin ViDomainServicePlugin failed with exception.
..
Caused by: java.lang.RuntimeException: vCenter with the name ######## not found in the inventory
This issue occurs due to a strict, case-sensitive string mismatch between the vCenter Server FQDN provided in the brownfield import specification (JSON or UI input) and the vCenter Server's Primary Network Identifier (PNID).
In VCF 9.x, the GeneratePostNsxImportConfigurationsInputAction task performs an exact string comparison to map inputs to the inventory. If the environment uses mixed-case or uppercase FQDNs (e.g., VCENTER.example.local) but the import spec provides lowercase (e.g., vcenter.example.local), the inventory lookup returns a null result, triggering the java.lang.RuntimeException: vCenter with the name ######## not found in the inventory error.
To resolve this, you must align the SDDC Manager inventory record with the vCenter PNID and reset the failed domain status.
/usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhostVC-01.example.com).psql -h localhost -U postgres -d platform -c "UPDATE domain SET status = 'ACTIVATING' WHERE status = 'FAILED';"psql -h localhost -U postgres -d platform -c "SELECT id, vm_hostname FROM vcenter;"psql -h localhost -U postgres -d platform -c "UPDATE vcenter SET vm_hostname = '<Exact_Casing_From_vCenter>' WHERE vm_hostname = '<Incorrect_Casing_From_Step_7>';"To receive updates on this behavior or potential future lifecycle management enhancements, please .