When user tries to commit the network which existing in another ospf area, it does not check but direct call frr to update.
The system will raise python exception. It should be check when commit.
Reproduce Log:
vyos@vyos# set protocols ospf area 1 network '10.65.1.3/32'
[edit]
vyos@vyos# commit
[edit]
vyos@vyos# set protocols ospf area 2 network '10.65.1.3/32'
[edit]
vyos@vyos# commit
[ protocols ospf ]
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: 2024-02-26 12:02:27
Image version: VyOS 1.4.0-epa1
Release train: sagittaBuilt by: Sentrium S.L.
Built on: Thu 22 Feb 2024 19:17 UTC
Build UUID: 97f0c92c-b99d-4bde-a67f-079ca030f2a1
Build commit ID: bcac2eb1f9b49cArchitecture: x86_64
Boot via: installed image
System type: VMware guestHardware vendor: VMware, Inc.
Hardware model: VMware Virtual Platform
Hardware S/N: VMware-56 4d 81 f4 bb 9f 3b ea-ce 03 fa 73 2c 83 2e 0d
Hardware UUID: f4814d56-9fbb-ea3b-ce03-fa732c832e0dTraceback (most recent call last):
File "/usr/libexec/vyos/conf_mode/protocols_ospf.py", line 280, in <module> apply(c) File "/usr/libexec/vyos/conf_mode/protocols_ospf.py", line 271, in apply frr_cfg.commit_configuration(ospf_daemon) File "/usr/lib/python3/dist-packages/vyos/frr.py", line 482, in commit_configuration raise ConfigurationNotValid(f'Config commit retry counter ({count_max}) exceeded for {daemon} dameon!')vyos.frr.ConfigurationNotValid: Config commit retry counter (5) exceeded for ospfd dameon!
protocols ospf failed
Commit failed
[edit]
vyos@vyos#