Hosts with EDP enabled lose connectivity on the vSAN and/or management network when a host is placed into maintenance mode - VMware vSphere ESXi
search cancel

Hosts with EDP enabled lose connectivity on the vSAN and/or management network when a host is placed into maintenance mode - VMware vSphere ESXi

book

Article ID: 452928

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vSAN VMware NSX

Issue/Introduction

  • ESX 9.1.x hosts lose all or partial network traffic connectivity (Ping, SSH) when performing Maintenance Mode tasks, concurrent vMotions, or after a reboot depending on how the cluster network is configured.
    • This disconnect is associated with the amount of traffic load placed on the ESX host.
    • The affected VMK's port-group is using the "route based on physical nic load" Load Balancing policy. This can cause vmk interfaces to be moved and pinned to a different uplink pNIC if one of them is under heavy traffic load.
    • This issue will occur during higher load on one of the pNICs which can be triggered by entering a host into Maintenance Mode, after a reboot or manually initiating multiple concurrent vMotions.
    • While reproducing the issue, it is observed while running ESXTOP overview for Performance Troubleshooting live in network view, that the vSAN vmk interface is moved and pinned to a different uplink pNIC.
  • vCenter may report that the host is "Not Responding".
  • Hosts in vSAN cluster may become temporarily completely isolated from each other, resulting in a storage outage and VMs going into a read only state.
  • vSAN Health Service will continuously go from a health score of around 50 to 100 with the networking tests flapping from a healthy to an unhealthy state.
  • This can occur after an upgrade to or a new deployment of 9.1.
  • If using Cisco ACI rogue endpoint detection, then it maybe found that one of the leaf ports is being blocked by it, since it observes the MAC address assigned to a vmk interface flap\move rapidly between the hosts two leaf ports.
  • Connectivity is restored after "flapping" the physical vmnic: 
    esxcli network nic down -n vmnic#  
    esxcli network nic up -n vmnic#  

Environment

VMware VCF 9.1
VMware VCF 9.1.1

Cause

  • The issue is caused by a race condition between the slow-path and Enhanced Data Path (EDP) fast-path during Load Based Teaming (LBT) failover.  
  • When vmk moves to a new uplink, slow-path updates the physical switch and starts sending packets through the new uplink, but EDP continues sending packets over the old uplink for up to 150 seconds due to cached flow tables.  
    • This discrepancy causes "MAC flapping" and temporary network isolation due to MAC security configuration on the upstream switch, such as Cisco ACI rogue endpoint protection.

Resolution

This issue will be resolved in a later release of VCF 9.1.x.

Workaround 1:

  • Set the Load Balancing (LB) policy of all port groups to something other than "route based on physical NIC load".

Below is the procedure to change all the teaming policies in single configurations. 

  1. Login to vCenter GUI.
  2. Navigate to the "Networking" tab.
  3. Right click the DVS, hover over "Distributed Port Group" and click "Manage Distributed Port Groups"
  4. Select "Teaming and Failover" and click "next"


  5. Select all port groups you wish to update the teaming policy and click "next":
  6. Now change the LB policy to "Route based on originating virtual port" and click "next" and "finish":


  7. Verify the port groups now show the updated LB policy:

Workaround 2:

  • Configure Cisco ACI rogue endpoint detection to be less sensitive. By default 4 moves of a MAC address in a 60 second window will trigger a block. It has been reported that increasing the number of allowed moves to 10 will mitigate for the issue. Discuss with your Network Administration team to make the required change in Cisco ACI.

Additional Information