Sync Inventory task fails with an Internal Error on VCF Operations
search cancel

Sync Inventory task fails with an Internal Error on VCF Operations

book

Article ID: 442938

calendar_today

Updated On:

Products

VCF Operations/Automation (formerly VMware Aria Suite) VMware SDDC Manager / VCF Installer VMware Cloud Foundation

Issue/Introduction

  • During execution of the Sync Inventory workflow for a VMware Cloud Foundation (VCF) Software-Defined Data Center (SDDC) Manager domain within the VCF Operations platform, the process fails during the domain configuration drift management cycle.
    • The Sync Inventory task execution stops and generates the following error within the VCF Operations user interface:

      Message: Import operation for sync with id ###-###-###-### failed internally. Command was python3 /opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py sync --domain-name <domain_name> --skip-ssh-thumbprint-validation --internal-vcf-auth --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: ####


    • The SDDC manager log files located in /var/log/vmware/vcf/domainmanager/brownfield/###-###-###-###/ report the following error:
      Type", "object Name", "Day-N Operation","Severity Level", "Status", "Check Name", "Description", "Details"."Remediation"
      "VALIDATION FAILED","vCenter FQDN DNS aliases check","Check if vCenter FQDN has DNS alias entries","vCenter FQDN has DNS alias(es) configured","please ensure there are no DNS "ERROR"



    • To manually validate the incorrect name, run these commands by taking SSH to the vCenter as root user:
      • Forward Lookup: Ensure it returns only one IP address.
        nslookup <vCenter_FQDN>


      • Reverse Lookup: If this returns more than one hostname (e.g., the primary FQDN plus an alias), a duplicate PTR record exists.
        nslookup <vCenter_IP>

    Environment

    • VCF Operations (formerly VMware Aria Operations)

    • VMware Cloud Foundation 9.x

    • VMware SDDC Manager

    Cause

    VCF Operations enforces a strict one-to-one (1:1) relationship mapping between the vCenter Server Fully Qualified Domain Name (FQDN) and its assigned IP address. If the infrastructure Domain Name System (DNS) server configuration returns multiple Pointer (PTR) resource records during a reverse lookup, or multiple Address (A) resource records during a forward lookup, the validation check fails.

    Resolution

    To resolve this issue, correct the multi-mapping entries on the authoritative DNS server and flush the local resolver cache.

    1. Remove any redundant or incorrect Pointer (PTR) resource records identified during the nslookup validation.

    2. Verify that no Canonical Name (CNAME) records or additional Address (A) resource records exist for the vCenter Server IP address that create a multi-mapping environment.

    3. Flush the Domain Name System (DNS) cache on the SDDC Manager appliance by executing the following command:

      systemd-resolve --flush-caches

       

    4. Re-initiate Sync Inventory the task within the VCF Operations user interface.