The service was also missing an ifreload, since the ifupdown2 config gets regenerated by SDN and needs to be applied before generating the FRR configuration in order for the FRR config generation to work properly.
Signed-off-by: Stefan Hanreich <s.hanre...@proxmox.com> --- bin/pve-sdn-commit | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/bin/pve-sdn-commit b/bin/pve-sdn-commit index 2654e17ed..479056e25 100644 --- a/bin/pve-sdn-commit +++ b/bin/pve-sdn-commit @@ -9,6 +9,16 @@ PVE::Network::SDN::commit_config(); PVE::Network::SDN::generate_zone_config(); PVE::Network::SDN::generate_dhcp_config(); + +my $err = sub { + my $line = shift; + if ($line =~ /(warning|error): (\S+):/) { + print "$2 : $line \n"; + } +}; + +PVE::Tools::run_command(['ifreload', '-a'], errfunc => $err); + PVE::Network::SDN::generate_controller_config(1); exit 0; -- 2.39.5 _______________________________________________ pve-devel mailing list pve-devel@lists.proxmox.com https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel