Vyos bgp config unsync with frr.conf

, ,

Hello,

I am running on 1.4-rolling-202208010217, I have just met an issue when I trying to delete bgp neighbor by command delete vrf name VRF-DSR203-GLO2 protocols bgp neighbor 10.85.226.197, then commit failed with below errors. Now my VyOS config was unsync with frr.conf, when I try to delete the neighbor again, it still got below error. Is there any way to correct this?

[ vrf name VRF-DSR203-GLO2 protocols bgp ]
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-08-26 18:46:42
Image version:    VyOS 1.4-rolling-202208010217
Release train:    sagitta

Built by:         autobuild@vyos.net
Built on:         Mon 01 Aug 2022 02:17 UTC
Build UUID:       5595cd3f-204c-47e2-a354-c1f304fed6c0
Build commit ID:  ffc63f19772a5f

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:  Dell Inc.
Hardware model:   PowerEdge R630
Hardware S/N:     J1HJ9C2
Hardware UUID:    4c4c4544-0031-4810-804a-cac04f394332

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 383, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 374, in apply
    frr_cfg.commit_configuration(bgp_daemon)
  File "/usr/lib/python3/dist-packages/vyos/frr.py", line 480, in comm![iShot_2022-08-26_18.47.59|542x500](upload://kx9PbZc2VsCJtgEBxG99kHBW3fC.png)
it_configuration
    raise ConfigurationNotValid(f'Config commit retry counter ({count_max}) exceeded')
vyos.frr.ConfigurationNotValid: Config commit retry counter (5) exceeded

Please share your config so we can replicate the issue

Hello,

Sorry that I cannot share the full configs as there are many sensitive informations. But I have find out that below error was caused by one of the command set vrf name VRF-DSR203-GLO2 protocols bgp address-family ipv4-unicast rd vpn export '64999:2003', as long as I added this command, then commit will raise error like below.

@HKG3-VOR2# commit
[ vrf name VRF-DSR203-GLO2 protocols bgp ]
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-08-30 15:27:04
Image version:    VyOS 1.4-rolling-202208010217
Release train:    sagitta

Built by:         autobuild@vyos.net
Built on:         Mon 01 Aug 2022 02:17 UTC
Build UUID:       5595cd3f-204c-47e2-a354-c1f304fed6c0
Build commit ID:  ffc63f19772a5f

Architecture:     x86_64
Boot via:         installed image
System type:      bare metal

Hardware vendor:  Dell Inc.
Hardware model:   PowerEdge R630
Hardware S/N:     J1HJ9C2
Hardware UUID:    4c4c4544-0031-4810-804a-cac04f394332

Traceback (most recent call last):
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 383, in <module>
    apply(c)
  File "/usr/libexec/vyos/conf_mode/protocols_bgp.py", line 374, 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



[[vrf name VRF-DSR203-GLO2 protocols bgp]] failed
Commit failed