Bug ID 691017: Preventing ng_export hangs

Last Modified: Oct 16, 2023

Affected Product(s):
BIG-IP APM(all modules)

Known Affected Versions:
12.1.1, 12.1.2, 12.1.3, 12.1.3.1, 13.0.0, 13.0.0 HF1, 13.0.0 HF2, 13.0.0 HF3, 13.0.1, 13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1

Fixed In:
14.0.0, 12.1.3.2

Opened: Oct 26, 2017

Severity: 4-Minor

Symptoms

Sometimes ng_export is stuck while reading tmsh thru the pipe because of buffer issues. Export is trying to read more data from tmsh while data is lost in the middle of the read operation.

Impact

The export operation hangs.

Conditions

-- ng_export receives tmsh replies through buffer of constant size x. -- During the read operation, tmsh returns a buffer size of x minus k, where k is a very small random number (less than 50). Note: K is a very small random number, which makes this issue difficult to describe.

Workaround

There is no workaround at this time.

Fix Information

APM access policy export now uses non-blocking socket and loops to wait for data or terminate gracefully.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips