Bug 617432
Summary: | migration via unix protocol failed | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Mike Cao <bcao> |
Component: | qemu-kvm | Assignee: | Alex Williamson <alex.williamson> |
Status: | CLOSED WORKSFORME | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | amit.shah, lihuang, michen, mkenneth, ndai, quintela, szhou, virt-maint |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2010-07-23 18:36:40 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Mike Cao
2010-07-23 02:55:15 UTC
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** This bug can be reproduced by following steps: 1.Run windows guest as : /usr/libexec/qemu-kvm -m 2G -smp 2 -cpu qemu64,+x2apic -usbdevice tablet -drive file=/mnt/win08r2-s1.qcow2,if=none,id=drive-virtio0,boot=on,werror=stop,rerror=stop,cache=none,format=qcow2 -device virtio-blk-pci,drive=drive-virtio0,id=virtio-blk-pci0 -netdev tap,id=hostnet0,script=/etc/qemu-ifup,vhost=on,ifname=virtio_nic_1 -device virtio-net-pci,netdev=hostnet0,mac=02:00:78:3F:20:1f,bus=pci.0,id=virtio1 -netdev tap,id=hostnet1,script=/etc/qemu-ifup,ifname=rtl_1_1 -device rtl8139,netdev=hostnet1,mac=01:00:78:3F:20:1f,bus=pci.0,id=rtl-1 -uuid 1234127c-8765-4e67-95da-8dd0a8891cc4 -name win08r2 -qmp tcp:0:4445,server,nowait -boot c -monitor stdio -spice port=5931,disable-ticketing -vga qxl 2.do virtio network card hotplug {"execute":"netdev_add","arguments":{"type":"tap","id":"virtio-p1","script":"/etc/qemu-ifup","ifname":"virtio_p1"}} {"return": {}} {"execute":"device_add","arguments":{"driver":"virtio-net-pci","netdev":"virtio-p1","mac":"00:12:32:12:13:12","bus":"pci.0","id":"virtio-p1"}} {"return": {}} 3.do live migration This issue happens after step3. Please try with qemu-kvm-0.12.1.2-2.99.el6.x86_64, migration and hot-plug/unplug issues were fixed in that version. Please try with vnc as spice may not work with that version. (In reply to comment #4) > This bug can be reproduced by following steps: > > 1.Run windows guest as : > /usr/libexec/qemu-kvm -m 2G -smp 2 -cpu qemu64,+x2apic -usbdevice tablet -drive > file=/mnt/win08r2-s1.qcow2,if=none,id=drive-virtio0,boot=on,werror=stop,rerror=stop,cache=none,format=qcow2 > -device virtio-blk-pci,drive=drive-virtio0,id=virtio-blk-pci0 -netdev > tap,id=hostnet0,script=/etc/qemu-ifup,vhost=on,ifname=virtio_nic_1 -device > virtio-net-pci,netdev=hostnet0,mac=02:00:78:3F:20:1f,bus=pci.0,id=virtio1 > -netdev tap,id=hostnet1,script=/etc/qemu-ifup,ifname=rtl_1_1 -device > rtl8139,netdev=hostnet1,mac=01:00:78:3F:20:1f,bus=pci.0,id=rtl-1 -uuid > 1234127c-8765-4e67-95da-8dd0a8891cc4 -name win08r2 -qmp > tcp:0:4445,server,nowait -boot c -monitor stdio -spice > port=5931,disable-ticketing -vga qxl > 2.do virtio network card hotplug > {"execute":"netdev_add","arguments":{"type":"tap","id":"virtio-p1","script":"/etc/qemu-ifup","ifname":"virtio_p1"}} > {"return": {}} > {"execute":"device_add","arguments":{"driver":"virtio-net-pci","netdev":"virtio-p1","mac":"00:12:32:12:13:12","bus":"pci.0","id":"virtio-p1"}} > {"return": {}} > 3.do live migration > This issue happens after step3. There was no mention of hotplug in the original post, why are we changing the problem? There are known issues with hotplug and migration prior to qemu-kvm-0.12.1.2-2.98.el6. Please don't do this. I've completed over 100 unix migrations in a row on qemu-kvm-0.12.1.2-2.99.el6.x86_64 using a command similar to comment0 (only difference is running the monitor on a tcp socket and initiating the unix migration via that). Migration underwent a big overhaul in qemu-kvm-0.12.1.2-2.98.el6. Please retest and reopen if it can be reproduced. btw - you probably want a static uuid when doing migrations rather than doing a new uuidgen on both ends, but that doesn't seem to be causing me any trouble. |