UPDATE:
I found the problem to be caused by incorrect permission (no execution permission) for /usr/share/ifupdown2/__main__.py
I made it executable as root and it loaded interface configuration. I'm not sure if it is a bug I triggered by doing the upgrade.
Permission after the fix
Hi,
I have a 3 node pve setup with no-subscription. One of the nodes suddenly lost its network configuration when I ran the following
apt update
apt upgrade -y
reboot
after reboot, the interface file is intact, but when I try to do
systemctl restart networking
it is unusually fast and the node is no longer accessible. upon closer look, all nics are configured to manual. The interfaces file is not being parsed and the systemctl status networking showed initialization being successful without any error (and active). any modification in /etc/network/interfaces appear to have no effect when I run systemctl restart networking.
The following is my config on another node, where all nodes are identical
I found the problem to be caused by incorrect permission (no execution permission) for /usr/share/ifupdown2/__main__.py
I made it executable as root and it loaded interface configuration. I'm not sure if it is a bug I triggered by doing the upgrade.
Permission after the fix
Hi,
I have a 3 node pve setup with no-subscription. One of the nodes suddenly lost its network configuration when I ran the following
apt update
apt upgrade -y
reboot
after reboot, the interface file is intact, but when I try to do
systemctl restart networking
it is unusually fast and the node is no longer accessible. upon closer look, all nics are configured to manual. The interfaces file is not being parsed and the systemctl status networking showed initialization being successful without any error (and active). any modification in /etc/network/interfaces appear to have no effect when I run systemctl restart networking.
The following is my config on another node, where all nodes are identical
Code:
# network interface settings; autogenerated
# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
auto eno1
iface eno1 inet manual
iface eno3 inet manual
iface eno4 inet manual
auto eno2
iface eno2 inet manual
auto enp59s0
iface enp59s0 inet manual
auto enp59s0d1
iface enp59s0d1 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1 eno2
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto bond1
iface bond1 inet static
address 10.1.1.1/24
bond-slaves enp59s0 enp59s0d1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
#cluster network
auto vmbr0
iface vmbr0 inet static
address 192.168.101.1/16
gateway 192.168.200.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
auto vmbr0.30
iface vmbr0.30 inet static
address 10.2.2.1/24
#ceph public network
auto vmbr0.20
iface vmbr0.20 inet static
address 10.3.3.1/24
#cluster comm
source /etc/network/interfaces.d/*
Last edited: