[Ubuntu1610][Libvirt] Postcopy migration with --postcopy-after-precopy option is not working as expected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt (Ubuntu) |
Fix Released
|
High
|
Taco Screen team | ||
qemu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Problem Description
=======
# time virsh migrate avocado-vt-vm1-Bala qemu+ssh:
Migration: [100 %]error: operation failed: job: unexpectedly failed
real 0m30.355s
user 0m0.100s
sys 0m0.004s
root@ltc-hab1:~# time virsh migrate avocado-vt-vm1-Bala qemu+ssh:
Migration: [100 %]error: operation failed: job: unexpectedly failed
real 0m30.291s
user 0m0.088s
sys 0m0.012s
---Issue---
1.Migration with option --postcopy-
2.Also from libvirt we couldn't validate whether migration happens actually with postcopy enabled or not - as time taken with --postcopy-
3. In qemu we can check whether postcopy is enabled or not using "info migrate") - can this be added as a feature in libvirt to give the status of migration whether happens with postcopy enabled or not
---uname output---
# uname -a Linux ltc-hab1 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:09:20 UTC 2016 ppc64le ppc64le ppc64le GNU/Linux
Machine Type = Habanero
Steps to Reproduce
=======
1. Created guest with shared storage in NFS
2. Enabled ports 49152:49216 in iptables, virt_use_nfs -> on
3. Mounted the image location in destination and started migration.
4. # time virsh migrate avocado-vt-vm1-Bala qemu+ssh:
Userspace tool common name: virsh (libvirt)
The userspace tool has the following bit modes: ppc64le
Userspace rpm: # dpkg --get-selections | grep -i libvirt
libvirt-bin install
libvirt-clients install
libvirt-daemon install
libvirt-
libvirt-dev:ppc64el install
libvirt0:ppc64el install python-libvirt
============
Logs
============
Sosreport - source and destination
== Comment: #8 - Madhu Pavan Kothapally <email address hidden> - 2016-08-26 05:32:11 ==
Patch sent upstream for --live flag check.
== Comment: #9 - Madhu Pavan Kothapally <email address hidden> - 2016-09-02 13:53:03 ==
two patches accepted upstream,
commit id1: 67af358d119bed1
commit id2: 04597a703848268
Hi Cannonical,
Please include the above commits to fix migration with --postcopy-
Thank you.
Changed in libvirt (Ubuntu): | |
status: | Triaged → In Progress |
tags: |
added: targetmilestone-inin1610 removed: targetmilestone-inin--- |
Default Comment by Bridge