Public bug reported:

Problem Description
================================
# time virsh migrate avocado-vt-vm1-Bala qemu+ssh://9.40.192.182/system 
--verbose --postcopy --live
Migration: [100 %]error: internal error: early end of file from monitor, 
possible problem: LC_ALL=C 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin 
QEMU_AUDIO_DRV=none /usr/bin/kvm -name avocado-vt-vm1-Bala,debug-threads=on -S 
-object 
secret,id=masterKey0,format=raw,file=/var/lib/libvirt/qemu/domain-11-avocado-vt-vm1-Bala/master-key.aes
 -machine pseries-2.6,accel=kvm,usb=off -m 1024 -realtime mlock=off -smp 
2,sockets=2,cores=1,threads=1 -uuid 2e300546-719d-4f64-a129-a31da088f823 
-no-user-config -nodefaults -chardev 
socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-11-avocado-vt-vm1-Bala/monitor.sock,server,nowait
 -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown 
-boot strict=on -device pci-ohci,id=usb,bus=pci.0,addr=0x1 -device 
spapr-vscsi,id=scsi0,reg=0x2000 -device 
virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x2 -drive 
file=/var/lib/libvirt/images/bala/avocado-fvt-wrapper/data/avocado-vt/images/rhel72-ppc64le.qcow2,format=qco
 w2,if=none,id=drive-scsi0-0-0-0,cache=none -device scsi-hd,bus=sc

real    0m33.648s
user    0m0.096s
sys     0m0.004s

>From other instance gave the following command to trigger postcopy
migration

# virsh migrate-postcopy avocado-vt-vm1-Bala

--- /var/log/libvirt/qemu/avocado-vt-vm1-Bala source---
2016-07-09T17:57:32.889011Z qemu-system-ppc64: RP: Received invalid message 
0x0000 length 0x0000
2016-07-09T17:57:32.896003Z qemu-system-ppc64: socket_writev_buffer: Got err=32 
for (131508/18446744073709551615)

--- /var/log/libvirt/qemu/avocado-vt-vm1-Bala destination ---
2016-07-09T17:57:32.895613Z qemu-system-ppc64: Unknown savevm section or 
instance 'pci@800000020000000:01.0/1/usb-kbd' 0
2016-07-09T17:57:32.895683Z qemu-system-ppc64: load of migration failed: 
Invalid argument
qemu-system-ppc64: /build/qemu-X9e8yb/qemu-2.6+dfsg/migration/qemu-file.c:494: 
qemu_peek_byte: Assertion `!qemu_file_is_writable(f)' failed.

 
---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. Define and start the guest and placed image in NFS share.
2. Ran top command inside guest
3. Enabled ports 49152:49216 in iptables
4. Mounted the image location in destination and started migration.
5. virsh migrate avocado-vt-vm1-Bala qemu+ssh://9.40.192.182/system --verbose 
--postcopy --live
6. Trigger postcopy from other instance using "virsh migrate-postcopy 
avocado-vt-vm1-Bala"

Userspace tool common name: virsh (libvirt) 
 
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          
         


== Comment: #8 - Madhu Pavan Kothapally <makot...@in.ibm.com> - 2016-08-25 
11:07:29 ==
This bug is fixed in upstream libvirt version (1.3.5). 
Commit-id: 3d3d1dfa3125a71e7944c725e554fbfcfaac9c5f

Hi Canonical,

Please include the the commit to fix the  Postcopy migration with --postcopy 
issue.
Commit-id: 3d3d1dfa3125a71e7944c725e554fbfcfaac9c5f

Thank you.

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


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

** Tags added: architecture-ppc64le bugnameltc-143638 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/1620908

Title:
  [Ubuntu1610][Libvirt] Postcopy migration with --postcopy fails with
  error: internal error: early end of file from monitor

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

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

Reply via email to