-
Notifications
You must be signed in to change notification settings - Fork 696
net/frr: OSPF CARP interface costs don't survive a service restart #4702
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The error on system startup is not the cause. It is because of this startup-hook, which i think can be removed, but it doesn't matter in that case.
Maybe someone has an idea how to solve this in an elegant way? |
@AndyX90 I suppose you mean the script parts inside |
@AdSchellevis You are totally right, the override works. Also the relevant log line is present in frr: ospfd demote interface vtnet2 (cost 1000). but it has no effect.
|
Summarizing things up: Noticed 2 independent cosmetics btw:
|
For reference regarding the old watchfrr file, it should be removed automatically when the setup.sh is called: |
Probably not related to the original issue but I am also seeing |
Uh oh!
There was an error while loading. Please reload this page.
Important notices
Before you add a new report, we ask you kindly to acknowledge the following:
Describe the bug
The FRR Plugin has multiple ways to interact with carp.
This issue is about number 3.
If you choose a carp vip to depend on for an ospf interface, it works as long as the frr daemons are running.
If a deamon which is in carp-state backup ends and starts again, it starts with the normal interface costs, not the demoted ones.
This leads to same path costs and therefor routing problems.
To get it working again, you have to move the vips, then the costs get corrected for both firewalls.
Also if you manually trigger
python3 /usr/local/opnsense/scripts/frr/carp_event_handler
the correct costs are getting applied.To Reproduce
Steps to reproduce the behavior:
Expected behavior
The firewall in state carp-backup should get the demoted costs after a reboot (or a service restart) and not the default ones.
Screenshots
none
Relevant log files
Error on system startup:
>>> Error in start script '50-frr'
Additional context
Interestingly, this log line never appears.
Environment
OPNsense 25.1.6_4 (amd64).
Virtual testing appliance
The text was updated successfully, but these errors were encountered: