Message: Import operation for sync with id xxx-xxx-xxx-xxx 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/xxx-xxx-xxx-xxx/ --non-interactive. Please check the log files located in /var/log/vmware/vcf/domainmanager/brownfield/xxx-xxx-xxx-xxx/ on the SDDC Manager applianceRemediation Message:Reference Token: ####Cause:
[yyyy-mm-dd hh:mm:ss] [INFO] check_domain_reporter:51: Total checks: 596, Successful checks: 584, Failed checks: 12, Internal errors: 0[yyyy-mm-dd hh:mm:ss] [INFO] check_domain:262: For more details, please, check:[[ Failed guardrails YML: [/var/log/vmware/vcf/domainmanager/brownfield/xxx-xxx-xxx-xxx/output/guardrails_report_vcenter_fqdn.yml] Failed guardrails CSV: [/var/log/vmware/vcf/domainmanager/brownfield/xxx-xxx-xxx-xxx/output/guardrails_report_vcenter_fqdn.csv]All guardrails CSV: [/var/log/vmware/vcf/domainmanager/brownfield/xxx-xxx-xxx-xxx/output/guardrails_report_vcenter_fqdn_all.csv]
[yyyy-mm-dd hh:mm:ss] [CRITICAL] vcf_brownfield:1002: Failed to sync domain vcf_domain Traceback (most recent call last):File "/opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/vcf_brownfield.py", line 979, 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 58, in sync_domain self.__run_guardrails(sso_remote_endpoint, domain_type, domain_id)File "/opt/vmware/vcf/domainmanager/scripts/vcf-import-tool/domain_sync/sync_domain.py", line 112, in __run_guardrails 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: xxx-xxx-xxx-xxx 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] [INFO] vcf_brownfield:633: Operation sync completed on target: vcf_domain with status: FAIL
VCF 9.0
VCF pre-checks are executed against the SDDC domain by the guardrail mechanism. All failing ERROR checks must be resolved.
Validate the guardrails.csv file that is provided in the location as per the logs - Failed guardrails CSV: [/var/log/vmware/vcf/domainmanager/brownfield/xxx-xxx-xxx-xxx/output/guardrails_report_vcenter_fqdn.csv]
Manually resolve the errors that are reported by the guardrails, and re-run the Sync inventory.