LXC container not starting after reboot

Evgeniy Zuev

New Member
Jul 15, 2017
1
0
1
35
After release upgrade from 15.04 -> 16.04 and reboot:

lxc-start 1500153970.791 INFO lxc_start_ui - lxc_start.c:main:264 - using rcfile /var/lib/lxc/100/config
lxc-start 1500153970.791 WARN lxc_confile - confile.c:config_pivotdir:1825 - lxc.pivotdir is ignored. It will soon become an error.
lxc-start 1500153970.792 WARN lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
lxc-start 1500153970.792 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .reject_force_umount # comment this to allow umount -f; not recommended.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for reject_force_umount action 0
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force umounts

lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for reject_force_umount action 0
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force umounts

lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .[all].
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .kexec_load errno 1.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for kexec_load action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for kexec_load action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .open_by_handle_at errno 1.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for open_by_handle_at action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for open_by_handle_at action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .init_module errno 1.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for init_module action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for init_module action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .finit_module errno 1.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for finit_module action 327681
lxc-start 1500153970.793 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
lxc-start 1500153970.793 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for finit_module action 327681
lxc-start 1500153970.793 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
lxc-start 1500153970.793 WARN lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .delete_module errno 1.
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for delete_module action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for delete_module action 327681
lxc-start 1500153970.793 INFO lxc_seccomp - seccomp.c:parse_config_v2:420 - Merging in the compat seccomp ctx into the main one
lxc-start 1500153970.793 INFO lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '100', config section 'lxc'
lxc-start 1500153971.104 DEBUG lxc_start - start.c:setup_signal_fd:262 - sigchild handler set
lxc-start 1500153971.105 DEBUG lxc_console - console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
lxc-start 1500153971.105 DEBUG lxc_console - console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
lxc-start 1500153971.105 DEBUG lxc_console - console.c:lxc_console_sigwinch_init:179 - 18827 got SIGWINCH fd 9
lxc-start 1500153971.105 DEBUG lxc_console - console.c:lxc_console_winsz:88 - set winsz dstfd:6 cols:183 rows:41
lxc-start 1500153971.105 INFO lxc_start - start.c:lxc_init:454 - '100' is initialized
lxc-start 1500153971.105 DEBUG lxc_start - start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
lxc-start 1500153971.106 INFO lxc_conf - conf.c:run_script:406 - Executing script '/usr/share/lxc/lxcnetaddbr' for container '100', config section 'net'
lxc-start 1500153971.411 DEBUG lxc_conf - conf.c:instantiate_veth:2702 - instantiated veth 'veth100i0/vethPK4Y42', index is '20'
lxc-start 1500153971.411 INFO lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for 100
lxc-start 1500153971.413 DEBUG lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.limit_in_bytes' set to '8589934592'
lxc-start 1500153971.413 DEBUG lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.memsw.limit_in_bytes' set to '17179869184'
lxc-start 1500153971.413 DEBUG lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_period_us' set to '100000'
lxc-start 1500153971.414 DEBUG lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_quota_us' set to '100000'
lxc-start 1500153971.414 DEBUG lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.shares' set to '1024'
lxc-start 1500153971.414 INFO lxc_cgmanager - cgmanager.c:cgm_setup_limits:1397 - cgroup limits have been setup
lxc-start 1500153971.430 DEBUG lxc_conf - conf.c:lxc_assign_network:3119 - move 'eth0' to '18854'
lxc-start 1500153971.431 DEBUG bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop6'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext3'
lxc-start 1500153971.431 DEBUG bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
lxc-start 1500153971.431 DEBUG bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop6'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext2'
lxc-start 1500153971.431 DEBUG bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
lxc-start 1500153971.431 DEBUG bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop6'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext4'
lxc-start 1500153971.434 INFO bdev - bdev.c:find_fstype_cb:167 - mounted '/dev/loop6' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs', with fstype 'ext4'
lxc-start 1500153971.434 DEBUG lxc_conf - conf.c:setup_rootfs:1284 - mounted 'loop:/var/lib/vz/images/100/vm-100-disk-1.raw' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs'
lxc-start 1500153971.434 INFO lxc_conf - conf.c:setup_utsname:919 - 'prototypes' hostname has been setup
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:setup_hw_addr:2244 - mac address '66:34:63:36:64:63' on 'eth0' has been setup
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:setup_netdev:2471 - 'eth0' has been setup
lxc-start 1500153971.450 INFO lxc_conf - conf.c:setup_network:2492 - network has been setup
lxc-start 1500153971.450 INFO lxc_conf - conf.c:mount_autodev:1148 - Mounting /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
lxc-start 1500153971.450 INFO lxc_conf - conf.c:mount_autodev:1169 - Mounted tmpfs onto /usr/lib/x86_64-linux-gnu/lxc/rootfs/dev
lxc-start 1500153971.450 INFO lxc_conf - conf.c:mount_autodev:1187 - Mounted /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1727 - remounting /sys/fs/fuse/connections on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections to respect bind or remount options
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1742 - (at remount) flags for /sys/fs/fuse/connections was 4096, required extra flags are 0
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1751 - mountflags already was 4096, skipping remount
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1777 - mounted '/sys/fs/fuse/connections' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections', type 'none'
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1727 - remounting /sys/kernel/debug on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug to respect bind or remount options
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1742 - (at remount) flags for /sys/kernel/debug was 4096, required extra flags are 0
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1751 - mountflags already was 4096, skipping remount
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1777 - mounted '/sys/kernel/debug' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/debug', type 'none'
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1727 - remounting /sys/kernel/security on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security to respect bind or remount options
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1742 - (at remount) flags for /sys/kernel/security was 4110, required extra flags are 14
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1777 - mounted '/sys/kernel/security' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/kernel/security', type 'none'
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1727 - remounting /sys/fs/pstore on /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore to respect bind or remount options
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1742 - (at remount) flags for /sys/fs/pstore was 4110, required extra flags are 14
lxc-start 1500153971.450 DEBUG lxc_conf - conf.c:mount_entry:1777 - mounted '/sys/fs/pstore' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/pstore', type 'none'
lxc-start 1500153971.450 INFO lxc_conf - conf.c:mount_file_entries:2026 - mount points have been setup
lxc-start 1500153971.451 INFO lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxcfs/lxc.mount.hook' for container '100', config section 'lxc'
lxc-start 1500153971.478 INFO lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-mount-hook' for container '100', config section 'lxc'
lxc-start 1500153971.793 ERROR lxc_conf - conf.c:run_buffer:336 - Script exited with status 255
lxc-start 1500153971.793 ERROR lxc_conf - conf.c:lxc_setup:3827 - failed to run mount hooks for container '100'.
lxc-start 1500153971.793 ERROR lxc_start - start.c:do_start:702 - failed to setup the container
lxc-start 1500153971.793 ERROR lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
lxc-start 1500153971.793 WARN lxc_conf - conf.c:lxc_delete_network:2995 - failed to remove interface 'eth0'
lxc-start 1500153972.014 ERROR lxc_start - start.c:__lxc_start:1172 - failed to spawn '100'
lxc-start 1500153972.014 INFO lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-poststop-hook' for container '100', config section 'lxc'
lxc-start 1500153972.330 ERROR lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
lxc-start 1500153972.330 ERROR lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the —logfile and —logpriority options.
 

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!