Public bug reported:

Problem Description 
=========================
# time virsh migrate avocado-vt-vm1-Bala qemu+ssh://9.40.192.182/system 
--verbose --postcopy-after-precopy
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://9.40.192.182/system --verbose 
Migration: [100 %]error: operation failed: job: unexpectedly failed


real    0m30.291s
user    0m0.088s
sys     0m0.012s

---Issue---
1.Migration with option --postcopy-after-precopy should not start without 
--live option. (if --postcopy option is used without --live "error: argument 
unsupported: post-copy migration is not supported with non-live or paused 
migration" is thrown)

2.Also from libvirt we couldn't validate whether migration happens
actually with postcopy enabled or not - as time taken with --postcopy-
after-precopy is more than precopy without it, ideally postcopy
migration should be faster.

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://9.40.192.182/system 
--verbose --postcopy-after-precopy
 
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-daemon-system                           install 
libvirt-dev:ppc64el                             install 
libvirt0:ppc64el                                install python-libvirt          
         

============
Logs
============

Sosreport - source and destination

== Comment: #8 - Madhu Pavan Kothapally <[email protected]> - 2016-08-26 
05:32:11 ==
Patch sent upstream for --live flag check.
== Comment: #9 - Madhu Pavan Kothapally <[email protected]> - 2016-09-02 
13:53:03 ==
two patches accepted upstream, 
commit id1: 67af358d119bed1f50a81f0c826ccaf704a2a085
commit id2: 04597a7038482688fb2cc8b0b1869392f6f78016

Hi  Cannonical,
Please include the above commits to fix migration with --postcopy-after-precopy 
issue.

Thank you.

** Affects: libvirt (Ubuntu)
     Importance: Undecided
     Assignee: Taco Screen team (taco-screen-team)
         Status: New


** Tags: architecture-ppc64le bugnameltc-143637 severity-high 
targetmilestone-inin---

** Tags added: architecture-ppc64le bugnameltc-143637 severity-high
targetmilestone-inin---

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

Title:
  [Ubuntu1610][Libvirt] Postcopy migration with --postcopy-after-precopy
  option is not working as expected

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

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to