Schrodinger's container

ianux

New Member
Oct 13, 2015
19
0
1
Hello,

I just saw on the web UI that 2 of my CTs was not running. On the node, 'pct list' show them as stopped. So:
Code:
~# pct shutdown 166
CT 166 not running

~# pct start 166
lxc-start: lxc_start.c: main: 279 Container is already running.

Actually, CTs are running, but what should I do if I want to stop them ?
 
Please make sure you run the latest available version. This look like a bug which is already fixed.
 
I assumed that I was running the latest version
Code:
~# pveversion --verbose
proxmox-ve: 4.1-39 (running kernel: 4.2.8-1-pve)
pve-manager: 4.1-15 (running version: 4.1-15/8cd55b52)
pve-kernel-4.2.6-1-pve: 4.2.6-36
pve-kernel-4.2.8-1-pve: 4.2.8-39
pve-kernel-4.2.2-1-pve: 4.2.2-16
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-33
qemu-server: 4.0-62
pve-firmware: 1.1-7
libpve-common-perl: 4.0-49
libpve-access-control: 4.0-11
libpve-storage-perl: 4.0-42
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-9
pve-container: 1.0-46
pve-firewall: 2.0-18
pve-ha-manager: 1.0-24
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

but I've just 'apt update' and then
Code:
~# apt list --upgradable
Listing... Done
libpve-access-control/stable 4.0-13 amd64 [upgradable from: 4.0-11]
libpve-common-perl/stable 4.0-54 all [upgradable from: 4.0-49]
libpve-storage-perl/stable 4.0-45 all [upgradable from: 4.0-42]
pve-cluster/stable 4.0-36 amd64 [upgradable from: 4.0-33]
pve-container/stable 1.0-52 all [upgradable from: 1.0-46]
pve-firewall/stable 2.0-22 amd64 [upgradable from: 2.0-18]
pve-ha-manager/stable 1.0-25 amd64 [upgradable from: 1.0-24]
pve-manager/stable 4.1-22 amd64 [upgradable from: 4.1-15]
qemu-server/stable 4.0-64 amd64 [upgradable from: 4.0-62]

Is that the latest version your are talking about ? I have upgrades as recently as yesterday (even lxcfs 2.0.0-pve2 from testing).

EDIT : I did a full-upgrade and now 'pct list' shows all the CTs running (with a new output).