[pve-devel] Local Disk Migration and ide controller
Alexandre DERUMIER
aderumier at odiso.com
Mon Jul 10 11:06:59 CEST 2017
Hi,
I don't remember to have implemedted this device_del.
I don't see why need device_del on source ....
(That mean that we can't live migration disk without hotplug support)
if nbd reference on source is a problem for vm stop, maybe simply
killing the qemu process at the end of the migration should works ?
----- Mail original -----
De: "e kasper" <e.kasper at proxmox.com>
À: "pve-devel" <pve-devel at pve.proxmox.com>
Envoyé: Lundi 10 Juillet 2017 09:39:53
Objet: [pve-devel] Local Disk Migration and ide controller
Hi Alexandre
When migrating local disks and ide I get the following error:
drive-ide0: transferred: 52428800 bytes remaining: 0 bytes total:
52428800 bytes progression: 100.00 % busy: 0 ready: 1
all mirroring jobs are ready
drive-ide0: Completing block job...
drive-ide0: Completed successfully.
drive-ide0 : finished
2017-07-10 09:10:52 # /usr/bin/ssh -o 'BatchMode=yes' -o
'HostKeyAlias=pve4' root at 192.168.16.75 pvesr set-state 401 \''{}'\'
2017-07-10 09:10:52 ERROR: VM 401 qmp command 'device_del' failed - Bus
'ide.0' does not support hotplugging
2017-07-10 09:10:52 ERROR: migration finished with problems (duration
00:00:19)
TASK ERROR: migration problems
I presume this comes from QemuMigrate.pm
# remove drives referencing the nbd server from source
# otherwise vm_stop might hang later on
foreach my $drive (keys %{$self->{target_drive}}){
PVE::QemuServer::vm_mon_cmd_nocheck($vmid, "device_del", id => $drive);
}
What should we do with VMs on disks IDE bus ? I can prepare a patch to
catch this before the migration starts or do you see any better option ?
I would like to iron out these kind of errors before putting the Migrate
Local Disks option in the GUI.
Emmanuel
_______________________________________________
pve-devel mailing list
pve-devel at pve.proxmox.com
https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel
More information about the pve-devel
mailing list