Error: Sync Inventory failure with Standalone Host in VCF Operations Manager 9.x.
search cancel

Error: Sync Inventory failure with Standalone Host in VCF Operations Manager 9.x.

book

Article ID: 442951

calendar_today

Updated On:

Products

VMware SDDC Manager / VCF Installer VCF Operations VMware vCenter Server VMware vSphere ESXi

Issue/Introduction

  • This article addresses an issue where the Sync Inventory task fails in VMware Cloud Foundation (VCF) Operations Manager under Fleet Management > Tasks with the error: Error: Import operation for sync with id ####-####-####-#### failed internally.



  • When checking under VCF Instances, the Inventory displays the Standalone Host successfully.



  • Under SDDC's /var/log/vmware/vcf/domainmanager/brownfield/UUID/output/guardrails_report_.csv, below error logs are found:

    [YYYY-MM-DDTHH:MM:SS] [INFO] check domain: 270: [93mFor more details, please, check:[00m [93m
        Failed guardrails YML:[00m/var/log/vmware/vcf/domainmanager/brownfield/#####-####-####-####-#####/output/guardrails_report_<VCENTER-FQDN>.yml
        Failed guardrails CSV:[00m/var/log/vmware/vcf/domainmanager/brownfield/#####-####-####-####-#####/output/guardrails_report_<VCENTER-FQDN>.csv
        All guardrails CSV:[00m/var/log/vmware/vcf/domainmanager/brownfield/#####-####-####-####-#####/output/guardrails_report_<VCENTER-FQDN>_all.csv
    [YYYY-MM-DDTHH:MM:SS] [CRITICAL] vcf brownfield:1007:ESC [91mFailed to sync domain <MGTDOMAIN>
    Traceback (most recent call last):
      File "/opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf brownfield.py", line 984, in sync domain
       sync_domain result: list [str]=sync. sync_domain ()
      File "/opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/domain_sync/sync_domain.py", line 114, in
       raise DomainSyncException (ErrorMessages.GUARDRAILS SYNC FAILURE_CRITICAL FOR_DOMAIN.format (domain_id) )
    common.common_exceptions.DomainSyncException: Could not proceed with sync operation since domain with Id: #####-####-####-####-##### has
      failed guard rails. This would leave SDDC Manager in a unconforming state Retry the sync operation after fixing guard rails warnings.

  • Under SDDC Manager's /var/log/vmware/vcf/domainmanager/domainmanager.log, below error log snips are found:

    YYYY-MM-DDTHH:MM:SS ERROR [vcf dm, ##########, ####] [c.v.e.s.o.model.error.ErrorFactory, dm-exec-##] [######] ERROR_IN_VLAN_BACKED_TNC_CONFIG_GENERIC Error in configuring VLAN backed transport node collections
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Error in configuring VLAN backed transport node collections
    at com. vmware . vcf . common . fsm.plugins .nsxt . policy. action.CreateVlanBackedTransportNodeCollectionAction. execute (CreateVlanBackedTransportNodeCollectionAction. java : 273)
    at com. vmware. evo. sddc. orchestrator.platform. action. FsmActionState. invoke (FsmActionState. java: 66)
    at com. vmware. evo. sddc. orchestrator.platform. action. FsmActionPlugin. invoke (FsmActionPlugin. java: 161)
     
    Caused by: java.util.concurrent.CompletionException: com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: Error in configuring VLAN backed transport node collections for clusters <STANDALONEHOST-FQDN>
    at java.base/java. util. concurrent. CompletableFuture . encodeThrowable (CompletableFuture. java : 315)
    at java.base/java. util. concurrent. CompletableFuture$AsyncSupply . run (CompletableFuture. java : 1770)
    .. 4 common frames omitted
     
     

Environment

  • VMware Cloud Foundation (VCF) Operations Manager 9.x
  • VMware SDDC Manager 9.x
  • vCenter 9.x
  • ESX Host 9.x

Cause

The failure is due to strict infrastructure validation (guardrails) requiring a cluster context (minimum 3 hosts) for NSX configuration.

Resolution

To resolve this issue, follow the steps below:

  1. Address Guardrail Errors:
    1. Review the Guardrails Report: Locate and open the failed guardrails CSV file referenced in your logs. You can find it at this path: /var/log/vmware/vcf/domainmanager/brownfield/###-###-###-###/output/guardrails_report_vcenter_fqdn.csv

    2. Review the specific errors detailed in the CSV file and manually correct them. For more details, refer: Sync Inventory from VCF operation fails - Import operation for sync with id ###-###-###-### failed internally

  2. Relocate the Standalone Host:
    1. Log in to the vCenter Server UI where the Standalone Host resides using, SSO Credentials.

    2. Navigate to the Cluster in which the Standalone Host is present.

    3. Drag and Drop on to the Datacenter within the same vCenter (this will move the Host out of the Cluster).

  3. Re-Sync Inventory:
    1. Return to the VCF Ops Manager UI.

    2. Rerun the Sync Inventory task.