[pve-devel] [PATCH qemu-server 1/3] migrate: check if storage is available

Dietmar Maurer dietmar at proxmox.com
Tue May 3 15:54:29 CEST 2016


> -    # fixme: check if storage is available on both nodes
> +    foreach my $volid (@$vollist) {
> +	my ($sid, $volname) = PVE::Storage::parse_volume_id($volid, 1);
> +
> +	# check if storage is available on both nodes
> +	my $scfg = PVE::Storage::storage_check_node($self->{storecfg}, $sid);

you introduce an unused variable here?

> +	PVE::Storage::storage_check_node($self->{storecfg}, $sid, $self->{node});
> +    }
>  
>      # test ssh connection
>      my $cmd = [ @{$self->{rem_ssh}}, '/bin/true' ];
> -- 
> 2.1.4
> 
> 
> _______________________________________________
> pve-devel mailing list
> pve-devel at pve.proxmox.com
> http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
> 




More information about the pve-devel mailing list