[SOLVED] local sdn network configuration is too old, please reload

pille99

Active Member
Sep 14, 2022
360
28
28
hello guys

currently i am changing some of the network configuration.
i need to segregate the network more - one server role per range. how do you guys segregate ? if you do. please let me know

otherwise, in the process and i reload the sdn (apply) on node 1 is the error

local sdn network configuration is too old, please reload

in the system log.

any hints ?
 
Update:

on the task log is seen following error>




Failed to disable unit: Unit file dnsmasq@.service does not exists

TASK ERROR: Could not run before_regenerate for DHCP plugin dnsmasq command 'systemctl disable dnsmasq@' failed: exit code 1

on the system log from node 1:
Code:
Apr 04 11:49:17 hvirt01 pvedaemon[15138]: <root@pam> starting task UPID:hvirt01:00073CFA:00554E99:660E779D:reloadnetworkall::root@pam:
Apr 04 11:49:18 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:20 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:21 hvirt01 pvestatd[2490]: local sdn network configuration is too old, please reload
Apr 04 11:49:22 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:23 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:25 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:27 hvirt01 pmxcfs[2194]: [status] notice: received log
Apr 04 11:49:27 hvirt01 pvesh[474449]: <root@pam> starting task UPID:hvirt01:00073D57:00555282:660E77A7:srvreload:networking:root@pam:
Apr 04 11:49:27 hvirt01 pvesh[474455]: Could not run before_regenerate for DHCP plugin dnsmasq command 'systemctl disable dnsmasq@' failed: exit code 1
Apr 04 11:49:27 hvirt01 pvesh[474449]: <root@pam> end task UPID:hvirt01:00073D57:00555282:660E77A7:srvreload:networking:root@pam: Could not run before_regenerate for DHCP plugin dnsmasq command 'systemctl disable dnsmasq@' failed: exit code 1
Apr 04 11:49:27 hvirt01 pvedaemon[15138]: <root@pam> end task UPID:hvirt01:00073CFA:00554E99:660E779D:reloadnetworkall::root@pam: OK
 
Code:
head -n-0 /etc/pve/sdn/*
apt-cache policy dnsmasq dnsmasq-base
 
Code:
head -n-0 /etc/pve/sdn/*
apt-cache policy dnsmasq dnsmasq-base
node1
Code:
==> /etc/pve/sdn/zones.cfg <==
vxlan: IntLAN
        peers 10.10.15.10, 10.10.15.11, 10.10.15.12, 10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt02,hvirt04,hvirt01,hvirt03

vxlan: IntWin
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.25.13
        ipam pve
        mtu 8950
        nodes hvirt04,hvirt02,hvirt01,hvirt03

vxlan: IntOpnS
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt04,hvirt02,hvirt01,hvirt03

vxlan: IntPub
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt03,hvirt02,hvirt04,hvirt01

vxlan: ShareCLD
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.25.13
        ipam pve
        nodes hvirt01,hvirt02,hvirt04,hvirt03

root@hvirt01:~# apt-cache policy dnsmasq dnsmasq-base
dnsmasq:
  Installed: (none)
  Candidate: 2.89-1
  Version table:
     2.89-1 500
        500 http://ftp.ch.debian.org/debian bookworm/main amd64 Packages
dnsmasq-base:
  Installed: 2.89-1
  Candidate: 2.89-1
  Version table:
 *** 2.89-1 500
        500 http://ftp.ch.debian.org/debian bookworm/main amd64 Packages
        100 /var/lib/dpkg/status
root@hvirt01:~#

node2
Code:
==> /etc/pve/sdn/zones.cfg <==
vxlan: IntLAN
        peers 10.10.15.10, 10.10.15.11, 10.10.15.12, 10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt02,hvirt04,hvirt01,hvirt03

vxlan: IntWin
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.25.13
        ipam pve
        mtu 8950
        nodes hvirt04,hvirt02,hvirt01,hvirt03

vxlan: IntOpnS
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt04,hvirt02,hvirt01,hvirt03

vxlan: IntPub
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.15.13
        ipam pve
        mtu 8950
        nodes hvirt03,hvirt02,hvirt04,hvirt01

vxlan: ShareCLD
        peers 10.10.15.10,10.10.15.11,10.10.15.12,10.10.25.13
        ipam pve
        nodes hvirt01,hvirt02,hvirt04,hvirt03

root@hvirt02:~# apt-cache policy dnsmasq dnsmasq-base
dnsmasq:
  Installed: (none)
  Candidate: 2.89-1
  Version table:
     2.89-1 500
        500 http://ftp.ch.debian.org/debian bookworm/main amd64 Packages
dnsmasq-base:
  Installed: (none)
  Candidate: 2.89-1
  Version table:
     2.89-1 500
        500 http://ftp.ch.debian.org/debian bookworm/main amd64 Packages
 
Did you at some point have dnsmasq installed? It seems like dnsmasq-base is installed, which usually happens when dnsmasq is installed and then uninstalled via apt purge/remove dnsmasq . If you don't need dnsmasq then apt remove dnsmasq-base should solve this issue.
 
just wanted to answer but you was faster.

no, never used anything with dhcp. the other 3 nodes has nothing installed with dhcp. anyway. the apply for sdn works again. thx mate. like usually, you guys are very helpfully.

i dont know if is helpfully and maybe its for recreation purpose to follow up what i have done. maybe it was installed in these

i created a new sdn, new zone first, added VNets and Subnets (set ip addresses) but no bridge yet. pressed apply (all on node1)
only on the zone config, ipam can be choosen. there is standard the "pve" in.

after i removed the sdn which i didnt need anymore.

that was everything i have done.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!