UCS upgraded 5.0 -> 5.2, static routes no longer applied

After upgrading a 5.0.9 instance to 5.2, the static route I set in the UCR no longer seems to be applied after restarting the networking service (or the host).
The variable set:
interfaces/eth1/route/2 = net x.x.0.0 netmask 255.255.0.0 gw x.x.x.x

This route works fine when manually added, but is then lost after a reboot of the host. I verified eth1 is indeed still the correct interface for the route This worked before the upgrade to 5.2. Has anything changed for those UCR variables?

I can confirm this behaviour. After the upgrade to 5.2.1 my static route is not applied. I suspect it is because Debian 12 no longer installs the net-install package by default. If I change the command in /etc/network/interfaces from “up route add …” to “up ip route add …”, the static route is created again.
I will try to create a bug report.

Hi There,
same here. And I’ve given up upgrading because after 1st step of upgrading to 5.1 NetworkManager nmcli have been integrated and /etc/network/interfaces has been overwritten so that network connectivity has broken. I’ve reestablished it, but the 2nd step to 5.2 has again been interrupted due to the lack of network connectivity and remained incompletely.
I’m using Virtualbox’ network bridge working fine until now.
Wouldn’t it be an idea to allow to install nmcli before upgrading??? Until now, it’s not available for ucs-5.0 nodes.
Best, Yorck

Hi,

you can avoid this error by installing the old package net-tools which include the route command.