Message: ADD_HOST operation validation failed due to: ADD_HOST operation validation failed due to: Entity: <HOSTNAME> with failed check: Verify <CLUSTER_NAME> topology with severity CRITICAL
Remediation Message:
Reference Token: ######
/var/log/vmware/vcf/domainmanager/domainmanager.log
file, you see the following entry:YYYY-MM-DDTHH:mm:ss.380+0000 DEBUG [vcf_dm,################################,####] [c.v.v.a.s.AssessmentLambdaServiceClient,dm-exec-8] Filtered check results are [class LambdaCheckResultRest {
entityName: <HOSTNAME>
entityType: VcManager
description: Validate the number of resources matching definition 'Cluster that has vSAN storage and is not stretched' with condition value == 1
resultMessage: The number of resources matching definition 'Cluster that has vSAN storage and is not stretched' is incorrect. Count 0, condition value == 1
severity: CRITICAL
status: VALIDATION_FAILED
remediation: null
name: Verify <CLUSTER_NAME> topology
}]
VMware Cloud Foundation 5.2
The 'Cluster Host Data Check' checks for discrepancies between the hosts present in the cluster in vCenter and in the SDDC Manager inventory. A mismatch between the two causes a validation failure, blocking the operation from proceeding.
Follow one of the two workarounds below:
Option 1:
Remove the hosts with the error state using the SDDC UI to synchronize the SDDC and vCenter inventories.
Option 2:
Disable the guardrails:
/etc/vmware/vcf/domainmanager/application-prod.properties
with following value:vcf.skip.dayn.guardrails=true
systemctl restart domainmanager
Note: It is recommended to re-enable this flag once the workflow is successful.
Updating the application-prod.properties
file to skip the guardrail is a last resort and should only be done if none of the steps before have resolved the issue.