Bug 807546 - QMP returns error when mirroring + streaming
QMP returns error when mirroring + streaming
Status: CLOSED NOTABUG
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: qemu-kvm (Show other bugs)
6.3
Unspecified Unspecified
medium Severity medium
: rc
: ---
Assigned To: Virtualization Maintenance
Virtualization Bugs
:
Depends On:
Blocks: 806280
  Show dependency treegraph
 
Reported: 2012-03-28 02:23 EDT by Shaolong Hu
Modified: 2012-03-29 01:41 EDT (History)
9 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-03-29 01:41:02 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Shaolong Hu 2012-03-28 02:23:05 EDT
Description of problem:
------------------------
QMP returns error when mirroring + streaming

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
scratch build:
kvm-Live-block-copy-Fix-mirroring.patch based on 265

*note: 266rhev including this patch fails to be build in brew, seems short of package in brew server repo, so i can not provide a scratch build package.

How reproducible:
-------------------
1/1

Steps to Reproduce:
--------------------
1.boot guest with:
qemu-system-x86_64 -enable-kvm -M rhel6.3.0 -m 4G -name rhel6.3-64 -rtc base=utc,clock=host,driftfix=slew -no-kvm-pit-reinjection -uuid 3f2ea5cd-3d29-48ff-aab2-23df1b6ae213 -drive file=/root/src/RHEL-Server-6.3-64-virtio.qcow2,cache=none,if=none,rerror=stop,werror=stop,id=drive-virtio-disk0,format=qcow2 -device ide-drive,drive=drive-virtio-disk0,id=device-virtio-disk0 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=device-net0 -boot order=cd -monitor stdio -usb -device usb-tablet,id=input0 -chardev socket,id=s1,path=/tmp/s1,server,nowait -device isa-serial,chardev=s1 -vnc :10 -monitor tcp::1234,server,nowait -smp 4 -qmp tcp:0:5555,server,nowait

2.
{"execute": "qmp_capabilities"}
{"return": {}}
{ "execute": "__com.redhat_drive-mirror", "arguments": { "device":
"drive-virtio-disk0", "target": "/root/sn1", "format": "qcow2"} }
{"return": {}}
{ "execute": "block_stream", "arguments": { "device": "drive-virtio-disk0" } }
{"return": {}}
{"return": {}}
{"error": {"class": "QMPExtraInputObjectMember", "desc": "QMP input object member 'return' is unexpected", "data": {"member": "return"}}}

3. although there is an error, info block-jobs shows streaming is activated.


Additional info:
-----------------
Hi, Marcelo, Kevin is on PTO, could you have a look at this?
Comment 2 Ademar Reis 2012-03-28 10:21:12 EDT
Mirroring is broken in 265 (check last comments in Bug 802284). Please test it again with 266rhev.
Comment 3 Shaolong Hu 2012-03-29 01:41:02 EDT
test with 267rhev, won't hit this problem, closed.

Note You need to log in before you can comment on or make changes to this bug.