Bug ID 496018: Deleting a rewrite profile fails to delete the dependent objects.

Last Modified: Sep 13, 2023

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

Known Affected Versions:
11.4.1, 11.5.0, 11.5.1, 11.5.2, 11.5.3, 11.5.4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.1, 11.6.2, 11.6.3, 11.6.3.1, 11.6.3.2, 11.6.3.3, 11.6.3.4, 11.6.4, 11.6.5, 11.6.5.1, 11.6.5.2, 11.6.5.3, 12.1.0 HF1, 12.1.0 HF2, 12.1.1 HF1, 12.1.1 HF2, 12.1.2 HF1, 12.1.2 HF2

Fixed In:
12.0.0

Opened: Dec 11, 2014

Severity: 3-Major

Related Article: K16459

Symptoms

Deleting a rewrite profile fails to delete the dependent objects.

Impact

ConfigSync fails with a message similar to the following: err mcpd[6817]: 01070712:3: Caught configuration exception (0), Values (/Common/rewrite_profile) specified for rewrite rules URI (/Common/rewrite_profile rewrite_uri_rule): foreign key index (rewrite_rules_uri_fk) do not point at an item that exists in the database.

Conditions

Deleting a rewrite profile.

Workaround

On an affected system (for example, the system sourcing a ConfigSync), save and then re-load the configuration. This causes mcpd to remove the vestigial object. To do so, run the following commands, in sequence: -- tmsh save sys config partitions all. -- tmsh load sys config partitions all. Ensuring that is enabled on device groups also mitigates this issue.

Fix Information

Deleting a rewrite profile now also deletes the rewrite_rules_uri dependent objects in mcpd, as expected.

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips