Page MenuHomeVyOS Platform

Cannot remove PBR
Resolved (N/A)PublicBUG


i have create a PBR rule and assign it to an interface and after my work done i have removed PBR and remove from interface too but vyos show following error after commit
xx@xx# commit
[ policy route PBR-RULE1 ]
Firewall configuration error: Cannot delete rule set "PBR-RULE1 " (still in use)

delete [ policy route PBR-RULE1 ] failed
Commit failed

how ever when i commit again i see no error and it seems the pbr has been removed, and i am not using it in any other interface.
THank you.


Difficulty level
Unknown (require assessment)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Unspecified (please specify)

Event Timeline

dmbaturin added a subscriber: dmbaturin.

Apparently the "still in use" check logic really leaves much to be desired. See T1292. I wonder if there's a general fix within the current approach.

erkin renamed this task from Delete a PBR show error to Cannot remove PBR.Aug 30 2021, 7:02 AM
erkin set Issue type to Unspecified (please specify).
erkin removed a subscriber: Active contributors.