mirror of
https://git.proxmox.com/git/qemu-server
synced 2025-08-10 19:48:46 +00:00
migration: log error from query-migrate upon migration failure
if it is present. Should give more information for some failures and even if it's not present, that fact helps to narrow things down. Signed-off-by: Fiona Ebner <f.ebner@proxmox.com>
This commit is contained in:
parent
30fdf99cff
commit
55d0741197
@ -1271,7 +1271,8 @@ sub phase2 {
|
||||
}
|
||||
|
||||
if ($status eq 'failed' || $status eq 'cancelled') {
|
||||
$self->log('info', "migration status error: $status");
|
||||
my $message = $stat->{'error-desc'} ? "$status - $stat->{'error-desc'}" : $status;
|
||||
$self->log('info', "migration status error: $message");
|
||||
die "aborting\n"
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user