Page MenuHomeVyOS Platform

Delete a PBR show error
Open, Requires assessmentPublicBUG

Description

Hello,
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.

Details

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

Event Timeline

pasik added a subscriber: pasik.Apr 16 2020, 2:34 PM
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.