Live migration fails when spice session is open to the guest vm

acidrop

Renowned Member
Jul 17, 2012
204
7
83
Hello,

I have a win7 vm with virtio drivers and spice guest additions installed.
When I live migrate vm without opening a spice session to guest vm via remote viewer live migration succeeds.
When spice session is open to guest vm and try to live migrate then it fails with the following error and guest vm stops:

Code:
May 23 11:19:04 migration speed: 23.85 MB/s - downtime 617 ms
May 23 11:19:04 migration status: completed
May 23 11:19:04 ERROR: VM 101 not running
May 23 11:19:04 ERROR: command '/usr/bin/ssh -o 'BatchMode=yes' root@10.1.1.1 qm resume 101 --skiplock' failed: exit code 2
May 23 11:19:04 Waiting for spice server migration
May 23 11:19:07 ERROR: migration finished with problems (duration 00:00:59)
TASK ERROR: migration problems

after that I have to manually start guest vm.

Code:
 pveversion -vproxmox-ve-2.6.32: 3.2-126 (running kernel: 2.6.32-29-pve)
pve-manager: 3.2-4 (running version: 3.2-4/e24a91c1)
pve-kernel-2.6.32-28-pve: 2.6.32-124
pve-kernel-2.6.32-29-pve: 2.6.32-126
lvm2: 2.02.98-pve4
clvm: 2.02.98-pve4
corosync-pve: 1.4.5-1
openais-pve: 1.1.4-3
libqb0: 0.11.1-2
redhat-cluster-pve: 3.2.0-2
resource-agents-pve: 3.9.2-4
fence-agents-pve: 4.0.5-1
pve-cluster: 3.0-12
qemu-server: 3.1-16
pve-firmware: 1.1-3
libpve-common-perl: 3.0-18
libpve-access-control: 3.0-11
libpve-storage-perl: 3.0-19
pve-libspice-server1: 0.12.4-3
vncterm: 1.1-6
vzctl: 4.0-1pve5
vzprocps: 2.0.11-2
vzquota: 3.1-2
pve-qemu-kvm: 1.7-8
ksm-control-daemon: 1.1-1
glusterfs-client: 3.4.2-1

If I choose "vmware compatible" or "standard vga adapter" as gfx card everything works as expected.
Has anyone experience this problem?

thank you
 
yes, same here. its a known issue with SPICE.