CT not running after conversion.

pmloikju

New Member
Nov 28, 2014
16
0
1
Hi,

I have two debian CT from proxmox 3.4.
I restore then on new proxmox 4, recreate config file (/etc/pve/lxc/XXX.conf) without network to avoid error.

Any idea ?

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


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


      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .[all].
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .kexec_load errno 1.
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for kexec_load action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for kexec_load action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .open_by_handle_at errno 1.
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for open_by_handle_at action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for open_by_handle_at action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .init_module errno 1.
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for init_module action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for init_module action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .finit_module errno 1.
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for finit_module action 327681
      lxc-start 1444840981.216 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
      lxc-start 1444840981.216 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for finit_module action 327681
      lxc-start 1444840981.216 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
      lxc-start 1444840981.216 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .delete_module errno 1.
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for delete_module action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for delete_module action 327681
      lxc-start 1444840981.216 INFO     lxc_seccomp - seccomp.c:parse_config_v2:420 - Merging in the compat seccomp ctx into the main one
      lxc-start 1444840981.216 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '103', config section 'lxc'
      lxc-start 1444840981.521 DEBUG    lxc_start - start.c:setup_signal_fd:262 - sigchild handler set
      lxc-start 1444840981.521 DEBUG    lxc_console - console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
      lxc-start 1444840981.521 DEBUG    lxc_console - console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
      lxc-start 1444840981.521 DEBUG    lxc_console - console.c:lxc_console_sigwinch_init:179 - 13835 got SIGWINCH fd 9
      lxc-start 1444840981.521 DEBUG    lxc_console - console.c:lxc_console_winsz:88 - set winsz dstfd:6 cols:124 rows:40
      lxc-start 1444840981.521 INFO     lxc_start - start.c:lxc_init:454 - '103' is initialized
      lxc-start 1444840981.521 DEBUG    lxc_start - start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
      lxc-start 1444840981.521 INFO     lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for 103
      lxc-start 1444840981.523 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.limit_in_bytes' set to '536870912'
      lxc-start 1444840981.524 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.memsw.limit_in_bytes' set to '1073741824'
      lxc-start 1444840981.524 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_period_us' set to '100000'
      lxc-start 1444840981.524 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_quota_us' set to '200000'
      lxc-start 1444840981.524 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.shares' set to '2048'
      lxc-start 1444840981.524 INFO     lxc_cgmanager - cgmanager.c:cgm_setup_limits:1397 - cgroup limits have been setup
      lxc-start 1444840981.527 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext3'
      lxc-start 1444840981.527 DEBUG    bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
      lxc-start 1444840981.527 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext2'
      lxc-start 1444840981.528 DEBUG    bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
      lxc-start 1444840981.528 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext4'
      lxc-start 1444840981.531 INFO     bdev - bdev.c:find_fstype_cb:167 - mounted '/dev/loop0' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs', with fstype 'ext4'
      lxc-start 1444840981.531 DEBUG    lxc_conf - conf.c:setup_rootfs:1284 - mounted 'loop:/var/lib/vz/images/103/vm-103-disk-1.raw' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs'
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:setup_utsname:919 - 'pmloikju.com' hostname has been setup
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:setup_network:2492 - network has been setup
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:mount_autodev:1148 - Mounting /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:mount_autodev:1169 - Mounted tmpfs onto /usr/lib/x86_64-linux-gnu/lxc/rootfs/dev
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:mount_autodev:1187 - Mounted /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
      lxc-start 1444840981.531 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 1444840981.531 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 1444840981.531 DEBUG    lxc_conf - conf.c:mount_entry:1751 - mountflags already was 4096, skipping remount
      lxc-start 1444840981.531 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 1444840981.531 INFO     lxc_conf - conf.c:mount_file_entries:2026 - mount points have been setup
      lxc-start 1444840981.531 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-mount-hook' for container '103', config section 'lxc'
      lxc-start 1444840981.840 ERROR    lxc_conf - conf.c:run_buffer:336 - Script exited with status 25
      lxc-start 1444840981.840 ERROR    lxc_conf - conf.c:lxc_setup:3827 - failed to run mount hooks for container '103'.
      lxc-start 1444840981.840 ERROR    lxc_start - start.c:do_start:702 - failed to setup the container
      lxc-start 1444840981.840 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
      lxc-start 1444840981.879 ERROR    lxc_start - start.c:__lxc_start:1172 - failed to spawn '103'
      lxc-start 1444840981.879 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-poststop-hook' for container '103', config section 'lxc'
      lxc-start 1444840982.183 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
      lxc-start 1444840982.183 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
      lxc-start 1444841291.336 INFO     lxc_start_ui - lxc_start.c:main:264 - using rcfile /var/lib/lxc/103/config
      lxc-start 1444841291.336 WARN     lxc_confile - confile.c:config_pivotdir:1825 - lxc.pivotdir is ignored.  It will soon become an error.
      lxc-start 1444841291.337 WARN     lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
      lxc-start 1444841291.337 INFO     lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .reject_force_umount  # comment this to allow umount -f;  not recommended.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for reject_force_umount action 0
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:do_resolve_add_rule:210 - Setting seccomp rule to reject force umounts


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


      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .[all].
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .kexec_load errno 1.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for kexec_load action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for kexec_load action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .open_by_handle_at errno 1.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for open_by_handle_at action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for open_by_handle_at action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .init_module errno 1.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for init_module action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for init_module action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .finit_module errno 1.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for finit_module action 327681
      lxc-start 1444841291.337 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
      lxc-start 1444841291.337 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for finit_module action 327681
      lxc-start 1444841291.337 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:227 - Seccomp: got negative # for syscall: finit_module
      lxc-start 1444841291.337 WARN     lxc_seccomp - seccomp.c:do_resolve_add_rule:228 - This syscall will NOT be blacklisted
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:318 - processing: .delete_module errno 1.
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:410 - Adding native rule for delete_module action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:413 - Adding compat rule for delete_module action 327681
      lxc-start 1444841291.337 INFO     lxc_seccomp - seccomp.c:parse_config_v2:420 - Merging in the compat seccomp ctx into the main one
      lxc-start 1444841291.337 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-prestart-hook' for container '103', config section 'lxc'
      lxc-start 1444841291.641 DEBUG    lxc_start - start.c:setup_signal_fd:262 - sigchild handler set
      lxc-start 1444841291.642 DEBUG    lxc_console - console.c:lxc_console_peer_default:500 - opening /dev/tty for console peer
      lxc-start 1444841291.642 DEBUG    lxc_console - console.c:lxc_console_peer_default:506 - using '/dev/tty' as console
      lxc-start 1444841291.642 DEBUG    lxc_console - console.c:lxc_console_sigwinch_init:179 - 14453 got SIGWINCH fd 9
      lxc-start 1444841291.642 DEBUG    lxc_console - console.c:lxc_console_winsz:88 - set winsz dstfd:6 cols:218 rows:70
      lxc-start 1444841291.642 INFO     lxc_start - start.c:lxc_init:454 - '103' is initialized
      lxc-start 1444841291.642 DEBUG    lxc_start - start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
      lxc-start 1444841291.643 INFO     lxc_conf - conf.c:run_script:406 - Executing script '/usr/share/lxc/lxcnetaddbr' for container '103', config section 'net'
      lxc-start 1444841291.944 DEBUG    lxc_conf - conf.c:instantiate_veth:2702 - instantiated veth 'veth103i0/vethNSBP60', index is '9'
      lxc-start 1444841291.944 INFO     lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for 103
      lxc-start 1444841291.947 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.limit_in_bytes' set to '536870912'
      lxc-start 1444841291.947 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'memory.memsw.limit_in_bytes' set to '1073741824'
      lxc-start 1444841291.947 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_period_us' set to '100000'
      lxc-start 1444841291.947 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.cfs_quota_us' set to '200000'
      lxc-start 1444841291.948 DEBUG    lxc_cgmanager - cgmanager.c:cgm_setup_limits:1393 - cgroup 'cpu.shares' set to '2048'
      lxc-start 1444841291.948 INFO     lxc_cgmanager - cgmanager.c:cgm_setup_limits:1397 - cgroup limits have been setup
      lxc-start 1444841291.962 DEBUG    lxc_conf - conf.c:lxc_assign_network:3119 - move 'eth0' to '14478'
      lxc-start 1444841291.965 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext3'
      lxc-start 1444841291.966 DEBUG    bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
      lxc-start 1444841291.966 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext2'
      lxc-start 1444841291.967 DEBUG    bdev - bdev.c:find_fstype_cb:159 - mount failed with error: Invalid argument
      lxc-start 1444841291.967 DEBUG    bdev - bdev.c:find_fstype_cb:151 - trying to mount '/dev/loop0'->'/usr/lib/x86_64-linux-gnu/lxc/rootfs' with fstype 'ext4'
      lxc-start 1444841291.971 INFO     bdev - bdev.c:find_fstype_cb:167 - mounted '/dev/loop0' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs', with fstype 'ext4'
      lxc-start 1444841291.971 DEBUG    lxc_conf - conf.c:setup_rootfs:1284 - mounted 'loop:/var/lib/vz/images/103/vm-103-disk-1.raw' on '/usr/lib/x86_64-linux-gnu/lxc/rootfs'
      lxc-start 1444841291.971 INFO     lxc_conf - conf.c:setup_utsname:919 - 'pmloikju.com' hostname has been setup
      lxc-start 1444841291.990 DEBUG    lxc_conf - conf.c:setup_hw_addr:2244 - mac address '42:E9:E4:0A:20:C5' on 'eth0' has been setup
      lxc-start 1444841291.990 DEBUG    lxc_conf - conf.c:setup_netdev:2471 - 'eth0' has been setup
      lxc-start 1444841291.990 INFO     lxc_conf - conf.c:setup_network:2492 - network has been setup
      lxc-start 1444841291.990 INFO     lxc_conf - conf.c:mount_autodev:1148 - Mounting /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
      lxc-start 1444841291.990 INFO     lxc_conf - conf.c:mount_autodev:1169 - Mounted tmpfs onto /usr/lib/x86_64-linux-gnu/lxc/rootfs/dev
      lxc-start 1444841291.990 INFO     lxc_conf - conf.c:mount_autodev:1187 - Mounted /dev under /usr/lib/x86_64-linux-gnu/lxc/rootfs
      lxc-start 1444841291.991 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 1444841291.991 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 1444841291.991 DEBUG    lxc_conf - conf.c:mount_entry:1751 - mountflags already was 4096, skipping remount
      lxc-start 1444841291.991 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 1444841291.991 INFO     lxc_conf - conf.c:mount_file_entries:2026 - mount points have been setup
      lxc-start 1444841291.991 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-mount-hook' for container '103', config section 'lxc'
      lxc-start 1444841292.297 ERROR    lxc_conf - conf.c:run_buffer:336 - Script exited with status 25
      lxc-start 1444841292.297 ERROR    lxc_conf - conf.c:lxc_setup:3827 - failed to run mount hooks for container '103'.
      lxc-start 1444841292.297 ERROR    lxc_start - start.c:do_start:702 - failed to setup the container
      lxc-start 1444841292.297 ERROR    lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
      lxc-start 1444841292.297 WARN     lxc_conf - conf.c:lxc_delete_network:2995 - failed to remove interface 'eth0'
      lxc-start 1444841292.316 ERROR    lxc_start - start.c:__lxc_start:1172 - failed to spawn '103'
      lxc-start 1444841292.316 INFO     lxc_conf - conf.c:run_script_argv:356 - Executing script '/usr/share/lxc/hooks/lxc-pve-poststop-hook' for container '103', config section 'lxc'
      lxc-start 1444841292.626 ERROR    lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
      lxc-start 1444841292.626 ERROR    lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
 
Hi,
can you please post the config.
it is located /etc/pve/lxc/<vmid>.conf
 
I don't configure network to avoid problem:

root@proxmox:~# cat /etc/pve/lxc/102.conf
arch: amd64
cpulimit: 2
cpuunits: 2048
hostname: oweteam.com
memory: 512
ostype: debian
rootfs: local:102/vm-102-disk-1.raw,size=20G
swap: 512
 
My CT was created under Proxmox 3 and kernel 2.6, now with Proxmox 4 and kernel 3, is it possible to migrate ?
 
102:
Code:
lxc-start: cgmanager.c: cgm_bind_dir: 1475 /usr/lib/x86_64-linux-gnu/lxc/rootfs/sys/fs/cgroup does not existlxc-start: conf.c: lxc_mount_auto_mounts: 857 No such file or directory - error mounting /sys/fs/cgroup
lxc-start: conf.c: lxc_setup: 3822 failed to setup the automatic mounts for '102'
lxc-start: start.c: do_start: 702 failed to setup the container
lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
lxc-start: start.c: __lxc_start: 1172 failed to spawn '102'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.

103:

Code:
unable to parse version infolxc-start: conf.c: run_buffer: 336 Script exited with status 25
lxc-start: conf.c: lxc_setup: 3827 failed to run mount hooks for container '103'.
lxc-start: start.c: do_start: 702 failed to setup the container
lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
lxc-start: start.c: __lxc_start: 1172 failed to spawn '103'
lxc-start: lxc_start.c: main: 344 The container failed to start.
lxc-start: lxc_start.c: main: 348 Additional information can be obtained by setting the --logfile and --logpriority options.
 
I can't reproduce the problem here.

Try to work around like this.

create a new CT.
then copy the rootfs disk from your ct 102 or 103 to your new created CT.
 
Got same problem after restore all rootfs or some config file (var, etc, usr).

I try with several templates (debian 7/8).

It could be a bad config of Proxmox host ?
I have other errors on new CT, i need to exec this command on host and CT to eliminate error like "locale: Cannot set LC_CTYPE to default locale"
Code:
export LANGUAGE=C
export LANG=C
export LC_ALL=C
 
Can you please send the output of

pveversion -v
 
Sure:
Code:
proxmox-ve: 4.0-16 (running kernel: 4.2.2-1-pve)pve-manager: 4.0-50 (running version: 4.0-50/d3a6b7e5)
pve-kernel-4.2.2-1-pve: 4.2.2-16
lvm2: 2.02.116-pve1
corosync-pve: 2.3.5-1
libqb0: 0.17.2-1
pve-cluster: 4.0-23
qemu-server: 4.0-31
pve-firmware: 1.1-7
libpve-common-perl: 4.0-32
libpve-access-control: 4.0-9
libpve-storage-perl: 4.0-27
pve-libspice-server1: 0.12.5-1
vncterm: 1.2-1
pve-qemu-kvm: 2.4-10
pve-container: 1.0-10
pve-firewall: 2.0-12
pve-ha-manager: 1.0-10
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.3-1
lxcfs: 0.9-pve2
cgmanager: 0.37-pve2
criu: 1.6.0-1
zfsutils: 0.6.5-pve4~jessie
 
Does the file /etc/lsb-release exist on your containers' filesystem. We had trouble moving a CentOS 6 container from Proxmox 2.4 because of this file. The operating system detection logic in /usr/share/perl5/PVE/LXC/Setup.pm looks for /etc/lsb-release and assumes the container is Ubuntu if it finds the file. If the containers isn't Ubuntu it does no other checks and returns "unable to detect OS distribution [sic]".
 

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!