Edit: Nevermind, the node was offline. I had to restart it.
Ijust did the upgrade from ProxMox 3 to 4. Everything went fine and I converted my old OpenVZ containers to LXC successfully, but now they won't start. This happens to all of my containers (all of them are running Ubuntu 14.04).
So I ran it in foreground mode:
This is the log:
Any idea what might be happening?
Ijust did the upgrade from ProxMox 3 to 4. Everything went fine and I converted my old OpenVZ containers to LXC successfully, but now they won't start. This happens to all of my containers (all of them are running Ubuntu 14.04).
Code:
# pct start 100
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.
So I ran it in foreground mode:
Code:
# lxc-start -F -f /etc/pve/lxc/100.conf --name ct100 --logfile ./lxc.log --logpriority TRACE
lxc-start: conf.c: setup_rootfs: 1279 Permission denied - Failed to make / rslave
lxc-start: conf.c: do_rootfs_setup: 3773 failed to setup rootfs for 'ct100'
lxc-start: conf.c: lxc_setup: 3855 Error setting up rootfs mount after spawn
lxc-start: start.c: do_start: 736 failed to setup the container
lxc-start: sync.c: __sync_wait: 51 invalid sequence number 1. expected 2
lxc-start: start.c: __lxc_start: 1211 failed to spawn 'ct100'
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.
This is the log:
Code:
# cat lxc.log
lxc-start 1447336638.260 WARN lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
lxc-start 1447336638.260 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 1447336638.260 DEBUG lxc_start - start.c:setup_signal_fd:264 - sigchild handler set
lxc-start 1447336638.260 INFO lxc_start - start.c:lxc_init:460 - 'ct100' is initialized
lxc-start 1447336638.260 DEBUG lxc_start - start.c:__lxc_start:1184 - Not dropping cap_sys_boot or watching utmp
lxc-start 1447336638.260 INFO lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for ct100
lxc-start 1447336638.263 ERROR lxc_conf - conf.c:setup_rootfs:1279 - Permission denied - Failed to make / rslave
lxc-start 1447336638.263 ERROR lxc_conf - conf.c:do_rootfs_setup:3773 - failed to setup rootfs for 'ct100'
lxc-start 1447336638.263 ERROR lxc_conf - conf.c:lxc_setup:3855 - Error setting up rootfs mount after spawn
lxc-start 1447336638.263 ERROR lxc_start - start.c:do_start:736 - failed to setup the container
lxc-start 1447336638.263 ERROR lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
lxc-start 1447336638.263 ERROR lxc_start - start.c:__lxc_start:1211 - failed to spawn 'ct100'
lxc-start 1447336638.281 ERROR lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
lxc-start 1447336638.281 ERROR lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
Any idea what might be happening?
Last edited: