During Tanzu Application Service (TAS) foundation upgrades, Diego cells occasionally experience extended drain times, taking approximately 30 minutes to complete. This behavior exceeds the expected 10-minute threshold (Rep process drain timeout), significantly impacting the overall upgrade duration.
The nsx-node-agent job initiates a drain operation on Diego cells with a hard-coded timeout of 1800 seconds (30 minutes). When the cleanup operation encounters delays—such as management plane sluggishness or Distributed Firewall (DFW) rule limitations on the transport nodes—the process hangs until it hits this limit.
To resolve this delay, modify the NSX-T tile configuration to align with faster operational requirements:
Timeout time in seconds of removing all ovs ports.600 (10 minutes).Troubleshooting: If the issue persists, check the ESXi transport nodes for the following alarm: distributed_firewall.dfw_rules_limit_per_host_exceeded.
Exceeding DFW rules per host causes the management plane to become unresponsive to cleanup commands during cell drainage. Monitor and optimize DFW rule limits to ensure the management plane synchronizes changes efficiently during upgrade events.