Running command "get load-balancer <UUID> diagnosis" on a Edge Cluster with the function LB deployed on it, In the output we get below Error
conf error
<25>1 cfg: can't find edge_service_binding with uuid: <LB UUID>
Even though the LB diagnostic shows this error, the LB service is running fine with no data-plane impact.
VMware NSX-T, VMware NSX < 4.1.1
When executing the "get load-balancer <UUID> diagnosis", In NSX version before 4.1.1 it would check all the /var/log/syslog* file to see if there is any LB FATAL cfg log. If so, it would output the error message.
If the error message is only observed with the diagnosis CLI and the LB status is fine, there is no impact to the LB feature. But the diagnosis output might be confusing.
Relevant logs to look:
When searching all the syslog files(zgrep -n "edge_service_binding" /var/log/syslog*), there should be some LB conf log message "cfg: can't find edge_service_binding with uuid".
Example Log Entries
zgrep -n edge_service_binding syslog*
syslog.1.2020042720.backup:13372979:<25>1 20XX-XX-XXT18:50:58.749279+00:00 Edge01 NSX 2146 LB [nsx@6876 comp="nsx-edge" subcomp="nsx-edge-lb.lb_log" level="FATAL"] [XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX91] [emerg] 2146#0: cfg: can't find edge_service_binding with uuid: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXX91
Issue is Resolved in NSX version 4.1.1
Workaround:
If the LB status is fine, and we only need to suppress the error output in the diagnosis CL, we could move the syslog file with the error message to some other location. Such as /var/tmp.