LXC Container do-release-upgrade bootet nicht

Bytechanger

Member
Jan 19, 2022
41
1
13
46
Hallo,

ich habe auf einem LXC-Container Ubuntu mit dem Unifi-Controller laufen.
Da es sich um Ubuntu 22.04 handelt, wollte ich über ein do-release-upgrade ein Upgrade auf 24.04 machen.

Nach der Installation lässt sich der Container jedoch nicht mehr starten.
Wo kann ich eine Fehlerdiagnose durchführen oder was mache ich falsch?

Meine VMs ließen sich ohne Probleme upgraden.

Greets

Byte
 
Hi,

ja Upgrade lief ohne Probleme.
Hier die Ausgabe:

Code:
lxc-start 114 20240906041954.759 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 114 20240906041954.759 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 114 20240906041954.760 INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 114 20240906041954.760 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "114", config section "lxc"
lxc-start 114 20240906041956.624 DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 114 lxc pre-start produced output: unsupported Ubuntu versi                                                 on '24.04'

lxc-start 114 20240906041956.642 ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 255
lxc-start 114 20240906041956.642 ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "114"
lxc-start 114 20240906041956.642 ERROR    start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "114"
lxc-start 114 20240906041956.642 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "114", config section "lxc"
lxc-start 114 20240906041957.144 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "114", config section "lxc"
lxc-start 114 20240906041957.817 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:307 - The container failed to start
lxc-start 114 20240906041957.817 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:312 - Additional information can be obtained by setting the --logfile and --logpriority options
root@proxmox:~# cat /tmp/lxc-114.log
lxc-start 114 20240906041954.759 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type u nsid 0 hostid 100000 range 65536
lxc-start 114 20240906041954.759 INFO     confile - ../src/lxc/confile.c:set_config_idmaps:2273 - Read uid map: type g nsid 0 hostid 100000 range 65536
lxc-start 114 20240906041954.760 INFO     lsm - ../src/lxc/lsm/lsm.c:lsm_init_static:38 - Initialized LSM security driver AppArmor
lxc-start 114 20240906041954.760 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "114", config section "lxc"
lxc-start 114 20240906041956.624 DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 114 lxc pre-start produced output: unsupported Ubuntu version '24.04'

lxc-start 114 20240906041956.642 ERROR    utils - ../src/lxc/utils.c:run_buffer:571 - Script exited with status 255
lxc-start 114 20240906041956.642 ERROR    start - ../src/lxc/start.c:lxc_init:845 - Failed to run lxc.hook.pre-start for container "114"
lxc-start 114 20240906041956.642 ERROR    start - ../src/lxc/start.c:__lxc_start:2034 - Failed to initialize container "114"
lxc-start 114 20240906041956.642 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "114", config section "lxc"
lxc-start 114 20240906041957.144 INFO     utils - ../src/lxc/utils.c:run_script_argv:587 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "114", config section "lxc"
lxc-start 114 20240906041957.817 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:307 - The container failed to start
lxc-start 114 20240906041957.817 ERROR    lxc_start - ../src/lxc/tools/lxc_start.c:lxc_start_main:312 - Additional information can be obtained by setting the --logfile and --logpriority options

lxc pre-start produced output: unsupported Ubuntu versi on '24.04'
fiel mir ins Auge!

Geht es also nur mit einer VM ?
 
Ich habe mehrere LXC so problemlos von 22.04.4 auf 24.04.1 gehoben.

Kann es sein, dass dein PVE nicht aktuell ist?
 
Hm.

pveversion
pve-manager/8.2.2/9355359cd7afbae4 (running kernel: 6.8.4-2-pve)

ich mache regelmäßig ein apt dist-upgrade.
 
Also lautet die Antwort "Nein" - zumindest bei einem nicht produktionsfähigem Repository.

pve-manager/8.2.4 / Linux 6.8.12-1-pve
 
Hallo,

ich weiß nicht was das bedeutet?

Wie aktualisiere ich sonst auf die aktuellste Version?
Ich kenne nur die apt dist-upgrade Möglichkeit.

Oder meinst Du
"Kann es sein, dass dein PVE nicht aktuell ist?" -> Nein, sie ist aktuell?!
Und warum "nicht produktionsfähigem Repository" ?
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!