openSUSE- lxc-container startet nach upgrade auf Leap-16 nicht mehr

markusd

Renowned Member
Apr 20, 2015
108
2
83
Dortmund
Hallo,
siehe Betreff - ein unprivilegierter lxc - container mit openSUSE-Leap-15.6 läuft normal, nach upgrade auf 16 (rc) erscheint folgende Fehlermeldung:
Code:
pct start 113
/dev/rbd13
/dev/rbd14
run_buffer: 571 Script exited with status 255
lxc_init: 845 Failed to run lxc.hook.pre-start for container "113"
__lxc_start: 2034 Failed to initialize container "113"
startup for container '113' failed
Ich vermute, Leap-16 ist im pve-code einfach noch nicht berücksichtigt.
Ich weis gerade nicht, wo die entsprechende suse.pm liegt, wenn da jemand einen Tip hat, probiere ich das mal aus.
Ansonsten -soll ich einen Bugreport erstellen?

Danke
Markus
 
Ein starten mit Debug-Output zeigt:
Code:
# pct start 133 --debug
...
DEBUG    utils - ../src/lxc/utils.c:run_buffer:560 - Script exec /usr/share/lxc/hooks/lxc-pve-prestart-hook 133 lxc pre-start produced output: unsupported suse release '16.0'

Ich vermute, Leap-16 ist im pve-code einfach noch nicht berücksichtigt.
Das stimmt, danke für den Hinweis.

Ansonsten -soll ich einen Bugreport erstellen?
Ja, bitte unter https://bugzilla.proxmox.com

Daweil wäre folgender Workaround in /usr/share/perl5/PVE/LXC/Setup/SUSE.pm möglich:
Diff:
@@ -21,7 +21,7 @@
             # OK
         } elsif ($ostype eq 'sles' && $major == 12) {
             # OK - shares base with LEAP (42)
-        } elsif ($major == 15) {
+        } elsif ($major == 15 || $major == 16) {
             # OK for SLES and openSUSE Leap, see: https://lwn.net/Articles/720924/
         } else {
             die "unsupported suse release '$version'\n";