Page MenuHomeVyOS Platform

bgp: deterministic-med cannot be disabled while addpath-tx-bestpath-per-AS is in use
Closed, ResolvedPublicBUG

Description

Reproduce

set protocols bgp local-as '100'
set protocols bgp neighbor 2001::1 address-family ipv6-unicast addpath-tx-per-as
set protocols bgp neighbor 2001::1 remote-as '200'
set protocols bgp parameters deterministic-med
commit
delete protocols bgp parameters deterministic-med
commit
VyOS had an issue completing a command.

We are sorry that you encountered a problem while using VyOS.
There are a few things you can do to help us (and yourself):
- Contact us using the online help desk if you have a subscription:
  https://support.vyos.io/
- Make sure you are running the latest version of VyOS available at:
  https://vyos.net/get/
- Consult the community forum to see how to handle this issue:
  https://forum.vyos.io
- Join us on Slack where our users exchange help and advice:
  https://vyos.slack.com

When reporting problems, please include as much information as possible:
- do not obfuscate any data (feel free to contact us privately if your
  business policy requires it)
- and include all the information presented below

Report time:      2022-04-01 18:07:18
Image version:    VyOS 1.4-rolling-202204010217
Release train:    sagitta

Built by:         [email protected]
Built on:         Fri 01 Apr 2022 02:17 UTC
Build UUID:       c451cb4d-52a4-4f9d-a20b-876b4fc702b1
Build commit ID:  80bdd2122c5700

Architecture:     x86_64
Boot via:         installed image
System type:      VMware guest

Hardware vendor:  VMware, Inc.
Hardware model:   VMware Virtual Platform
Hardware S/N:     VMware-42 3f 67 73 77 df c4 80-42 c9 42 af ff 15 de 0b
Hardware UUID:    73673f42-df77-80c4-42c9-42afff15de0b

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 351, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 342, in apply
    frr_cfg.commit_configuration(bgp_daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 480, in commit_configuration
    raise ConfigurationNotValid(f'Config commit retry counter ({count_max}) exceeded')
vyos.frr.ConfigurationNotValid: Config commit retry counter (5) exceeded

FRR tells us: bgp deterministic-med cannot be disabled while addpath-tx-bestpath-per-AS is in use

Details

Difficulty level
Normal (likely a few hours)
Version
1.4-rolling-202204010217
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Stricter validation
Issue type
Bug (incorrect behavior)

Event Timeline

c-po changed the task status from Open to In progress.Apr 1 2022, 4:09 PM
c-po claimed this task.
c-po triaged this task as Low priority.
c-po created this task.

Actually FRR bgpd enables this by default:

vyos bgpd[926]: 2001:db8::1: enabling bgp deterministic-med, this is required for addpath-tx-bestpath-per-AS