Add Host to cluster Validation failed : NSX-T Switch configuration mismatch detected for VDS
search cancel

Add Host to cluster Validation failed : NSX-T Switch configuration mismatch detected for VDS

book

Article ID: 451702

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

  • Add ESX host to cluster failed at validation after commissioning it into SDDC inventory.

  • The error message is like below.



  • You can also found these kind of logs from SDDC manager bundle.
    /var/log/vmware/vcf/domainmanager/domainmanager.log
    [DATE/TIME] ERROR [vcf_dm,#######################,ecbd] [c.v.e.s.c.s.v.ClusterNetworkStateValidator,dm-exec-#####]  VDS validation failed for cluster [domain-c#]. First error: {"errorCode":"NSXT_SWITCH_CONFIGURATION_MISMATCH_FOR_VDS","arguments":["VDS_NAME","########-####-####-####-############","CLSUTER_NAME"],"stringArgs":["VDS_NAME","########-####-####-####-############","CLUSTER_NAME"]}. All errors: [NSX-T Switch configuration mismatch detected for VDS [VDS_NAME] in cluster CLUSTER_NAME[########-####-####-####-############]]
    [DATE/TIME] ERROR [vcf_dm,#######################,ecbd] [c.v.e.s.c.s.v.ClusterNetworkStateValidator,dm-exec-#####]  Validation failed: VDS_INVENTORY_CONSISTENCY_CHECK - State: REMEDIATION, Error: {"errorCode":"NSXT_SWITCH_CONFIGURATION_MISMATCH_FOR_VDS","arguments":["VDS_NAME","########-####-####-####-############","CLUSTER_NAME"],"stringArgs":["VDS_NAME","########-####-####-####-############","CLUSTER_NAME"]}
    [DATE/TIME] ERROR [vcf_dm,#######################,ecbd] [c.v.e.s.c.s.a.ValidateNetworkInfraStateForClusterUpdateAction,dm-exec-#####]  Network validation failed for cluster ########-####-####-####-############ with errorCode: {"errorCode":"NSXT_SWITCH_CONFIGURATION_MISMATCH_FOR_VDS","arguments":["VDS_NAME","########-####-####-####-############","CLUSTER_NAME"],"stringArgs":["VDS_NAME","########-####-####-####-############","CLUSTER_NAME"]}, State: REMEDIATION
    [DATE/TIME] ERROR [vcf_dm,#######################,ecbd] [c.v.e.s.o.model.error.ErrorFactory,dm-exec-#####]  [######] NSXT_SWITCH_CONFIGURATION_MISMATCH_FOR_VDS NSX-T Switch configuration mismatch detected for VDS [VDS_NAME] in cluster CLUSTER_NAME[########-####-####-####-############]
    com.vmware.evo.sddc.orchestrator.exceptions.OrchTaskException: NSX-T Switch configuration mismatch detected for VDS [VDS_NAME] in cluster CLUSTER_NAME[########-####-####-####-############]
            at com.vmware.evo.sddc.common.services.actions.ValidateNetworkInfraStateForClusterUpdateAction.execute(ValidateNetworkInfraStateForClusterUpdateAction.java:102)
            at com.vmware.evo.sddc.common.services.actions.ValidateNetworkInfraStateForClusterUpdateAction.execute(ValidateNetworkInfraStateForClusterUpdateAction.java:31)

 

Environment

SDDC Manager 9.1

Cause

As part of the OOB(Out Of Box) feature introduced in 9.1, we detect configuration drift between SDDC Manager inventory and NSX-T.
Currently, the VDS object in the SDDC inventory does not include the NSX-T switch configuration, even though it should be present when a Transport Node Profile (TNP) is configured on the cluster from NSX.
Since the inventory value is null, the system detects this as a drift and prompts the user to run the remediation API.

Resolution

Follow the steps mentioned in the Validation table(Remediation) and execute the remediate API to synchronize the inventory. 
This will align the SDDC Manager inventory with NSX-T and help avoid inconsistent inventory issues going forward.