"The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server" on VDS - NSX backed environment.
search cancel

"The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server" on VDS - NSX backed environment.

book

Article ID: 413522

calendar_today

Updated On:

Products

VMware vCenter Server VMware NSX

Issue/Introduction

  • We see "The vSphere Distributed Switch configuration on some hosts differed from that of the vCenter Server" alert on VDS that contains NSX segments.
  • There will be no port details under show details section of the alert.
  • We will not see any missing connectee or ports from the ports view.
  • Auto refresh or VM creation and migration on the affected VDS will not resolve the issue.
  • We see entries from the logs as below :
    TIMEXXXXXZ In(166) Hostd[XXXXXX]: [Originator@XXXXX sub=Vimsvc.TaskManager opID=XXXXX sid=XXXXX user=vpxuser:<no user>] Task Created : haTask-ha-host-vim.host.NetworkSystem.invokeHostTransactionCall-XXXXX
    TIMEXXXXXZ Wa(164) Hostd[XXXXX]: [Originator@XXXXX sub=Hostsvc.NetworkProvider opID=XXXXX sid=XXXXX user=vpxuser:<no user>] Error setting vendorData for dvs XXXXX : Unable to set DVS vendor data com.vmware.nsx.ens.loadbal: Status(bad0007)= Bad parameter
    TIMEXXXXXZ Er(163) Hostd[XXXXX]: [Originator@XXXXX sub=Hostsvc.DvsManager opID=XXXXX sid=XXXXX user=vpxuser:<no user>] [HostDvsManager::ApplyDvsInt] ReconfigureDVSInt() caught Fault cause: vim.fault.PlatformConfigFault
  • You may alternatively see "Host configuration: Found security-only non-CVDS on the host" in the in the NSX UI under System > Fabric > Hosts

Environment

7.x

8.x 

Cause

VC is pushing dummy NSX properties to VCDB. 

The "Dummy NSX property name" can be the following:
==================================================
"com.vmware.nsx.kcp.enable"
"com.vmware.nsx.spf.enabled"
"com.vmware.nsx.vdl2.enabled"
"com.vmware.vswitch.disabled"
"com.vmware.host.feature.container"
"com.vmware.nsx.ens.loadbal"
"com.vmware.nsx.ens.overlayl2flow"

Resolution