Hello,
Probably following an update from cron-apt (security only), lxc container does not reponse.
I restarted the server and now, the container will not start.
Someone would see a solution?
I tried :
Probably following an update from cron-apt (security only), lxc container does not reponse.
I restarted the server and now, the container will not start.
Someone would see a solution?
I tried :
Code:
~# lxc-start -n 100 -F -lDEBUG -o lxc-100.log --logpriority TRACE
lxc-start: 100: lxccontainer.c: do_lxcapi_start: 984 Permission denied - Failed to make / rslave at startup
lxc-start: 100: tools/lxc_start.c: main: 368 The container failed to start.
lxc-start: 100: tools/lxc_start.c: main: 372 Additional information can be obtained by setting the --logfile and --logpriority options.
Code:
~# cat lxc-100.log
lxc-start 100 20171204134744.245 INFO lxc_start_ui - tools/lxc_start.c:main:277 - using rcfile /var/lib/lxc/100/config
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:290 - command get_init_pid tries to connect command socket
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:295 - command get_init_pid failed to connect command socket: Connection refused
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:290 - command get_cgroup tries to connect command socket
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:295 - command get_cgroup failed to connect command socket: Connection refused
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:do_lxc_cmd_get_cgroup_path:439 - command get_cgroup failed for container "100": Connection refused.
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:290 - command get_state tries to connect command socket
lxc-start 100 20171204134744.245 TRACE lxc_commands - commands.c:lxc_cmd:295 - command get_state failed to connect command socket: Connection refused
lxc-start 100 20171204134744.245 TRACE lxc_start - start.c:lxc_init_handler:583 - unix domain socket 4 for command server is ready
lxc-start 100 20171204134744.245 ERROR lxc_container - lxccontainer.c:do_lxcapi_start:984 - Permission denied - Failed to make / rslave at startup
lxc-start 100 20171204134744.245 ERROR lxc_start_ui - tools/lxc_start.c:main:368 - The container failed to start.
lxc-start 100 20171204134744.245 ERROR lxc_start_ui - tools/lxc_start.c:main:372 - Additional information can be obtained by setting the --logfile and --logpriority options.
Code:
~# systemctl status pve-container@100.service
● pve-container@100.service - PVE LXC Container: 100
Loaded: loaded (/lib/systemd/system/pve-container@.service; static; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2017-12-04 14:42:31 CET; 10min ago
Docs: man:lxc-start
man:lxc
man:pct
Process: 32433 ExecStart=/usr/bin/lxc-start -n 100 (code=exited, status=1/FAILURE)
déc. 04 14:42:30 antares systemd[1]: Starting PVE LXC Container: 100...
déc. 04 14:42:30 antares lxc-start[32433]: lxc-start: 100: lxccontainer.c: wait_on_daemonized_start: 751 No such file or directory - Failed to receive the container state
déc. 04 14:42:30 antares lxc-start[32433]: lxc-start: 100: tools/lxc_start.c: main: 368 The container failed to start.
déc. 04 14:42:30 antares lxc-start[32433]: lxc-start: 100: tools/lxc_start.c: main: 370 To get more details, run the container in foreground mode.
déc. 04 14:42:30 antares lxc-start[32433]: lxc-start: 100: tools/lxc_start.c: main: 372 Additional information can be obtained by setting the --logfile and --logpriority options
déc. 04 14:42:30 antares systemd[1]: pve-container@100.service: Control process exited, code=exited status=1
déc. 04 14:42:30 antares systemd[1]: pve-container@100.service: Killing process 32435 (lxc-start) with signal SIGKILL.
déc. 04 14:42:31 antares systemd[1]: Failed to start PVE LXC Container: 100.
déc. 04 14:42:31 antares systemd[1]: pve-container@100.service: Unit entered failed state.
déc. 04 14:42:31 antares systemd[1]: pve-container@100.service: Failed with result 'exit-code'.
Code:
~# pveversion -v
proxmox-ve: 5.1-28 (running kernel: 4.13.8-2-pve)
pve-manager: 5.1-36 (running version: 5.1-36/131401db)
pve-kernel-4.13.4-1-pve: 4.13.4-26
pve-kernel-4.13.8-2-pve: 4.13.8-28
pve-kernel-4.10.17-4-pve: 4.10.17-24
pve-kernel-4.10.17-3-pve: 4.10.17-23
pve-kernel-4.10.17-1-pve: 4.10.17-18
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve6
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-15
qemu-server: 5.0-17
pve-firmware: 2.0-3
libpve-common-perl: 5.0-20
libpve-guest-common-perl: 2.0-13
libpve-access-control: 5.0-7
libpve-storage-perl: 5.0-16
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.1-12
pve-qemu-kvm: 2.9.1-2
pve-container: 2.0-17
pve-firewall: 3.0-3
pve-ha-manager: 2.0-3
ksm-control-daemon: not correctly installed
glusterfs-client: 3.8.8-1
lxc-pve: 2.1.0-2
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.7.3-pve1~bpo9
Code:
~# cat /etc/pve/lxc/100.conf
arch: amd64
cores: 1
hostname: cloud
memory: 2048
net0: name=eth0,bridge=vmbr0,gw=gateway,hwaddr=mac,ip=@ip/32,type=veth
onboot: 1
ostype: debian
rootfs: local:100/vm-100-disk-1.raw,acl=1,size=50G
swap: 1024
Last edited: