PowerFlex Management Platform: Static routes disappear after CentOS to SUSE OS replacement
Summary: When an Operating System (OS) replacement is run from Community ENTerprise Operating System (CentOS) to SUSE Linux Enterprise Server (SLES) using the Replace Node OS operation, any preconfigured static routes are removed automatically. ...
Symptoms
Scenario: Running an OS replacement procedure from CentOS to SUSE on a system with configured static routes.
Impact:
- Connectivity issues appear, and static routes must be reconfigured manually.
- Potential data unavailability
Cause
Due to a software issue, the OS replacement process fails to retain static routes causing them to be removed once the operation completes.
Resolution
To add a permanent static route, edit the following file:
/etc/sysconfig/network/routes/ifconfig.bondX.<replication_vlan>
Add the static route, using the following format:
<destination-network>/<netmask> <source replication gateway-ip> - <interface>
Example:
Run the following command if replication Virtual Local Area Networks (VLANs) 161 and 162 are on interfaces eth3 and eth5, having Network 192.168.80.0/24 and 192.168.82.0/24 respectively:
echo "192.168.80.0/24 192.168.76.254 - eth3" >> /etc/sysconfig/network/routes/ifconfig.bond0.161
echo "192.168.82.0/24 192.168.78.254 - eth5" >> /etc/sysconfig/network/routes/ifconfig.bond1.162
Use the following path and file names if the following error appears: "/etc/sysconfig/network/routes/: Not a directory"
echo "192.168.80.0/24 192.168.76.254 - eth3" >> /etc/sysconfig/network/ifroute-bond0.161
echo "192.168.82.0/24 192.168.76.254 - eth5" >> /etc/sysconfig/network/ifroute-bond0.162
Reboot the node or run a network restart by running the following command for the change to take effect:
systemctl restart network.service
Once routes are added and the network service restarts, validate that the static route is configured and accessible (for example, through a ping command).
Additional Information
Impacted Versions: PowerFlex Management Platform (PFMP) 4.x
Fixed In Version: PFMP 4.8