An ESX host experiences network connectivity loss upon boot due to missing DVS
search cancel

An ESX host experiences network connectivity loss upon boot due to missing DVS

book

Article ID: 462521

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware NSX VMware Cloud Foundation

Issue/Introduction

  • A distributed virtual switch (DVS) might vanish or fail to load after an ESX host is rebooted.
  • The following error message can be observed in the output of the esxcfg-vswitch -l command:

    Listing failed for DVSwitch: DvsPortset-#, Error: Unable to get the dvs name: Status(bad0007)= Bad parameter

  • Management network connectivity on vmk0 might also be impacted, which can lead to the isolation of the ESX host from vCenter.
  • The following error messages can be seen in /var/log/boot or in /var/log/vmkernel.log during the boot:
    WARNING: Ipfix: IpfixVDSNSXWrite:2737:  DvsPortset-0 is not proxied with a NSXT VDS
    WARNING: NetDVS: 3031: Failed to write critical property com.vmware.common.portset.nsx on DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ##, return :Not ready.
    NetDVS: 11463: Failed to associate DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## with proxy DvsPortset-0
    NetDVS: 11136: Dissociate DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## from proxy DvsPortset-0
    and 
    WARNING: NetDVS: 2065: Attempt to associate with DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## with no proxy vswitch, port ###### (type 1)
    WARNING: NetDVS: 945: Connect to DVS port ###### failed Not found
    Net: 3745: DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## port 0 not associated: Not found.
    WARNING: Tcpip_Vmk: 1####1: Could not open a port to ######: Not found
    WARNING: Tcpip_Vmk: 1465: Unable to attach vmk0 to ###### [error = 0xbad0003]
    WARNING: NetDVS: 2065: Attempt to associate with DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## with no proxy vswitch, port ##### (type 1)
    WARNING: NetDVS: 945: Connect to DVS port ##### failed Not found
    Net: 3745: DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## port 0 not associated: Not found.
    WARNING: Tcpip_Vmk: 1####1: Could not open a port to #####: Not found
    WARNING: Tcpip_Vmk: 1465: Unable to attach vmk1 to ##### [error = 0xbad0003]
    WARNING: NetDVS: 2065: Attempt to associate with DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## with no proxy vswitch, port #### (type 1)
    WARNING: NetDVS: 945: Connect to DVS port #### failed Not found
    Net: 3745: DVS ## ## ## ## ## ## ## ## ## ## ## ## ## ## ## port 0 not associated: Not found.
    WARNING: Tcpip_Vmk: 1####1: Could not open a port to ####: Not found
    WARNING: Tcpip_Vmk: 1465: Unable to attach vmk2 to #### [error = 0xbad0003]

Environment

VCF 9.1.0
VCF 9.1.1

Cause

This issue occurs when an ESXi host retains conflicting Distributed Virtual Switch (DVS) properties on disk. Specifically, if a switch is downgraded to a standard vSphere Distributed Switch (version below 107), the NSX enablement property (com.vmware.common.portset.nsx = true) may inadvertently persist in the host's configuration. The root cause of when the version may have changed is currently unknown.

This state can be verified by checking the com.vmware.common.version output of the net-dvs -l command, if the version is 14 then this is a match:

switch ## ## ## ## ## ## ## ##-## ## ## ## ## ## ## ## (vswitch)
    max ports: 9216
    global properties:
        com.vmware.common.alias = ## ,     propType = CONFIG 
        com.vmware.common.version = 14
...
        com.vmware.common.portset.nsx = true ,     propType = CONFIG 
        com.vmware.common.portset.nsx.async = true ,     propType = CONFIG 

 

Resolution

This is a known issue impacting VMware vSphere ESX and VMware NSX. Subscribe to this KB article to be updated if a fix version becomes available. 

If you believe you have encountered this issue, open a support case with Broadcom Support and refer to this KB article.

For more information, see Creating and managing Broadcom support cases.