Page MenuHomeVyOS Platform

Delete a PBR show error
Open, Requires assessmentPublicBUG


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)

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.