I performed the following dist-upgrade which included a new kernel. After reboot, I was unable to ssh into or ping the server.
My first instinct was that there was some sort of incompatibility with the new kernel. I chrooted into the system from systemrescuecd and tried booting the previous functioning kernel 5.4.34-1 as well as 4.19.0-9 (only two other kernels I have installed), but this didn't help.
My next thought was that the naming scheme for the network interfaces changed, thereby breaking static ip setup. I created the following file to pin interface name by MAC address:
Looking at the logs, this was probably never an issue because of:
I presume this means the naming scheme hasn't changed.
I'm pretty much stumped. I can't see any packages from the log above that would seem likely to mess up networking. Maybe somebody on this forum can?
If no one has any ideas about this, I guess I'll ask my host to fit KVM over IP and reinstall PVE from scratch. That would be a pity because then I'll be none the wiser and even more worried before the next time I have to upgrade...
Start-Date: 2020-05-22 01:02:36
Commandline: apt-get dist-upgrade
Install: pve-kernel-5.4.41-1-pve:amd64 (5.4.41-1, automatic)
Upgrade: pve-kernel-5.4:amd64 (6.2-1, 6.2-2), libisccfg163:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libpve-storage-perl:amd64 (6.1-7, 6.1-8), bind9-host:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libproxmox-acme-perl:amd64 (1.0.3, 1.0.4), pve-container:amd64 (3.1-5, 3.1-6), zfs-zed:amd64 (0.8.3-pve1, 0.8.4-pve1), libisc-export1100:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), zfsutils-linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libzfs2linux:amd64 (0.8.3-pve1, 0.8.4-pve1), liblwres161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libdns-export1104:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), pve-kernel-helper:amd64 (6.2-1, 6.2-2), libzpool2linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libisccc161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libbind9-161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libnvpair1linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libuutil1linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1)
End-Date: 2020-05-22 01:03:42
Commandline: apt-get dist-upgrade
Install: pve-kernel-5.4.41-1-pve:amd64 (5.4.41-1, automatic)
Upgrade: pve-kernel-5.4:amd64 (6.2-1, 6.2-2), libisccfg163:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libpve-storage-perl:amd64 (6.1-7, 6.1-8), bind9-host:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libproxmox-acme-perl:amd64 (1.0.3, 1.0.4), pve-container:amd64 (3.1-5, 3.1-6), zfs-zed:amd64 (0.8.3-pve1, 0.8.4-pve1), libisc-export1100:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libisc1100:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), zfsutils-linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libzfs2linux:amd64 (0.8.3-pve1, 0.8.4-pve1), liblwres161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libdns-export1104:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), pve-kernel-helper:amd64 (6.2-1, 6.2-2), libzpool2linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libisccc161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libbind9-161:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1), libnvpair1linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libuutil1linux:amd64 (0.8.3-pve1, 0.8.4-pve1), libdns1104:amd64 (1:9.11.5.P4+dfsg-5.1, 1:9.11.5.P4+dfsg-5.1+deb10u1)
End-Date: 2020-05-22 01:03:42
My first instinct was that there was some sort of incompatibility with the new kernel. I chrooted into the system from systemrescuecd and tried booting the previous functioning kernel 5.4.34-1 as well as 4.19.0-9 (only two other kernels I have installed), but this didn't help.
My next thought was that the naming scheme for the network interfaces changed, thereby breaking static ip setup. I created the following file to pin interface name by MAC address:
[Match]
MACAddress=00:25:90:11:df:ea
[Link]
Name=enp0s8
MACAddress=00:25:90:11:df:ea
[Link]
Name=enp0s8
Looking at the logs, this was probably never an issue because of:
May 22 01:23:39 comet kernel: [ 7.317892] forcedeth 0000:00:08.0 enp0s8: renamed from eth0
May 22 01:23:39 comet kernel: [ 7.332806] forcedeth 0000:00:09.0 enp0s9: renamed from eth1
May 22 01:23:39 comet kernel: [ 7.332806] forcedeth 0000:00:09.0 enp0s9: renamed from eth1
I'm pretty much stumped. I can't see any packages from the log above that would seem likely to mess up networking. Maybe somebody on this forum can?
If no one has any ideas about this, I guess I'll ask my host to fit KVM over IP and reinstall PVE from scratch. That would be a pity because then I'll be none the wiser and even more worried before the next time I have to upgrade...