mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-11 05:17:57 +03:00
sync_disks: log output of storage_migrate
Signed-off-by: Fabian Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
49a5a0d84b
commit
ea5b400812
@ -557,9 +557,10 @@ sub sync_disks {
|
||||
'allow_rename' => !$local_volumes->{$volid}->{is_vmstate},
|
||||
};
|
||||
|
||||
my $logfunc = sub { $self->log('info', $_[0]); };
|
||||
my $new_volid = eval {
|
||||
PVE::Storage::storage_migrate($storecfg, $volid, $self->{ssh_info},
|
||||
$targetsid, $storage_migrate_opts);
|
||||
$targetsid, $storage_migrate_opts, $logfunc);
|
||||
};
|
||||
if (my $err = $@) {
|
||||
die "storage migration for '$volid' to storage '$targetsid' failed - $err\n";
|
||||
|
Loading…
Reference in New Issue
Block a user