[SOLVED] LXC Centos Container shows no memory and CPU Usage in view?

fireon

Distinguished Member
Oct 25, 2010
4,621
555
183
Austria/Graz
deepdoc.at
On the first start of an lxc-container with centos7 it shows all things, memory, cpu .... but on an second start pve show nothing. Only if the whole server reboot this does work again.

Code:
proxmox-ve: 4.4-82 (running kernel: 4.4.40-1-pve) 
pve-manager: 4.4-12 (running version: 4.4-12/e71b7a74) 
pve-kernel-4.4.35-1-pve: 4.4.35-77 
pve-kernel-4.4.35-2-pve: 4.4.35-79 
pve-kernel-4.4.24-1-pve: 4.4.24-72 
pve-kernel-4.4.40-1-pve: 4.4.40-82 
lvm2: 2.02.116-pve3 
corosync-pve: 2.4.2-1 
libqb0: 1.0-1 
pve-cluster: 4.0-48 
qemu-server: 4.0-109 
pve-firmware: 1.1-10 
libpve-common-perl: 4.0-92 
libpve-access-control: 4.0-23 
libpve-storage-perl: 4.0-76 
pve-libspice-server1: 0.12.8-2 
vncterm: 1.3-1 
pve-docs: 4.4-3 
pve-qemu-kvm: 2.7.1-4 
pve-container: 1.0-94 
pve-firewall: 2.0-33 
pve-ha-manager: 1.0-40 
ksm-control-daemon: 1.2-1 
glusterfs-client: 3.5.2-2+deb8u3 
lxc-pve: 2.0.7-3 
lxcfs: 2.0.6-pve1 
criu: 1.6.0-1 
novnc-pve: 0.5-8 
smartmontools: 6.5+svn4324-1~pve80 
zfsutils: 0.6.5.9-pve15~bpo80
 
If you reboot from the container's terminal, then statistics will not show.
However if you use pct stop and pct start, then the statistics will remain.
 
if you ever rebooted a container from within the container while having the buggy package installed, its original cgroup has not been cleaned up. you either need to reboot the host to return to a clean slate, or cleanup the cgroup directories yourself (after stopping the affected container, and upgrading to the fixed pve-container package).
 
There are no upgrades available. Is it right when i say that is only in testing/nosub. repo?
 
There are no upgrades available. Is it right when i say that is only in testing/nosub. repo?

yes. will move to pve-enterprise soon!