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

Last Modified: Jul 18, 2026

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

Known Affected Versions:
11.5.1, 11.5.1 hf1, 11.5.1 hf2, 11.5.1 hf3, 11.5.1 hf4, 11.5.1 hf5, 11.5.1 hf6, 11.5.1 hf7, 11.5.1 hf8, 11.5.1 hf9, 11.5.1 hf10, 11.5.1 hf11, 11.5.2, 11.5.2 hf1, 11.5.3, 11.5.3 hf1, 11.5.3 hf2, 11.5.4, 11.5.4 hf1, 11.5.4 hf2, 11.5.4 hf3, 11.5.4 hf4, 11.5.5, 11.5.6, 11.5.7, 11.5.8, 11.5.9, 11.5.10, 11.6.0, 11.6.0 hf1, 11.6.0 hf2, 11.6.0 hf3, 11.6.0 hf4, 11.6.0 hf5, 11.6.0 hf6, 11.6.0 hf7, 11.6.0 hf8, 11.6.1, 11.6.1 hf1, 11.6.1 hf2, 11.6.2, 11.6.2 hf1, 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

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