Page MenuHomeVyOS Platform

prefix-list invalid ge/le range causes datastore lock
Closed, ResolvedPublic

Description

When a policy prefix-list6 rule is committed with a ge value greater than le (i.e. the range constraint mask ≤ ge ≤ le is violated), FRR's fabricd rejects the configuration with a validation error.

steps to reproduce
set policy prefix-list6 list rule 10 ge '48'
set policy prefix-list6 list rule 10 le '44'
set policy prefix-list6 list rule 10 prefix '2222:2222:2a0::/44'
set policy prefix-list6 list rule 10 action permit

commit (got stuck)

you will see on log
[MHYBZ-5A04C][EC 100663334] error processing configuration change: error [validation] event [validate] operation [modify] xpath [/frr-filter:lib/prefix-list[type='ipv6'][name='list']/entry[sequence='10']/ipv6-prefix-length-greater-or-equ$

[HCBHP-DW7C2] Locking for DS 1 failed, Err: 'Lock already taken on datastore running by session: 0 txn-id: 94712618811396' vty 0x562444069d80

According to the documentation
https://docs.frrouting.org/en/latest/filter.html#ip-prefix-list

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)