When Using DHCP for the Workload Network the port configuration script fails.
search cancel

When Using DHCP for the Workload Network the port configuration script fails.

book

Article ID: 439416

calendar_today

Updated On:

Products

Tanzu Kubernetes Runtime VMware vSphere ESXi

Issue/Introduction

  • When deploying the supervisor management proxy on a supervisor using DHCP for the workload network, a bug causes the ports to not be opened correctly.

  • This is due to the output of 'ip addr' being slightly different with a DHCP address, causing the port configuration script to fail.

  • All port-opening functionality is affected, including ports required for Antrea-NSX (REST API and RPC) and Workload Metrics (LoadBalancer Service Port).

Environment

Supervisor Management Proxy deployed on a Supervisor using DHCP for the workload network.

Cause

The util.sh script uses ip -br addr show to resolve the network interface name via get_interface_name. When using DHCP, the 'ip addr' output format differs slightly, causing the function to fail to identify the correct interface. As a result, the subsequent iptables rules (iptables-nft or iptables-legacy) are not applied, leaving the required ports blocked on the supervisor node.

Resolution

Broadcom engineering team has successfully identified the root cause and is working on a permanent fix. The same shall be released as an update to the Management Proxy Supervisor Service. Most importantly, this fix is not dependent on a full NSX or vCenter (WCP) upgrade. The specific Supervisor Service needs to be updated once the new version is released.

Attachments

kb_article_vks_DHCP.pdf get_app