"Generate inputs for configuring NSX Manager after Import" task, even though the vCenter Server reflects an active status within the SDDC Manager and VCF inventory.Task Name: Generate inputs for configuring NSX Manager after ImportStatus: FailedError Message: Message: A problem has occurred on the server. Please retry or contact the service provider and provide the reference token.Reference Token: ######Underlying Cause Listed in UI: Cause: vCenter with the name <vCenter-fqdn> not found in the inventoryChecking the status of the vCenter and Domains in the SDDC DB are all in ACTIVE state, which is as follows:
Under SDDC Manager's /var/log/vmware/domainmanager/domainmanager.log, below log snips are found (which is failing to check the inventory with lowercase of the vCenter):
YYYY-MM-DDTHH:MM:SS ERROR [vcf_dm,############,####] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-##] [TOKEN] 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. at com.vmware.evo.sddc.orchestrator.core.ProcessingTaskSubscriber.invokeMethod(ProcessingTaskSubscriber.java:450) at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) at java.base/java.lang.Thread.run(Thread.java:840)Caused by: java.lang.RuntimeException: vCenter with the name <vcenter-fqdn.example.com> not found in the inventory at com.vmware.vcf.vimanager.fsm.actions.GeneratePostNsxImportConfigurationsInputAction.lambda$getVcenterInventoryData$9(GeneratePostNsxImportConfigurationsInputAction.java:274)
Under SDDC Manager's /var/log/vmware/vcf/domainmanager/brownfield/<UUID>/output/guardrails_report_vcenter-fqdn.example.com_all.csv, below logs are found (which are all successful, but with lowercase of the vCenter):"NsxtCluster","<nsx-fqdn.example.com>","NSX Import","INFO","VALIDATION_SUCCESSFUL","Multi-NSX compute managers","Checks if the NSX has multiNsx compute managers related to the vCenter","The NSX does not have multiNsx compute managers for vCenter vcenter-fqdn.example.com","""NsxtCluster","<nsx-fqdn.example.com>","NSX Import","INFO","VALIDATION_SUCCESSFUL","Import NSX-vCenter compute manager","Check if NSX has a compute manager registered for the vCenter for import","NSX has a compute manager for vCenter vcenter-fqdn.example.com","""VcManager","vcenter-fqdn.example.com","Import","INFO","VALIDATION_SUCCESSFUL","vCenter Server Connection Latency","Check if connection latency to vCenter Server is within acceptable limits","vCenter Server latency is within acceptable limits",""
UPPERCASE Hostname and PNID./usr/lib/vmware-vmafd/bin/vmafd-cli get-pnid --server-name localhost && hostname -fVCENTER-FQDN.EXAMPLE.COMVCENTER-FQDN.EXAMPLE.COMTo resolve this issue, follow below steps:
vcf user and then su root.applications.properties file to all access, using following command:echo "vcf.vault.http-access=true" >> /etc/vmware/vcf/domainmanager/application.propertiesdomainmanager service, using following command:systemctl restart domainmanagercurl -k -s http://localhost/domainmanager/internal/vault/<workflow_id> -X GET | json_pp > /tmp/workflow.json/tmp/workflow.json file.curl -k -s http://localhost/domainmanager/internal/vault/<workflow_id> -X PUT -H "Content-type: text/plain" -d @/tmp/workflow.jsonRESTART TASK to restart the failed task.For more information, refer: Re-try an existing workflow by modifying the workflow spec file