Page MenuHomeVyOS Platform

Bgp neighbor peer-group without peer-group fail
Closed, ResolvedPublicBUG


To reproduce.
Add neighbor to peer-group which don't exist.

vyos@r2-roll# set protocols bgp 64501 neighbor peer-group FOO
vyos@r2-roll# commit
[ protocols bgp 64501 ]
VyOS had an issue completing a command.

Report Time:      2021-02-17 13:30:24
Image Version:    VyOS 1.4-rolling-202102162107
Release Train:    sagitta

Built by:
Built on:         Tue 16 Feb 2021 21:07 UTC
Build UUID:       ea5a7b58-7900-4ef9-817b-1726c5c0b718
Build Commit ID:  176dd5eeb5c3be

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/", line 195, in <module>
  File "/usr/libexec/vyos/conf_mode/", line 98, in verify
    if peer_group not in asn_config['peer_group']:
KeyError: 'peer_group'

[[protocols bgp 64501]] failed
Commit failed


Difficulty level
Easy (less than an hour)
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Perfectly compatible

Event Timeline

Viacheslav removed a project: VyOS 1.3 Equuleus.
Viacheslav changed the subtype of this task from "Feature Request" to "Bug".
Viacheslav changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
Viacheslav changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.
Viacheslav changed the task status from Open to Needs testing.Feb 26 2021, 11:18 PM