Good day:
Have a lxc container and after a hardware node reboot the pve refuses to start, this is the pct start output
Running this:
This is the logfile:
And at last this is the config file:
I reboot the hnode again and the same the container does not start, please any ideas? :-( I do a fsck on raw and is clean :-(
Thanks in advance
Nomar
Have a lxc container and after a hardware node reboot the pve refuses to start, this is the pct start output
Code:
root@proxmox4-eu0:~# pct start 102
Use of uninitialized value $path in concatenation (.) or string at /usr/share/perl5/PVE/LXC.pm line 1110.
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.
Running this:
Code:
root@proxmox4-eu0:~# lxc-start -F -f /etc/pve/lxc/102.conf --name backup01 --logfile /tmp/lxc.log --logpriority TRACE
lxc-start: conf.c: setup_rootfs: 1268 Permission denied - Failed to make / rslave
lxc-start: conf.c: do_rootfs_setup: 3687 failed to setup rootfs for 'backup01'
lxc-start: conf.c: lxc_setup: 3769 Error setting up rootfs mount after spawn
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 'backup01'
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 logfile:
Code:
lxc-start 1458919771.968 WARN lxc_cgmanager - cgmanager.c:cgm_get:993 - do_cgm_get exited with error
lxc-start 1458919771.968 INFO lxc_lsm - lsm/lsm.c:lsm_init:48 - LSM security driver AppArmor
lxc-start 1458919771.968 DEBUG lxc_start - start.c:setup_signal_fd:262 - sigchild handler set
lxc-start 1458919771.968 INFO lxc_start - start.c:lxc_init:454 - 'backup01' is initialized
lxc-start 1458919771.968 DEBUG lxc_start - start.c:__lxc_start:1145 - Not dropping cap_sys_boot or watching utmp
lxc-start 1458919771.968 INFO lxc_cgroup - cgroup.c:cgroup_init:65 - cgroup driver cgmanager initing for backup01
lxc-start 1458919771.971 ERROR lxc_conf - conf.c:setup_rootfs:1268 - Permission denied - Failed to make / rslave
lxc-start 1458919771.971 ERROR lxc_conf - conf.c:do_rootfs_setup:3687 - failed to setup rootfs for 'backup01'
lxc-start 1458919771.971 ERROR lxc_conf - conf.c:lxc_setup:3769 - Error setting up rootfs mount after spawn
lxc-start 1458919771.971 ERROR lxc_start - start.c:do_start:702 - failed to setup the container
lxc-start 1458919771.971 ERROR lxc_sync - sync.c:__sync_wait:51 - invalid sequence number 1. expected 2
lxc-start 1458919772.006 ERROR lxc_start - start.c:__lxc_start:1172 - failed to spawn 'backup01'
lxc-start 1458919772.007 ERROR lxc_start_ui - lxc_start.c:main:344 - The container failed to start.
lxc-start 1458919772.007 ERROR lxc_start_ui - lxc_start.c:main:348 - Additional information can be obtained by setting the --logfile and --logpriority options.
And at last this is the config file:
Code:
root@proxmox4-eu0:/etc/pve/lxc# cat 102.conf
arch: amd64
cpulimit: 8
cpuunits: 1024
hostname: backup01
memory: 8192
nameserver: 8.8.8.8 4.4.4.4
net0: bridge=vmbr0,gw=XXX.XXX.XXX.XXX,hwaddr=YY:YY:YY:YY:YY:YY,ip=ZZZ.ZZZ.ZZZ.ZZZ/24,name=eth0,type=veth
onboot: 1
ostype: debian
rootfs: local:102/vm-102-disk-1.raw,size=1T
searchdomain: domain.domain
swap: 2048
root@proxmox4-eu0:/etc/pve/lxc#
I reboot the hnode again and the same the container does not start, please any ideas? :-( I do a fsck on raw and is clean :-(
Thanks in advance
Nomar