LXC does not start after upgrade from beta 2 to Proxmox 4 release

lordpit

Renowned Member
Jan 2, 2012
5
1
68
Hi there,in beta2 all LXC went fine. Now I get
Code:
  lxc-start: lxc_start.c: main: 344 The container failed to start.   
 lxc-start: lxc_start.c: main: 346 To get more details, run the container in foreground mode.  
  lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
Logfile
Code:
          lxc-start 1444200751.503 INFO     lxc_start_ui - lxc_start.c:main:264 - using rcfile /var/lib/lxc/1020/config
       lxc-start 1444200751.503 WARN     lxc_confile - confile.c:config_pivotdir:1825 - lxc.pivotdir is ignored.  It will soon become an error.
       lxc-start 1444200751.504 WARN     lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
       lxc-start 1444200751.504 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for reject_force_umount action 0
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force umounts
 
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for reject_force_umount action 0
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force umounts
 
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .[all].
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .kexec_load errno 1.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for kexec_load action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for kexec_load action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .open_by_handle_at errno 1.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for open_by_handle_at action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for open_by_handle_at action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .init_module errno 1.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for init_module action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for init_module action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .finit_module errno 1.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for finit_module action 327681
       lxc-start 1444200751.504 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
       lxc-start 1444200751.504 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for finit_module action 327681
       lxc-start 1444200751.504 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
       lxc-start 1444200751.504 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .delete_module errno 1.
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for delete_module action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for delete_module action 327681
       lxc-start 1444200751.504 INFO     lxc_seccomp - seccomp.c:parse_config_v2:420 - Merging in the compat seccomp ctx into the main one
       lxc-start 1444200751.504 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '1020', config section 'lxc'
       lxc-start 1444200752.030 DEBUG    lxc_start - start.c:setup_signal_fd:262 - sigchild handler set
       lxc-start 1444200752.030 DEBUG    lxc_console - console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
       lxc-start 1444200752.030 DEBUG    lxc_console - console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
       lxc-start 1444200752.031 DEBUG    lxc_console - console.c:lxc_console_sigwinch_init:179 - 3381 got SIGWINCH fd 9
       lxc-start 1444200752.031 DEBUG    lxc_console - console.c:lxc_console_winsz:88 - set winsz dstfd:6 cols:219 rows:40
       lxc-start 1444200752.031 INFO     lxc_start - start.c:lxc_init:454 - '1020' is initialized
       lxc-start 1444200752.031 DEBUG    lxc_start - start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
       lxc-start 1444200752.032 INFO     lxc_conf - conf.c:run_script:406 - Executing script '/usr/share/lxc/lxcnetaddbr' for container '1020', config section 'net'
       lxc-start 1444200752.549 DEBUG    lxc_conf - conf.c:instantiate_veth:2702 - instantiated veth 'veth1020i0/vethXYADOJ', index is '36'
       lxc-start 1444200752.549 INFO     lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for 1020
       lxc-start 1444200752.552 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.limit_in_bytes' set to '1073741824'
       lxc-start 1444200752.552 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.memsw.limit_in_bytes' set to '3221225472'
       lxc-start 1444200752.552 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_period_us' set to '100000'
       lxc-start 1444200752.553 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_quota_us' set to '200000'
       lxc-start 1444200752.553 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.shares' set to '1024'
       lxc-start 1444200752.553 INFO     lxc_cgmanager - cgmanager.c:cgm_setup_limits:1397 - cgroup limits have been setup
       lxc-start 1444200752.578 DEBUG    lxc_conf - conf.c:lxc_assign_network:3119 - move 'eth0' to '3409'
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - Invalid argument - Failed to make /vms/subvol-1020-disk-1 rslave
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - Invalid argument - Failed to make /vms/subvol-120-disk-1 rslave
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2000-disk-1 rslave
       lxc-start 1444200752.578 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2001-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2002-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2004-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2006-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2009-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - Invalid argument - Failed to make /vms/subvol-2013-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-2050-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3608 - No such file or directory - Failed to make /vms/subvol-6666-disk-1 rslave
       lxc-start 1444200752.579 ERROR    lxc_conf - conf.c:remount_all_slave:3609 - Continuing...
       lxc-start 1444200752.586 DEBUG    lxc_conf - conf.c:setup_rootfs:1284 - mounted '/vms/subvol-1020-disk-1' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs'
       lxc-start 1444200752.586 INFO     lxc_conf - conf.c:setup_utsname:919 - 'matthias.vielhak.de' hostname has been setup
       lxc-start 1444200752.602 DEBUG    lxc_conf - conf.c:setup_hw_addr:2244 - mac address '2E:C2:E8:77:8A:69' on 'eth0' has been setup
       lxc-start 1444200752.602 DEBUG    lxc_conf - conf.c:setup_netdev:2471 - 'eth0' has been setup
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:setup_network:2492 - network has been setup
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:mount_autodev:1148 - Mounting /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
       lxc-start 1444200752.602 WARN     lxc_conf - conf.c:mount_autodev:1159 - No /dev on container rootfs.
       lxc-start 1444200752.602 WARN     lxc_conf - conf.c:mount_autodev:1160 - Proceeding without autodev setup
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for proc on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys/net on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/net doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for (null) on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/net on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sys/net doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sysrq-trigger on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sysrq-trigger doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for (null) on /usr/lib/x86_64-linux-gnu/lxc/rootfs/proc/sysrq-trigger doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for sysfs on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for (null) on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for sysfs on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/devices/virtual/net doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/devices/virtual/net/devices/virtual/net on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/devices/virtual/net doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:lxc_mount_auto_mounts:815 - Mount source or target for (null) on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/devices/virtual/net doesn't exist. Skipping.
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:mount_entry:1716 - failed to mount '/sys/fs/fuse/connections' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections' (optional): No such file or directory
       lxc-start 1444200752.602 INFO     lxc_conf - conf.c:mount_file_entries:2026 - mount points have been setup
       lxc-start 1444200752.602 ERROR    lxc_cgmanager - cgmanager.c:cgm_bind_dir:1475 - /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/cgroup does not exist
       lxc-start 1444200752.602 ERROR    lxc_conf - conf.c:lxc_mount_auto_mounts:857 - No such file or directory - error mounting /sys/fs/cgroup
       lxc-start 1444200752.602 ERROR    lxc_conf - conf.c:lxc_setup:3822 - failed to setup the automatic mounts for '1020'
       lxc-start 1444200752.602 ERROR    lxc_start - start.c:do_start:702 - failed to setup the container
       lxc-start 1444200752.602 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
       lxc-start 1444200752.603 WARN     lxc_conf - conf.c:lxc_delete_network:2995 - failed to remove interface 'eth0'
       lxc-start 1444200752.626 ERROR    lxc_start - start.c:__lxc_start:1172 - failed to spawn '1020'
       lxc-start 1444200752.626 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-poststop-hook' for container '1020', config section 'lxc'
       lxc-start 1444200753.146 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
       lxc-start 1444200753.146 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
Any hints? Thanks in advance!
 
[SOLVED] LXC does not start after upgrade from beta 2 to Proxmox 4 release

Sorry, after 3 or 4 reboots everythings works.

It looks like it was an ZFS failure.

zfs mount showed all subvols..but there were no mount points ("ls" did not show any directories)!? zfs umount did not work/zfs mount did not work.

Now everything is OK again.

Strange!
 

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!