Updated lxc container from debian 8 to debian 9 now it wont start

Dustin

New Member
Jan 28, 2018
3
0
1
36
This issue seems to be reproducible. If i create a debian 9 container from scratch it will run fine, but if i upgrade debian 8 to debian 9 the container no longer starts.

Code:
$ cat /etc/debian_version

9.3


$ cat /etc/apt/sources.list
deb http       ://ftp.us.debian.org/debian stretch main contrib
# deb http       ://download.proxmox.com/debian jessie pve-no-subscription
# security updates
deb http       ://security.debian.org stretch/updates main contrib

$ cat /etc/apt/sources.list.d/pve-enterprise.list
# deb http      ://ftp.debian.org/debian stretch main contrib

# PVE pve-no-subscription repository provided by proxmox.com,
# NOT recommended for production use
deb http      ://download.proxmox.com/debian/pve stretch pve-no-subscription

# security updates
# deb http      ://security.debian.org stretch/updates main contrib


Code:
$ sudo lxc-start --name=120 --foreground --logfile log
lxc-start: 120: tools/lxc_start.c: main: 371 The container failed to start.
lxc-start: 120: tools/lxc_start.c: main: 375 Additional information can be obtained by setting the --logfile and --logpriority options.

$ cat log
      lxc-start 120 20180129211952.193 ERROR    lxc_start_ui - tools/lxc_start.c:main:371 - The container failed to start.
      lxc-start 120 20180129211952.193 ERROR    lxc_start_ui - tools/lxc_start.c:main:375 - Additional information can be obtained by setting the --logfile and --logpriority options.


Code:
$ sudo pct config 120
arch: amd64
cores: 2
hostname: wiki-temp
lock: mounted
memory: 1024
nameserver: 10.8.8.1
net0: name=eth0,bridge=vmbr0,gw=10.8.8.1,hwaddr=EE:4C:71:FF:AD:C7,ip=10.8.
8.51/24,ip6=dhcp,type=veth
onboot: 1
ostype: debian
rootfs: Data-Parity:120/vm-120-disk-1.raw,size=21G
searchdomain:
swap: 512

Code:
$ pveversion --verbose
proxmox-ve: 5.1-38 (running kernel: 4.13.13-5-pve)
pve-manager: 5.1-43 (running version: 5.1-43/bdb08029)
pve-kernel-4.4.10-1-pve: 4.4.10-54
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.4.35-1-pve: 4.4.35-77
pve-kernel-4.13.13-5-pve: 4.13.13-38
pve-kernel-4.4.67-1-pve: 4.4.67-92
libpve-http-server-perl: 2.0-8
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-19
qemu-server: 5.0-20
pve-firmware: 2.0-3
libpve-common-perl: 5.0-25
libpve-guest-common-perl: 2.0-14
libpve-access-control: 5.0-7
libpve-storage-perl: 5.0-17
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-3
pve-docs: 5.1-16
pve-qemu-kvm: 2.9.1-6
pve-container: 2.0-18
pve-firewall: 3.0-5
pve-ha-manager: 2.0-4
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.1-2
lxcfs: 2.0.8-1
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7.4-pve2~bpo9
 
Last edited:
we have 20 lxc's which were upgraded from jessie to stretch. I did that some time ago.

there were sometimes issues . I used debug and logging to find out the issues:
Code:
lxc-start -n  120    -F --logfile=/root/lxc.log --logpriority=debug
 
Thanks, looking through it now

Code:
lxc-start 120 20180130061104.120 INFO     lxc_start_ui - tools/lxc_start.c:main:280 - using rcfile /var/lib/lxc/120/config
      lxc-start 120 20180130061104.121 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for reject_force_umount action 0(kill).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:276 - Setting Seccomp rule to reject force umounts.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for reject_force_umount action 0(kill).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:276 - Setting Seccomp rule to reject force umounts.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:276 - Setting Seccomp rule to reject force umounts.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .[all].
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .kexec_load errno 1.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for kexec_load action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for kexec_load action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .open_by_handle_at errno 1.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for open_by_handle_at action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for open_by_handle_at action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .init_module errno 1.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for init_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for init_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .finit_module errno 1.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for finit_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for finit_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:435 - processing: .delete_module errno 1.
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:610 - Adding native rule for delete_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:614 - Adding compat rule for delete_module action 327681(errno).
      lxc-start 120 20180130061104.121 INFO     lxc_seccomp - seccomp.c:parse_config_v2:624 - Merging in the compat Seccomp ctx into the main one.
      lxc-start 120 20180130061104.121 INFO     lxc_conf - conf.c:run_script_argv:457 - Executing script "/usr/share/lxc/hooks/lxc-pve-prestart-hook" for container "120", config section "lxc".
      lxc-start 120 20180130061104.922 DEBUG    lxc_start - start.c:setup_signal_fd:301 - Set SIGCHLD handler with file descriptor: 5.
      lxc-start 120 20180130061104.922 DEBUG    console - console.c:lxc_console_peer_default:459 - using "/dev/tty" as peer tty device
      lxc-start 120 20180130061104.922 DEBUG    console - console.c:lxc_console_sigwinch_init:151 - process 27500 created signal fd 9 to handle SIGWINCH events
      lxc-start 120 20180130061104.922 DEBUG    console - console.c:lxc_console_winsz:71 - set winsz dstfd:6 cols:211 rows:50
      lxc-start 120 20180130061104.922 INFO     lxc_start - start.c:lxc_init:680 - container "120" is initialized
      lxc-start 120 20180130061104.924 INFO     lxc_conf - conf.c:run_script:507 - Executing script "/usr/share/lxc/lxcnetaddbr" for container "120", config section "net".
      lxc-start 120 20180130061105.568 DEBUG    lxc_network - network.c:instantiate_veth:219 - Instantiated veth "veth120i0/vethLSAVRG", index is "33"
      lxc-start 120 20180130061105.568 INFO     lxc_cgroup - cgroups/cgroup.c:cgroup_init:67 - cgroup driver cgroupfs-ng initing for 120
      lxc-start 120 20180130061105.568 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:filter_and_set_cpus:469 - No isolated cpus detected.
      lxc-start 120 20180130061105.568 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:handle_cpuset_hierarchy:640 - "cgroup.clone_children" was already set to "1".
      lxc-start 120 20180130061105.570 INFO     lxc_start - start.c:lxc_spawn:1259 - Cloned CLONE_NEWNS.
      lxc-start 120 20180130061105.570 INFO     lxc_start - start.c:lxc_spawn:1259 - Cloned CLONE_NEWPID.
      lxc-start 120 20180130061105.570 INFO     lxc_start - start.c:lxc_spawn:1259 - Cloned CLONE_NEWUTS.
      lxc-start 120 20180130061105.570 INFO     lxc_start - start.c:lxc_spawn:1259 - Cloned CLONE_NEWIPC.
      lxc-start 120 20180130061105.570 INFO     lxc_start - start.c:lxc_spawn:1259 - Cloned CLONE_NEWNET.
      lxc-start 120 20180130061105.570 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'memory.limit_in_bytes' set to '1073741824'
      lxc-start 120 20180130061105.570 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'memory.memsw.limit_in_bytes' set to '1610612736'
      lxc-start 120 20180130061105.570 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'cpu.shares' set to '1024'
      lxc-start 120 20180130061105.570 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'cpuset.cpus' set to '7-8'
      lxc-start 120 20180130061105.570 INFO     lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2137 - cgroup has been setup
      lxc-start 120 20180130061105.617 DEBUG    lxc_network - network.c:lxc_network_move_created_netdev_priv:2450 - Moved network device "vethLSAVRG"/"eth0" to network namespace of 27575
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.deny' set to 'a'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c *:* m'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'b *:* m'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 1:3 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 1:5 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 1:7 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 5:0 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 5:1 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 5:2 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 1:8 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 1:9 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 136:* rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 10:229 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 254:0 rm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 10:200 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 10:228 rwm'
      lxc-start 120 20180130061105.618 DEBUG    lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2132 - cgroup 'devices.allow' set to 'c 10:232 rwm'
      lxc-start 120 20180130061105.618 INFO     lxc_cgfsng - cgroups/cgfsng.c:cgfsng_setup_limits:2137 - cgroup has been setup
      lxc-start 120 20180130061105.619 INFO     lxc_start - start.c:do_start:925 - Unshared CLONE_NEWCGROUP.
      lxc-start 120 20180130061105.620 DEBUG    storage - storage/storage.c:storage_query:252 - Detected rootfs type "dir"
      lxc-start 120 20180130061105.620 DEBUG    lxc_conf - conf.c:lxc_setup_rootfs:1319 - Mounted rootfs "/var/lib/lxc/120/rootfs" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs" with options "(null)".
      lxc-start 120 20180130061105.620 INFO     lxc_conf - conf.c:setup_utsname:768 - 'wiki-temp' hostname has been setup
      lxc-start 120 20180130061105.641 DEBUG    lxc_network - network.c:setup_hw_addr:2716 - Mac address "EE:4C:71:FF:AD:C7" on "eth0" has been setup
      lxc-start 120 20180130061105.641 DEBUG    lxc_network - network.c:lxc_setup_netdev_in_child_namespaces:2974 - Network device "eth0" has been setup
      lxc-start 120 20180130061105.641 INFO     lxc_network - network.c:lxc_setup_network_in_child_namespaces:3002 - network has been setup
      lxc-start 120 20180130061105.641 INFO     lxc_conf - conf.c:mount_autodev:1149 - Preparing "/dev"
      lxc-start 120 20180130061105.641 INFO     lxc_conf - conf.c:mount_autodev:1171 - Mounted tmpfs on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev"
      lxc-start 120 20180130061105.641 INFO     lxc_conf - conf.c:mount_autodev:1188 - Prepared "/dev"
      lxc-start 120 20180130061105.642 DEBUG    lxc_conf - conf.c:mount_entry:1863 - 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 120 20180130061105.642 DEBUG    lxc_conf - conf.c:mount_entry:1884 - Flags for "/sys/fs/fuse/connections" were 4096, required extra flags are 0
      lxc-start 120 20180130061105.642 DEBUG    lxc_conf - conf.c:mount_entry:1894 - Mountflags already were 4096, skipping remount
      lxc-start 120 20180130061105.642 DEBUG    lxc_conf - conf.c:mount_entry:1921 - Mounted "/sys/fs/fuse/connections" on "/usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/fuse/connections" with filesystem type "none"
      lxc-start 120 20180130061105.642 INFO     lxc_conf - conf.c:mount_file_entries:2212 - Set up mount entries
      lxc-start 120 20180130061105.642 INFO     lxc_conf - conf.c:run_script_argv:457 - Executing script "/usr/share/lxcfs/lxc.mount.hook" for container "120", config section "lxc".
      lxc-start 120 20180130061105.663 INFO     lxc_conf - conf.c:run_script_argv:457 - Executing script "/usr/share/lxc/hooks/lxc-pve-autodev-hook" for container "120", config section "lxc".
      lxc-start 120 20180130061105.923 INFO     lxc_conf - conf.c:lxc_fill_autodev:1224 - Populating "/dev"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/null"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/zero"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/full"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/urandom"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/random"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_fill_autodev:1270 - Created device node "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/tty"
      lxc-start 120 20180130061105.923 INFO     lxc_conf - conf.c:lxc_fill_autodev:1275 - Populated "/dev"
      lxc-start 120 20180130061105.923 DEBUG    lxc_conf - conf.c:lxc_setup_dev_console:1603 - mounted pts device "/dev/pts/1" onto "/usr/lib/x86_64-linux-gnu/lxc/rootfs/dev/console"
      lxc-start 120 20180130061105.923 INFO     lxc_utils - utils.c:lxc_mount_proc_if_needed:1758 - I am 1, /proc/self points to "1"
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_rootfs_pivot_root:1127 - pivot_root syscall to '/usr/lib/x86_64-linux-gnu/lxc/rootfs' successful
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_pivot_root:1436 - finished pivot root
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_setup_devpts:1481 - mount new devpts instance with options "newinstance,ptmxmode=0666,mode=0620,gid=5,max=1024"
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_setup_devpts:1501 - created dummy "/dev/ptmx" file as bind mount target
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_setup_devpts:1506 - bind mounted "/dev/pts/ptmx" to "/dev/ptmx"
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_allocate_ttys:964 - allocated pty "/dev/pts/0" with master fd 11 and slave fd 14
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_allocate_ttys:964 - allocated pty "/dev/pts/1" with master fd 15 and slave fd 16
      lxc-start 120 20180130061105.941 INFO     lxc_conf - conf.c:lxc_allocate_ttys:984 - finished allocating 2 pts devices
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_setup_ttys:921 - Bind mounted "/dev/pts/0" onto "/dev/tty1"
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:lxc_setup_ttys:921 - Bind mounted "/dev/pts/1" onto "/dev/tty2"
      lxc-start 120 20180130061105.941 INFO     lxc_conf - conf.c:lxc_setup_ttys:930 - Finished setting up 2 /dev/tty<N> device(s)
      lxc-start 120 20180130061105.941 INFO     lxc_conf - conf.c:setup_personality:1542 - set personality to '0x0'
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2368 - drop capability 'mac_admin' (33)
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2368 - drop capability 'mac_override' (32)
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2368 - drop capability 'sys_time' (25)
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2368 - drop capability 'sys_module' (16)
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2368 - drop capability 'sys_rawio' (17)
      lxc-start 120 20180130061105.941 DEBUG    lxc_conf - conf.c:setup_caps:2377 - capabilities have been setup
      lxc-start 120 20180130061105.941 NOTICE   lxc_conf - conf.c:lxc_setup:3277 - Container "120" is set up
      lxc-start 120 20180130061105.941 INFO     lxc_apparmor - lsm/apparmor.c:apparmor_process_label_set:238 - changed apparmor profile to lxc-container-default-cgns
      lxc-start 120 20180130061105.943 NOTICE   lxc_start - start.c:start:1550 - Exec'ing "/sbin/init".
      lxc-start 120 20180130061105.945 NOTICE   lxc_start - start.c:post_start:1561 - Started "/sbin/init" with pid "27575".
      lxc-start 120 20180130061105.945 NOTICE   lxc_start - start.c:signal_handler:350 - Received SIGCHLD from pid 27517 instead of container init 27575.
      lxc-start 120 20180130061105.976 DEBUG    lxc_start - start.c:signal_handler:354 - Container init process 27575 exited.
      lxc-start 120 20180130061105.976 INFO     lxc_error - error.c:lxc_error_set_and_log:49 - Child <27575> ended on error (127)
      lxc-start 120 20180130061105.976 INFO     lxc_network - network.c:lxc_delete_network_priv:2534 - Interface "eth0" with index 33 already deleted or existing in different network namespace
      lxc-start 120 20180130061105.976 INFO     lxc_network - network.c:lxc_delete_network_priv:2544 - Removed interface "eth0" with index 33
      lxc-start 120 20180130061106.454 INFO     lxc_network - network.c:lxc_delete_network_priv:2565 - Removed interface "veth120i0" from ""
      lxc-start 120 20180130061106.454 DEBUG    lxc_network - network.c:lxc_delete_network:3129 - Deleted network devices
      lxc-start 120 20180130061106.103 INFO     lxc_conf - conf.c:run_script_argv:457 - Executing script "/usr/share/lxcfs/lxc.reboot.hook" for container "120", config section "lxc".
      lxc-start 120 20180130061106.606 INFO     lxc_conf - conf.c:run_script_argv:457 - Executing script "/usr/share/lxc/hooks/lxc-pve-poststop-hook" for container "120", config section "lxc".
      lxc-start 120 20180130061107.247 ERROR    lxc_start_ui - tools/lxc_start.c:main:371 - The container failed to start.
      lxc-start 120 20180130061107.247 ERROR    lxc_start_ui - tools/lxc_start.c:main:375 - Additional information can be obtained by setting the --logfile and --logpriority options.
 
based on the init error,
you may also check /var/log/syslog and others logs at /var/log/ within the lxc.

for zfs storage that is usually easy. what type of storage are you using?
 
We are using a software raid with mdadm.

looks like there is an ext4-fs error

from /var/log/syslog:
Code:
Jan 30 11:43:35 pve pct[25837]: <root@pam> starting task UPID:pve:000064EE:00CB79BC:5A70E707:vzstart:120:root@pam:
Jan 30 11:43:35 pve pct[25838]: starting CT 120: UPID:pve:000064EE:00CB79BC:5A70E707:vzstart:120:root@pam:
Jan 30 11:43:35 pve systemd[1]: Starting PVE LXC Container: 120...
Jan 30 11:43:36 pve systemd-udevd[25859]: Could not generate persistent MAC address for vethVMA1KS: No such file or directory
Jan 30 11:43:36 pve kernel: [133353.559926] EXT4-fs error (device loop1): ext4_iget:4691: inode #788030: comm rs:main Q:Reg: bad extra_isize 6657 (inode size 256)
Jan 30 11:43:36 pve kernel: [133354.010560] vmbr0: port 12(veth120i0) entered blocking state
Jan 30 11:43:36 pve kernel: [133354.010563] vmbr0: port 12(veth120i0) entered disabled state
Jan 30 11:43:36 pve kernel: [133354.010642] device veth120i0 entered promiscuous mode
Jan 30 11:43:36 pve kernel: [133354.076585] eth0: renamed from vethVMA1KS
Jan 30 11:43:36 pve systemd[1]: Started PVE LXC Container: 120.
Jan 30 11:43:36 pve kernel: [133354.406988] EXT4-fs error (device loop0): ext4_lookup:1580: inode #395511: comm init: deleted inode referenced: 395083
Jan 30 11:43:36 pve pct[25837]: <root@pam> end task UPID:pve:000064EE:00CB79BC:5A70E707:vzstart:120:root@pam: OK
Jan 30 11:43:36 pve kernel: [133354.493989] EXT4-fs error (device loop0): ext4_lookup:1580: inode #395511: comm init: deleted inode referenced: 395083
Jan 30 11:43:36 pve kernel: [133354.507035] vmbr0: port 12(veth120i0) entered disabled state
Jan 30 11:43:36 pve kernel: [133354.507324] device veth120i0 left promiscuous mode
Jan 30 11:43:36 pve kernel: [133354.507329] vmbr0: port 12(veth120i0) entered disabled state
Jan 30 11:43:38 pve systemd[1]: pve-container@120.service: Main process exited,code=exited, status=1/FAILURE
Jan 30 11:43:38 pve systemd[1]: pve-container@120.service: Unit entered failed state.
Jan 30 11:43:38 pve systemd[1]: pve-container@120.service: Failed with result 'exit-code'.
 

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!