-
-
Notifications
You must be signed in to change notification settings - Fork 13.7k
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
nixos/frr: staticd config not working at first startup after boot #316163
Comments
drop a warning when a config is used which is migrated to mgmtd quick fix for NixOS#316163
After investigating I don't think this is the case anymore. After reloading zebra the static routed get activated even if configured in static.config. So I think the startup procedure has to be fixed/reworked, or alternatively reworked to use integrated config. |
In my testing the mgmt config seems to use a different syntax and /etc/frr/mgmt.conf seems unrelated to routing. |
Refactoring is in progress. |
- use upstream service and scripts - switch to integrated-vtysh-config, abandon per-daemon config - use always daemon names in options (e.g. ospf -> ospfd) - zebra, mgmtd and staticd are always enabled - abandon extraOptions, vtyListenAddress, vtyListenPort options; use just "options" instead - extend test to test staticd - pkgs.servers.frr: fix sbindir and remove FHS PATH fixes: NixOS#316163
- use upstream service and scripts - switch to integrated-vtysh-config, abandon per-daemon config - use always daemon names in options (e.g. ospf -> ospfd) - zebra, mgmtd and staticd are always enabled - abandon extraOptions, vtyListenAddress, vtyListenPort options; use just "options" instead - extend test to test staticd - pkgs.servers.frr: fix sbindir and remove FHS PATH fixes: NixOS#316163
PR #327099 is ready for a gentle review |
Describe the bug
After applying #274425 which I remember running fine with frr-9 we now run into
FRRouting/frr#15812
static
configuration does not get recognized anymore, it has to be moved tomgmt
to work again. The logic to enable mgmt when static is enabled is not the right solution anymore.Steps To Reproduce
take a config which worked before, like
and get
and a empty staticd running config with frr-10, instead of the expected routes.
Workaround
This can be worked around like
Solution?
I think we have to change
nixos/modules/services/networking/frr.nix
to put "static" configuration into mgmt, to not break existing setups. Later we have to change to unified config at all. @mweineltMetadata
"x86_64-linux"
Linux 6.6.32, NixOS, 24.05 (Uakari), 24.05.20240530.0f1a94c
yes
yes
nix-env (Nix) 2.18.2
""
""
/nix/store/v0sia9lh4vl46dsx8dcw1q5vpj1gzndm-source
The text was updated successfully, but these errors were encountered: