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

Last Modified: Sep 29, 2022

Bug Tracker

Affected Product:  See more info
BIG-IP LTM(all modules)

Known Affected Versions:
14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 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, 15.0.0, 15.0.1, 15.0.1.1, 15.0.1.2, 15.0.1.3, 15.0.1.4, 15.1.0, 15.1.0.1, 15.1.0.2, 15.1.0.3, 15.1.0.4, 15.1.0.5, 15.1.1, 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, 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, 17.0.0, 17.0.0.1

Fixed In:
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