The Import of Existing vCenter Inventory sync task in VCF 9.0 fails with error "Failed to sync domain WLD-##"
search cancel

The Import of Existing vCenter Inventory sync task in VCF 9.0 fails with error "Failed to sync domain WLD-##"

book

Article ID: 420203

calendar_today

Updated On:

Products

VCF Operations VMware SDDC Manager

Issue/Introduction

  • Brownfield import of the vCenter server in the VCF 9.X during inventory sync fails with the error "Failed to sync domain WLD-##"

  • Error snippet from domain manager logs:

/var/log/vmware/vcf/domainmanager/brownfield/1c538de6-####-####-b0e4-d767cb248dfb/

[YYYY-MM-DD HH:MM:SS,842] [INFO] sddc_manager_helper:919: monitor import guardrails - COMPLETED
[YYYY-MM-DD HH:MM:SS,874] [INFO] check_domain_reporter:51: ESC[91mTotal checks: 74, Successful checks: 67, Failed checks: 7, Internal errors: 0ESC[00m
[YYYY-MM-DD HH:MM:SS,874] [INFO] check_domain:270: ESC[93mFor more details, please, check:ESC[00mESC[93m
        Failed guardrails YML: ESC[00m/var/log/vmware/vcf/domainmanager/brownfield/1c538de6-####-####-b0e4-d767cb248dfb/output/guardrails_report_example.com.ymlESC[93m
        Failed guardrails CSV: ESC[00m/var/log/vmware/vcf/domainmanager/brownfield/1c538de6-####-####-b0e4-d767cb248dfb/output/guardrails_report_example.com.csvESC[93m
        All guardrails CSV: ESC[00m/var/log/vmware/vcf/domainmanager/brownfield/1c538de6-####-####-b0e4-d767cb248dfb/output/guardrails_report_example.com_all.csv
[YYYY-MM-DD HH:MM:SS,874] [CRITICAL] vcf_brownfield:1007: Failed to sync domain WLD-##
common.common_exceptions.DomainSyncException: Could not proceed with sync operation since domain with Id: 1c538de6-####-####-b0e4-d767cb248dfb has failed guard rails. This would leave SDDC Manager in a unconforming state Retry the sync operation after fixing guard rails warnings.
[YYYY-MM-DD HH:MM:SS,877] [INFO] vcf_brownfield:633: Operation ESC[93msyncESC[00m completed on target: ESC[93mmca-w1ESC[00m with status: ESC[93mFAILESC[00m in ESC[93m30.91ESC[00ms
(END)

/var/log/vmware/vcf/domainmanager/brownfield/1c538de6-####-####-b0e4-d767cb248dfb/output/guardrails_report_example.com_all.csv

"Object Type","Object Name","Day-N Operation","Severity Level","Status","Check Name","Description","Details","Remediation"
"host","Host.example.com","ESX Upgrade","ERROR","VALIDATION_FAILED","Host connectivity","Check if the host is connected to the vcenter","Host is disconnected or powered off","Please ensure the host is powered on and reachable from the vCenter Server"

Environment

VCF 9.X

Cause

The ESX host in vCenter appeared in a non-responsive state

Resolution

Follow the below steps to fix the reported issue

  1. Power on the ESX host in a non-responsive state

  2. Re-run the Sync Inventory, and the domain should be imported successfully.

  3. To sync the vCenter in the SDDC Manager, follow the steps in the document: Manage VCF Domain Configuration Drift.