LX Container lässt sich nach Migration nicht starten

DerDaDrueben

New Member
Nov 15, 2022
2
1
3
Hallo zusammen,

Ich brauche mal eure Unterstützung bei der Fehlersuche.

Ich habe zwei LX Container die ich in einem Cluster von einem Node auf einen anderen migriert habe. Auf dem neuen Node kann ich diese nicht starten. Schiebe ich sie zurück laufen sie.

Hier mal die Debug Ausgabe am neuen Node beim Starten.

Code:
safe_mount: 1221 Invalid argument - Failed to mount "/sys/kernel/debug" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug"
run_buffer: 321 Script exited with status 1
lxc_setup: 4400 Failed to run mount hooks
do_start: 1275 Failed to setup container "100"
sync_wait: 34 An error occurred in another process (expected sequence number 4)
__lxc_start: 2074 Failed to spawn container "100"
nfig section "lxc"
DEBUG    seccomp - ../src/lxc/seccomp.c:parse_config_v2:656 - Host native arch is [3221225534]
INFO     seccomp - ../src/lxc/seccomp.c:parse_config_v2:807 - Processing "reject_force_umount  # comment this to allow umount -f;  not recommended"
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:524 - Set seccomp rule to reject force umounts
INFO     seccomp - ../src/lxc/seccomp.c:parse_config_v2:807 - Processing "[all]"
INFO     seccomp - ../src/lxc/seccomp.c:parse_config_v2:807 - Processing "kexec_load errno 1"
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[246:kexec_load] action[327681:errno] arch[0]
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[246:kexec_load] action[327681:errno] arch[1073741827]
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:564 - Adding compat rule for syscall[246:kexec_load] action[327681:errno] arch[1073741886]
INFO     seccomp - ../src/lxc/seccomp.c:parse_config_v2:807 - Processing "open_by_handle_at errno 1"
INFO     seccomp - ../src/lxc/seccomp.c:do_resolve_add_rule:564 - Adding native rule for syscall[304:open_by_handle_at] action[327681:errno] arch[0]

Was für Infos benötigt ihr noch?

Danke euch für Eure Hilfe.
 
Okay, Problem gelöst.

Der alte Node wurde mit einem Proxmox ISO aufgesetzt. Der neue Node wurde mit einem Debian ISO und manueller Proxmox Installation aufgesetzt.

Ich habe im Node in der /etc/fstab folgende Zeile ergänzt:
Code:
proc /proc proc defaults 0 0

Die Lösung kann so einfach sein
 
  • Like
Reactions: endurance