** Description changed:

+ [Impact]
+ 
+  * Migration from Precise to Trusty not working
+ 
+  * Fix by dropping a duplicate alias which lets the Trusty qemu fail to
+    properly detect and handle the type of the incoming guest.
+ 
+ [Test Case]
+ 
+  * Prepare a Precise and a KVM Host capable to run KVM and reaching each
+    other for live migration.
+  * Spawn a guest on Precise e.g. with uvt
+    $ uvt-kvm create  --password=ubuntu kvmguest-precise release=precise \
+      arch=amd64 label=daily
+  * Migrate that guest to the Trusty host like:
+      virsh migrate --live kvmguest-precise "qemu+ssh://10.0.4.193/system
+  * Note, here is a more complex test for it that takes care of setting up
+    the rest of the details that can be needed (Host/Env setup): 
https://code.launchpad.net/~ubuntu-server/ubuntu/+source/qemu-migration-test/+git/qemu-migration-test/+ref/master
+ 
+ [Regression Potential]
+ 
+  * We are modifying machine types which can affect:
+    - migrations from former / to future types
+    - upgrades (starting a guest formerly working fails after upgrade)
+    - guest view of the virtual system as defined by the machine type
+ 
+  * We tested for all of these, see the logs attached - but there might
+    always be a miss so the more testing the better.
+ 
+ [Other Info]
+  
+  * n/a
+ 
+ ---
+ 
  Even though #1291321 was supposed to fix this issue, I'm running into
  live migration issues when attempting to move a VM from a Precise host
  to a Trusty host. The VM is using the pc-1.0-qemu-kvm machine type as
  required.
  
  Process:
  /usr/bin/kvm -name instance-## -S -machine pc-1.0-qemu-kvm,accel=kvm -cpu 
kvm64,+lahf_lm,+rdtscp,+avx,+xsave,+aes,+tsc-deadline,+popcnt,+x2apic,+sse4.2,+sse4.1,+ssse3,+pclmuldq
 -m 1024 -smp 1,sockets=1,cores=1,threads=1 -uuid XX -smbios 
type=1,manufacturer=OpenStack Foundation,product=OpenStack 
Nova,version=2013.1.5,serial=4c4c4544-0038-4810-804d-b6c04f515731,uuid=XX 
-nodefconfig -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/instance-##.monitor,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc 
base=utc,clock=vm,driftfix=slew -no-kvm-pit-reinjection -no-hpet -no-shutdown 
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2 -drive 
file=/var/lib/nova/instances/XX/disk,if=none,id=drive-virtio-disk0,format=qcow2,cache=none
 -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x4,drive=drive-virtio-disk0,id=virtio-disk0,bootindex=1
 -drive 
file=/dev/disk/by-id/dm-uuid-mpath-3600144f07a6e924e000056950d010025,if=none,id=drive-virtio-disk1,format=raw,seria
 l=7903c916-8aba-4ea3-b38c-964d104cdada,cache=none -device 
virtio-blk-pci,scsi=off,bus=pci.0,addr=0x5,drive=drive-virtio-disk1,id=virtio-disk1
 -drive 
file=/var/lib/nova/instances/XX/disk.config,if=none,id=drive-ide0-1-1,readonly=on,format=raw,cache=none
 -device ide-cd,bus=ide.1,unit=1,drive=drive-ide0-1-1,id=ide0-1-1 -netdev 
tap,fd=88,id=hostnet0,vhost=on,vhostfd=90 -device 
virtio-net-pci,netdev=hostnet0,id=net0,mac=fa:16:3e:c8:14:90,bus=pci.0,addr=0x3 
-chardev file,id=charserial0,path=/var/lib/nova/instances/XX/console.log 
-device isa-serial,chardev=charserial0,id=serial0 -chardev pty,id=charserial1 
-device isa-serial,chardev=charserial1,id=serial1 -device usb-tablet,id=input0 
-vnc 0.0.0.0:53 -k en-us -vga cirrus -device 
virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x6
  
  Source version: 1.0+noroms-0ubuntu14.22
  Target version: 2.0.0+dfsg-2ubuntu1.21
  
  Error when migrating:
  ...
  char device redirected to /dev/pts/3 (label charserial1)
  Length mismatch: vga.vram: 1000000 in != 800000
  qemu: warning: error while loading state for instance 0x0 of device 'ram'
  load of migration failed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1536331

Title:
  Precise to Trusty live migration failing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1536331/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to