Page MenuHomeVyOS Platform

Vyos and frr route-map config out of sync
Closed, ResolvedPublicBUG

Description

Hello,

i found a bug with the syncing of vyos and frr route-maps. Both should habe the same configure after commit.
This will cause unexpected behaviors of route-maps. Looks like FRR route-maps are not generated probably.

set policy route-map PS-TC-IN4 rule 10 action 'permit'
set policy route-map PS-TC-IN4 rule 10 match ip address prefix-list 'XXX-IN4'
set policy route-map PS-TC-IN4 rule 10 match rpki valid

commit

FRR config:

route-map PS-TC-IN4 permit 10
 match ip address prefix-list XXX-IN4
 match rpki valid
!

After that:

del policy route-map PS-TC-IN4 rule 10 match rpki 

commit

FRR config after commit del:

route-map PS-TC-IN4 permit 10
 match ip address prefix-list XXX-IN4
 match rpki valid
!

But vyos has no second match rule:

run show conf com | grep PS-TC-IN4
set policy route-map PS-TC-IN4 rule 10 action 'permit'
set policy route-map PS-TC-IN4 rule 10 match ip address prefix-list 'XXX-IN4'

FRR config still has second match rule.

Manual change via frr temporary fix that

no match rpki valid

but only until you restart the server or doing "run restart bgp".

Details

Difficulty level
Unknown (require assessment)
Version
1.4-rolling-202108310430
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to Confirmed.Sep 9 2021, 3:09 PM
c-po claimed this task.
c-po triaged this task as High priority.
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
c-po changed Issue type from Unspecified (please specify) to Bug (incorrect behavior).

Will be fixed in tomorrows rolling - thanks for reporting this.