Avi Service Engine Crash: se_log_agent failure during TLS External Log Streaming
search cancel

Avi Service Engine Crash: se_log_agent failure during TLS External Log Streaming

book

Article ID: 428277

calendar_today

Updated On:

Products

VMware Avi Load Balancer

Issue/Introduction

An Avi Service Engine may unexpectedly crash due to a failure of the se_log_agent process.

This issue specifically impacts environments where External Log Streaming is configured to use the TLS protocol.

When the SE crashes, a stacktrace similar to the one below can be seen under "Administration -> Support -> Crash reports".

#0  0x00007fda141fd330 in ?? ()
#1  0x00007fda5c83f5de in bio_write_intern
#2  0x00007fda5c83fa93 in BIO_write (b=<optimized out>, data=<optimized out>, dlen=<optimized out>) at
#3  0x00005584a6a8219f in boost::asio::ssl::detail::engine::put_input (data=..., this=<optimized out>) at
#4  0x00005584a6ac662f in boost::asio::ssl::detail::io_op<boost::asio::basic_stream_socket<boost::asio::ip::tcp, boost::asio::executor>

 

Environment

Affects Avi versions 30.2.1 to 30.2.6

Cause

The crash is caused by a race condition within the se_log_agent process. This occurs during the establishment of a TLS connection with the external Syslog endpoint.

This is a rare corner case that may be triggered by the following environmental factors:

  • The Syslog server restarts or actively refuses the connection.
  • There are network inconsistencies or instability between the Service Engine and the Syslog server during active log streaming.

Resolution

There are no workarounds for this bug. A fix for this bug is included in the versions 30.2.7 and 31.2.2.

Bug ID: AV-262778.

Additional Information

Streaming Avi Load Balancer Client Logs to an External Server