[SOLVED] Containers won't start Proxmox 4 (Permission denied - Failed to make / rslave)

senno

New Member
Nov 24, 2011
4
0
1
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).

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:
As I said in the edit, my problem was that the node was offline (no idea why). Restarting it solved the problem.
 
Thanks for the quick answer but unfortunately a reboot of the node, which is online now, didn't fix my issue
 
My node is already online (I think, I mean, what does 'online' mean? the server is powered up and I can hit webconsole on https:8006..) - why is a reboot necessary?