No network after pve6 to pve7 upgrade

Oct 25, 2018
8
3
8
35
Hello,

I recently upgraded my pve 6 server (dedicated server RISE-1 at OVH), following this guide: https://pve.proxmox.com/wiki/Upgrade_from_6.x_to_7.0#Check_Linux_Network_Bridge_MAC
The upgrade went fine, but after a reboot, the server did not answer to ping, SSH, HTTP, etc.

pve6to7 utility showed no errors.
As my system already used ifupdown2, as mentioned by the guide, I did not write the MAC addresses in the /etc/network/interfaces (but I wrote them down somewhere, just in case).

Here is the /etc/network/interfaces file prior to the upgrade:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto vmbr0     # this interface is used by some CTs and VMs which have a public IP
iface vmbr0 inet dhcp
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1     # this interface is used by all CTs and VMs
iface vmbr1 inet static
        address 10.0.0.1/24
        gateway X.X.X.X
        bridge-ports none
        bridge-stp off
        bridge-fd 0

After a reboot, and failure to get any network, I chrooted with a live distro and modified the file:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual
        hwaddress a4:bf:01:2d:ad:68

iface eno2 inet manual
        hwaddress a4:bf:01:2d:ad:69

auto vmbr0
iface vmbr0 inet dhcp
        hwaddress a4:bf:01:2d:ad:68
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet static
        address 10.0.0.1/24
        hwaddress ba:45:8b:04:c0:80
        gateway X.X.X.X
        bridge-ports none
        bridge-stp off
        bridge-fd 0
I retrieved MAC addresses using ip -c link. After another reboot: no success.

syslog showed this error:
Code:
Oct  7 17:39:39 prox-01 networking[915]: error: vmbr0 : eno1 : (eno1: pre-up cmd '/etc/network/if-pre-up.d/static_ipv6' failed: returned 255 (Disabling IPv6 autoconfiguration for eno1
Oct  7 17:39:39 prox-01 networking[915]: sysctl: cannot stat /proc/sys/net/ipv6/conf/eno1/accept_ra: No such file or directory
Oct  7 17:39:39 prox-01 networking[915]: sysctl: cannot stat /proc/sys/net/ipv6/conf/eno1/accept_dad: No such file or directory
Oct  7 17:39:39 prox-01 networking[915]: sysctl: cannot stat /proc/sys/net/ipv6/conf/eno1/autoconf: No such file or directory
Oct  7 17:39:39 prox-01 networking[915]: ))
Oct  7 17:39:39 prox-01 networking[915]: warning: vmbr0: interface not recognized - please check interface configuration
So I chrooted again and commented out vmbr0 description in /etc/network/interfaces, then rebooted.
Now the only network related errors I see in the syslog are:
Code:
/bin/mv: cannot stat '/etc/network/interfaces.new': No such file or directory
and other expected errors complaining that the system can not reach Debian NTP pools and my proxmox backup server, but I still cannot connect to my server.

I would gladly provide any other information needed, and try any workaround :)
 
Last edited:
i had a similar issue, i had to add auto to my interfaces like so


Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual
    mtu 9000

auto eno2
iface eno2 inet manual
    mtu 9000

auto bond0
iface bond0 inet manual
    bond-slaves eno1 eno2
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer2+3
    mtu 9000

auto vmbr0
iface vmbr0 inet static
    address 10.0.10.20/24
    gateway 10.0.10.1
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
    mtu 9000
 
  • Like
Reactions: djsami
i had a similar issue, i had to add auto to my interfaces like so


Code:
auto lo
iface lo inet loopback

auto eno1
iface eno1 inet manual
    mtu 9000

auto eno2
iface eno2 inet manual
    mtu 9000

auto bond0
iface bond0 inet manual
    bond-slaves eno1 eno2
    bond-miimon 100
    bond-mode 802.3ad
    bond-xmit-hash-policy layer2+3
    mtu 9000

auto vmbr0
iface vmbr0 inet static
    address 10.0.10.20/24
    gateway 10.0.10.1
    bridge-ports bond0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
    mtu 9000

Hello

ens32ps to eno1 :D goo proxmoxz :) okey whm okey :)