Bug ID 668041: Config load fails when an iRule comment ends with backslash in a config where there is also a policy.

Last Modified: May 14, 2019

Bug Tracker

Affected Product:  See more info
BIG-IP All, Install/Upgrade(all modules)

Known Affected Versions:
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.1, 13.1.1.2, 13.1.1.3, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.1.0, 14.1.0.1

Fixed In:
14.1.0.2, 13.1.1.4

Opened: Jun 06, 2017
Severity: 3-Major
Related AskF5 Article:
K27535157

Symptoms

Config load fails when an iRule contains a commented line that ends with an escape character (backslash), and the config also contains an LTM policy. Depending on the iRule, you might also see the following error: Syntax Error:(/config/bigip.conf at line: 42078) double quotes are not balanced.

Impact

Config load fails.

Conditions

-- iRule contains commented line that ends with a backslash. -- The config also contains a policy. For example, an iRule similar to the first example, and a policy similar to the second: ltm rule /Common/log_info { when HTTP_RESPONSE { #log local0. "Original Location header value: [HTTP::header value Location],\ updated: [string map ":[TCP::remote_port]/ /" [HTTP::header value Location]]" } } ... ltm policy /Common/Test_Policy { controls { forwarding } requires { http tcp } rules { TestPol_Rule1 { actions { 0 { forward select node 10.2.10.20 } } conditions { 0 { tcp address matches values { 10.1.10.20 } } } } } strategy /Common/first-match }

Workaround

You can use any of the following workarounds: -- Delete the line of code with the comment. -- Put the entire comment on one line of code. -- Divide lengthy comments into a series of smaller ones, so that each comment fits within one line of code. -- Move the iRule so that it is sequentially before the LTM policy in the config file.

Fix Information

Config load no longer fails when an iRule comment ends with backslash in a config where there is also a policy.

Behavior Change