One or more hosts show Logical Switch Ports(LSP) in “Not ready” state.esxi> get load-balancer 39f9####-1e38-####-abec-5ae9####2241 statusLoad BalancerUUID : 39f9####-1e38-####-abec-5ae9####2241Display-Name : mydlb1Status : partially readyReady LSP Count : 1Not Ready LSP Count: 2Conflict LSP Count : 0Ready LSP : 90cc####-7602-####-a27d-a45e####180dNot Ready LSP : 8c25####-64a8-####-b323-181f####1b45 01c0####-61be-####-9f20-5306####3531Conflict LSP :Warning : LSP below is not ready as DFW Exclusion List 8c25####-64a8-####-b323-181f####1b45 01c0####-61be-####-9f20-5306####3531
VMware NSX
VMware AVI Load Balancer
The issue occurs because of the way the DLB is applied within NSX when created via NCP. The DLB service scope is set to include all NCP related segments, including the AVI SE segment. As the DLB relies on the presence of the DFW on all logical switch ports for its functionality, a health check of the load balancer is to ensure every port within its scope is in a ready state with DFW enabled. As the AVI SE is automatically excluded within NSX this prevents the DFW being present on its LSP. This then conflicts with the health check for the DLB as the warning within the status says "LSP below is not ready as DFW Exclusion List" .
This issue does not impact the datapath and is entirely cosmetic as long as all of the LSP mentioned in the error are owned by AVI SEs.
Currently, there is no fix for this issue. You may work around the issue with the following procedure.
curl -k -u 'admin' 'https://<NSX manager IP>/policy/api/v1/infra/lb-services/'curl -k -u 'admin' 'https://<NSX manager IP>/policy/api/v1/infra/lb-services/<load balancer domain ID> > data.jsoncurl -k -u 'admin' https://<NSX manager IP>/policy/api/v1/infra/lb-services/<cluster_ip_domain> -X PATCH [email protected] -H 'accept: application/json' -H 'Content-type: application/json' -H 'X-Allow-Overwrite: truecurl -k -u 'admin' 'https://<NSX manager IP>/policy/api/v1/infra/lb-services/<cluster_ip_domain>/detailed-status?source=realtime&enforcement_point_path=/infra/sites/default/enforcement-points/default'