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
This issue occurs because AVI also uses the DLB to provided services. Each host that has AVI will have a service engine VM that is linked to the DLB interfaces.
When DLB is used outside of AVI, AVI is still referenced for the ports and will return a negative result, which causes the DLB port to report "not ready".
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.json
curl -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'