applied both patches

On Wed, Jul 13, 2016 at 12:44:12PM +0200, Fabian Grünbichler wrote:
> this might otherwise lead to volumes activated on the
> source and target node, which is problematic for at least
> LVM and Ceph.
> ---
>  PVE/API2/Qemu.pm | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/PVE/API2/Qemu.pm b/PVE/API2/Qemu.pm
> index 7337887..83611a6 100644
> --- a/PVE/API2/Qemu.pm
> +++ b/PVE/API2/Qemu.pm
> @@ -2391,6 +2391,7 @@ __PACKAGE__->register_method({
>                      if ($target) {
>                       # always deactivate volumes - avoid lvm LVs to be 
> active on several nodes
>                       PVE::Storage::deactivate_volumes($storecfg, $vollist, 
> $snapname) if !$running;
> +                     PVE::Storage::deactivate_volumes($storecfg, 
> $newvollist);
>  
>                       my $newconffile = PVE::QemuConfig->config_file($newid, 
> $target);
>                       die "Failed to move config to node '$target' - rename 
> failed: $!\n"
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel@pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 

_______________________________________________
pve-devel mailing list
pve-devel@pve.proxmox.com
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel

Reply via email to