Bug ID 985329: Saving UCS takes longer and leaves temp files when iControl LX extension is installed

Last Modified: Nov 15, 2024

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

Known Affected Versions:
15.1.2, 15.1.2.1, 15.1.3, 15.1.3.1, 15.1.4, 15.1.4.1, 15.1.5, 15.1.5.1, 15.1.6, 15.1.6.1, 15.1.7, 15.1.8, 15.1.8.1, 15.1.8.2, 15.1.9, 15.1.9.1, 15.1.10, 15.1.10.2, 15.1.10.3, 15.1.10.4, 15.1.10.5, 16.0.0, 16.0.0.1, 16.0.1, 16.0.1.1, 16.0.1.2, 16.1.0, 16.1.1, 16.1.2, 16.1.2.1, 16.1.2.2, 16.1.3, 16.1.3.1, 16.1.3.2, 16.1.3.3, 16.1.3.4, 16.1.3.5, 16.1.4, 16.1.4.1, 16.1.4.2, 16.1.4.3, 17.0.0, 17.0.0.1, 17.0.0.2

Fixed In:
16.1.5

Opened: Jan 20, 2021

Severity: 3-Major

Symptoms

The tmsh command 'save sys ucs' takes longer when iControl LX extensions is installed, and it may leave /shared/tmp/rpm-tmp* files. You may also see errors logged in /var/log/restjavad.0.log: [WARNING][211][date and time UTC][8100/shared/iapp/build-package BuildRpmTaskCollectionWorker] Failed to execute the build command 'rpmbuild -bb --define '_tmppath /shared/tmp' --define 'main /var/config/rest/iapps/f5-service-discovery' --define '_topdir /var/config/rest/node/tmp' '/var/config/rest/node/tmp/ac891731-acb1-4832-b9f0-325e73ed1fd1.spec'', Threw:com.f5.rest.common.CommandExecuteException: Command execution process killed at com.f5.rest.common.ShellExecutor.finishExecution(ShellExecutor.java:281) at com.f5.rest.common.ShellExecutor.access$000(ShellExecutor.java:33) at com.f5.rest.common.ShellExecutor$1.onProcessFailed(ShellExecutor.java:320) at org.apache.commons.exec.DefaultExecutor$1.run(DefaultExecutor.java:203) at java.lang.Thread.run(Thread.java:748) Errors logged in /var/log/ltm: err iAppsLX_save_pre: Failed to get task response within timeout for: /shared/iapp/build-package/a1724a94-fb6b-4b3e-af46-bc982567df8f err iAppsLX_save_pre: Failed to get getRPM build response within timeout for f5-service-discovery

Impact

Saving the UCS file takes a longer time (e.g., ~1-to-2 minutes) than it does if iControl LX extensions are not installed (e.g., ~40 seconds). /shared/tmp directory is filled with rpm-tmp* files.

Conditions

iControl LX extensions (e.g., AS3, Telemetry) are installed on the BIG-IP system.

Workaround

The fix of another ID 929213 introduced a new database key iapplxrpm.timeout (default 60 seconds), which allows the RPM build timeout value to be increased. sys db iapplxrpm.timeout { default-value "60" scf-config "true" value "60" value-range "integer min:30 max:600" } For example: tmsh modify sys db iapplxrpm.timeout value 300 tmsh restart sys service restjavad Increasing the db key and restarting restjavad should not be traffic impacting.

Fix Information

Temp files under /shared/tmp is now cleaned up correctly.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips