Page MenuHomeVyOS Platform

"policy route-map set table" cannot be deleted from the rule
Closed, ResolvedPublicBUG

Description

Route-map set table cannot be deleted from the rule.
To reproduce:

set policy route-map RMAP rule 10 action 'permit'
set policy route-map RMAP rule 10 set table '10'
set policy route-map RMAP rule 10 set local-preference '300'
commit

delete policy route-map RMAP rule 10 set table
commit

commit failed:

vyos@r-left# delete policy route-map RMAP rule 10 set table
[edit]
vyos@r-left# commit

Failed to execute route-map RMAP permit 10  no set table 10 exit "route-
map RMAP permit 10 --  no set table 10 -- exit" we failed to remove this
command % Unknown command:  no set table 10

[[policy]] failed
Commit failed
[edit]
vyos@r-left#

Details

Difficulty level
Easy (less than an hour)
Version
VyOS 1.5-rolling-202404190019
Why the issue appeared?
Issues in third-party code
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

Viacheslav triaged this task as Normal priority.Fri, Apr 19, 7:45 AM
Viacheslav created this task.
c-po changed the task status from Open to In progress.Fri, May 3, 11:10 AM
c-po changed Why the issue appeared? from Will be filled on close to Issues in third-party code.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po moved this task from Need Triage to Finished on the VyOS 1.5 Circinus board.
c-po moved this task from In Progress to Finished on the VyOS 1.4 Sagitta (1.4.0-epa3) board.
dmbaturin renamed this task from Policy route-map set table cannot be deleted from the rule to "policy route-map set table" cannot be deleted from the rule.Sat, May 11, 8:09 PM
dmbaturin removed a project: VyOS 1.5 Circinus.