[SOLVED] one node does not upgrade kernel

RobFantini

Famous Member
May 24, 2012
2,043
111
133
Boston,Mass
I have 2 nodes with a community subscription .

Sources list are identical :
Code:
deb https://enterprise.proxmox.com/debian stretch pve-enterprise

yet after doing this on both
Code:
apt-get update  &&  apt-get  -y dist-upgrade

one of the nodes is stuck at
Code:
# uname -a
Linux pve10 4.13.16-1-pve #1 SMP PVE 4.13.16-46 (Wed, 4 Apr 2018 10:30:30 +0200) x86_64 GNU/Linux

the others are at
Code:
# uname -a
Linux sys13 4.15.17-3-pve #1 SMP PVE 4.15.17-13 (Mon, 18 Jun 2018 17:15:04 +0200) x86_64 GNU/Linux

note the node stuck at old kernel - /boot has:
Code:
# ls /boot
config-4.13.16-1-pve  initrd.img-4.13.16-1-pve  pve/
efi/                  memtest86+.bin            System.map-4.13.16-1-pve
grub/                 memtest86+_multiboot.bin  vmlinuz-4.13.16-1-pve

Any hints on how to solve?
 
Last edited:
apt-get update && apt-get -y dist-upgrade
dangerous, i would not run dist-upgrade with '-y'

but anyway, what is the output of the update? any hints there?
maybe the kernel is installed but grub selects the older one ?
 
dangerous, i would not run dist-upgrade with '-y'

but anyway, what is the output of the update? any hints there?
maybe the kernel is installed but grub selects the older one ?

- thanks for the -y tip.

- output:
Code:
# apt-get update  &&  apt-get   dist-upgrade
Hit:1 http://download.proxmox.com/debian/ceph-luminous stretch InRelease
Ign:2 http://httpredir.debian.org/debian stretch InRelease
Hit:3 https://enterprise.proxmox.com/debian stretch InRelease
Hit:4 http://httpredir.debian.org/debian stretch-updates InRelease
Hit:5 http://httpredir.debian.org/debian stretch Release
Reading package lists... Done
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.


and /boot has just one kernel:
Code:
# ls -l /boot
total 41985
-rw-r--r-- 1 root root   212778 Apr  4 04:30 config-4.13.16-1-pve
drwxr-xr-x 2 root root        2 Nov  5  2017 efi/
drwxr-xr-x 5 root root        8 Apr 12 03:30 grub/
-rw-r--r-- 1 root root 33429793 Jun  8 06:17 initrd.img-4.13.16-1-pve
-rw-r--r-- 1 root root   182704 Jun 25  2015 memtest86+.bin
-rw-r--r-- 1 root root   184840 Jun 25  2015 memtest86+_multiboot.bin
drwxr-xr-x 2 root root        4 Mar 31 17:24 pve/
-rw-r--r-- 1 root root  3918665 Apr  4 04:30 System.map-4.13.16-1-pve
-rw-r--r-- 1 root root  8017680 Apr  4 04:30 vmlinuz-4.13.16-1-pve

Code:
# pveversion -v
proxmox-ve: not correctly installed (running kernel: 4.13.16-1-pve)
pve-manager: 5.1-52 (running version: 5.1-52/ba597a64)
pve-kernel-4.13.16-1-pve: 4.13.16-46
ceph: 12.2.5-pve1
corosync: 2.4.2-pve5
criu: 2.11.1-1~bpo90
glusterfs-client: 3.8.8-1
ksm-control-daemon: 1.2-2
libjs-extjs: 6.0.1-2
libpve-access-control: 5.0-8
libpve-apiclient-perl: 2.0-4
libpve-common-perl: 5.0-33
libpve-guest-common-perl: 2.0-16
libpve-http-server-perl: 2.0-9
libpve-storage-perl: 5.0-23
libqb0: 1.0.1-1
lvm2: 2.02.168-pve6
lxc-pve: 3.0.0-3
lxcfs: 3.0.0-1
novnc-pve: 1.0.0-1
proxmox-widget-toolkit: 1.0-19
pve-cluster: 5.0-25
pve-container: 2.0-23
pve-docs: 5.2-4
pve-firewall: 3.0-12
pve-firmware: 2.0-4
pve-ha-manager: 2.0-5
pve-i18n: 1.0-6
pve-libspice-server1: 0.12.8-3
pve-qemu-kvm: 2.11.1-5
pve-xtermjs: 1.0-5
qemu-server: 5.0-28
smartmontools: 6.5+svn4324-1
spiceterm: 3.0-5
vncterm: 1.5-3
zfsutils-linux: 0.7.9-pve1~bpo9
 
just saw that you have a wrong line in your apt sources list, the correct one is
Code:
deb https://enterprise.proxmox.com/debian/pve stretch pve-enterprise