Bug ID 1788065: The rule cannot be deleted because it is in use by a rule

Last Modified: Jul 14, 2025

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

Known Affected Versions:
17.1.0, 17.1.0.1, 17.1.0.2, 17.1.0.3, 17.1.1, 17.1.1.1, 17.1.1.2, 17.1.1.3, 17.1.1.4, 17.1.2, 17.1.2.1, 17.1.2.2

Opened: Jan 22, 2025

Severity: 3-Major

Symptoms

When trying to delete two iRules in same transaction with one is calling the proc defined in another the deletion fails with below error. mcpd[6467]: 01070265:3: The rule (/Common/Shared/library_irule) cannot be deleted because it is in use by a rule (/Common/Shared/example_irule). The rules are - "library_irule" containing procedure do_nothing - "example_irule" that calls proc do_nothing - Virtual "my_vs1" that attaches "example_irule"

Impact

Unable to delete the iRule.

Conditions

-- Two iRules exist. -- One iRule calls a procedure defined in the other iRule. -- You attempt to delete both iRules at the same time.

Workaround

Try to delete the iRules in different transactions.

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips