Description:
Import provided infrastructure into SDDC Manager as a workload domain
Progress Messages:
Import operation for import with id ########-####-####-######### failed internally.
Command was python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfleld.py import -- skip-ssh-thumbprint-validation -- sso-user.
[email protected] -- domain-name <domain name> -- vcenter <vCenter name> -- internal-vcf-auth -- nsx-deployment-spec-path /tmp/nsxDeploymentSpec.json -- skip-nsx-overlay -- output-dir /var/log/vmware/vcf/domainmanager/brownfleld/########-####-####-#########/ --non-interactive. Please check the log files located in /var/log/vmware/vcf/domainmanager/brownfield/########-####-####-#########/ on the SDDC Manager appliance
Error:
Message: Import operation for import with id ########-####-####-######### failed internally. Command was python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py
import -- skip-ssh-thumbprint-validation -- sso-user [email protected]. domain-name <domain name> -- vcenter <vCenter name> -- internal-vcf-auth --nsx-deployment-spec-path/tmp/nsxDeploymentSpec.json -- skip-nsx-overlay --output-dir /var/log/vmware/vcf/domainmanager/brownfield/########-####-####-#########/ -- non-interactive. Please check the log files located
In /var/log/vmware/vcf/domainmanager/brownfield/########-####-####-#########/ on the SDDC Manager appliance
Remediation Message:
Reference Token: ##### ERROR [vcf_dm,#############] [c.v.e.s.o.model.error.ErrorFactory,dm-###-22] [####] IMPORT_OPERATION_FAILED Import operation for import with id ######-###-###-###-######## failed internally. Command was python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py import --skip-ssh-thumbprint-validation --sso-user [email protected] --domain-name <Domainame> --vcenter <vCenter FQDN> --internal-vcf-auth --nsx-deployment-spec-path /tmp/nsxDeploymentSpec.json --skip-nsx-overlay --output-dir /var/log/vmware/vcf/domainmanager/brownfield/######-###-###-###-########/ --non-interactive. Please check the log files located in /var/log/vmware/vcf/domainmanager/brownfield/######-###-###-###-########/ on the SDDC Manager appliance
[ERROR] request_helper:31: Result status code from ESC[91minventory import: 500ESC[00m
[CRITICAL] import_domain:200: Could not import the information for the new domain in SDDC Manager: Could not import inventory into SDDC Manager. Please review '/var/log/vmware/vcf/commonsvcs/vcf-commonsvcs.log' for further details.ERROR [common,######-###-###-###-############ ,39##] [c.v.e.s.i.s.EsxiInventoryServiceImpl,http-nio-##########-###-92] ESXi <hostaname>already exist: ######-###-###-###-############ <hostname> already exists
ERROR [common,######-###-###-###-############ ,39##] [c.v.e.s.i.s.e.DomainExtensionsImpl,http-nio-##########-###-92] Failed to post domain inventory com.vmware.evo.sddc.inventory.model.InventoryAlreadyExistsException: ######-###-###-###-############ <hostname> already exists
VMware Cloud Foundation (VCF) 9.x
SDDC Manager 9.x
The error "InventoryAlreadyExistsException" occurs due to a database mismatch where stale host entries persist in the SDDC Manager PostgreSQL database from previous failed import attempts. This may also coincide with management interface networking issues or FQDN case mismatches.
Follow this unified resolution path to resolve the import failure:
Snapshot SDDC Manager: Take a snapshot of the SDDC Manager appliance before modifying the database.
To resolve this, the stale entries of the host must be manually removed from the SDDC Manager database before retrying the import. (see KB 316084)
Validate Networking: Ensure all host management interfaces are configured with static IPs (see KB 433966).
Correct FQDN: Verify host FQDNs match DNS records to prevent case-sensitivity mismatches (see KB 445179).
This issue requires assistance from Broadcom Technical Support. We recommend contacting Broadcom Support for further investigation.