[pve-devel] unlock VM through API?

2016-12-16 Thread Stefan Priebe - Profihost AG
Hello, is there a way to unlock a VM through the API? I tried it this way but this does not work: pve:/nodes/testnode1/qemu/100> set config -delete lock VM is locked (migrate) Greets, Stefan ___ pve-devel mailing list pve-devel@pve.proxmox.com

[pve-devel] [PATCH] ProcFSTools:read_proc_mounts: increase read size

2016-12-16 Thread Alexandre Derumier
I have some servers with a lot of mounts (1 by vm), default read limit is too small, and activate volume hang at vm start Signed-off-by: Alexandre Derumier --- src/PVE/ProcFSTools.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PVE/ProcFSTools.pm

[pve-devel] [PATCH ha-manager] is_node_shutdown: check for correct systemd targets

2016-12-16 Thread Thomas Lamprecht
shutdown.target runs everytime when the node shutsdown, on reboot, poweroff, halt, kexec. As we want to return only false if we reboot but otherwise true this was wrong. Match only poweroff.target and halt.target, those two systemd targets which cause a node shutdown without a reboot.