fix openvz live migration

This commit is contained in:
Dietmar Maurer 2012-02-13 09:28:57 +01:00
parent 4031f4441a
commit 90c352e764
3 changed files with 8 additions and 1 deletions

View File

@ -189,6 +189,7 @@ sub phase1 {
$cmd = [ 'vzctl', '--skiplock', 'chkpnt', $vmid, '--kill' ];
$self->cmd_quiet($cmd, errmsg => "Failed to kill container");
$cmd = [ 'vzctl', '--skiplock', 'umount', $vmid ];
sleep(1); # hack: wait - else there are open files
$self->cmd_quiet($cmd, errmsg => "Failed to umount container");
}

View File

@ -1,3 +1,9 @@
pve-manager (2.0-23) unstable; urgency=low
* fix openvz live migration
-- Proxmox Support Team <support@proxmox.com> Mon, 13 Feb 2012 09:28:25 +0100
pve-manager (2.0-22) unstable; urgency=low
* fix lint errors

View File

@ -2,7 +2,7 @@ RELEASE=2.0
VERSION=2.0
PACKAGE=pve-manager
PACKAGERELEASE=22
PACKAGERELEASE=23
BINDIR=${DESTDIR}/usr/bin
PERLLIBDIR=${DESTDIR}/usr/share/perl5