NSXTEdge01> get load-balancer ########-####-####-################ status Internal Error: Query LB Engine Failed.
2021-07-13T09:03:42.461Z NSXTEdge01 NSX 859 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="3263" level="ERROR" errorCode="MPA13822"] [GetVServerStats] Failed to parse json: Missing required key uuidMissing required key virtual_servers 2021-07-13T09:03:42.461Z NSXTEdge01 - [nsx@6876 comp="nsx-edge" subcomp="agg-service" tid="3263" level="ERROR" errorCode="MPA13820"] [VServerStatsHandler] Cannot get stats for vserver with LBS: ########-####-####-################ VServer: ########-####-####-################
2021-07-13T08:02:17.351996+02:00 NSXTEdge01 NSX 31687 LB [nsx@6876 comp=“nsx-edge” subcomp=“nsx-edge-lb.lb” level=“ERROR”] “query nginx stats encountered an error: 7 b’’”
2021-07-13T06:32:30.915325+02:00 NSXTEdge01 NSX 18326 LOAD-BALANCER [nsx@6876 comp=“nsx-edge” subcomp=“lb” s2comp=“lb” level=“FATAL”] [########-####-####-################] PEM_read_bio_X509(“/config/vmware/edge/lb/etc/########-####-####-################/certs/client_ssl_########-####-####-################_########-####-####-################.crt”) failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
Currently, there is no resolution.
Workaround:
The following workarounds will use this NSX-T Edge log error (/var/log/syslog) as reference:
2021-07-13T06:32:30.915325+02:00 NSXTEdge01 NSX 18326 LOAD-BALANCER [nsx@6876 comp=“nsx-edge” subcomp=“lb” s2comp=“lb” level=“FATAL”] [########-####-####-################] PEM_read_bio_X509(“/config/vmware/edge/lb/etc/########-####-####-################/certs/client_ssl_########-####-####-################_########-####-####-################.crt”) failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line) Identify the Certificates NSX-T Edge is not able to read: failed (SSL: error:0906D066:PEM routines:PEM_read_bio:bad end line)
There are two ways to check the above:
If the number of Virtual Server and certificates on this Load-Balancer is important, this method is preferred.
A good certificate will have the following format:
-----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
The certificate format causing this issue will be:
-----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----------BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----BEGIN CERTIFICATE----- -----END CERTIFICATE----- -----END CERTIFICATE-----
The above indicates the same certificate has been applied with a different name to the same Virtual Server.
The next steps needed are:
If the Virtual Server and Certificates causing this issue can be found easily, this method is preferred.