Bug ID 1063977: Tmsh load sys config merge fails with "basic_string::substr" for non-existing key.

Last Modified: Apr 17, 2024

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

Known Affected Versions:
14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 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, 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, 17.0.0, 17.0.0.1, 17.0.0.2

Fixed In:
17.1.0, 16.1.3

Opened: Nov 24, 2021

Severity: 3-Major

Symptoms

"tmsh load sys config merge" fails with the following error. Loading configuration... /var/tmp/repro.txt 01070711:3: basic_string::substr Unexpected Error: Loading configuration process failed.

Impact

"tmsh load sys config merge" fails which is expected, but the error is not meaningful.

Conditions

The key referenced in the configuration of the SSL profile does not exist in the BIG-IP.

Workaround

Identify the missing SSL key used in the configuration and correct it.

Fix Information

You should now be able to see the error message "The requested certificate (<Cert Name>) was not found." or "The requested certificate (<Key Name>) was not found." if a non-existing key is used in the configuration.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips