Problems with LXC and autostart

Doccos

Member
Apr 17, 2016
6
0
21
34
Since the update from openvz to lxc i had heavy problems with it.

Mostly the LXC container hangs during startup (no ssh, no webVNC) its only possible to enter the vm with "ptc enter vmid".

containtertemplate: debian 8.0.1-standart
The syslog says from the container:

Code:
netzwerktest rsyslogd: [origin software="rsyslogd" swVersion="8.4.2" x-pid="971" x-info="http://www.rsyslog.com"] exiting on signal 15.

Sometimes when a shutdown the Container before i restart the Host it works.

When i stop the Container after restart, it starts without problems.

atm the moment a can only use kvm because i dont trust the containers

I have 2 Servers and the same problem.

paketinfo:
Code:
proxmox-ve: 4.1-41 (running kernel: 4.2.8-1-pve)
pve-manager: 4.1-22 (running version: 4.1-22/aca130cf)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.2.8-1-pve: 4.2.8-41
pve-kernel-4.2.3-2-pve: 4.2.3-22
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-36
qemu-server: 4.0-64
pve-firmware: 1.1-7
libpve-common-perl: 4.0-54
libpve-access-control: 4.0-13
libpve-storage-perl: 4.0-45
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-9
pve-container: 1.0-52
pve-firewall: 2.0-22
pve-ha-manager: 1.0-25
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u1
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve7~jessie
 
Works here. What do you run inside the containers? Or can you observer the problems with unmodified debian 8.0.1-standard template?
 
its a unmodified debian 8.0.1-standard container, at the moment nothing runs inside the container.
its a new created container
 
After the update today, the problem still exists but the command "pct enter" doesn't exists anymore ?
 
but the problem with the autostart still exist, some ideas why this doesn't work? or is it possible to autostart the container in debug mode ?