Bug 625315
Summary: | Migrate fail with error "internal error unable to execute QEMU command 'migrate_set_speed' " | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | wangyimiao <yimwang> |
Component: | libvirt | Assignee: | Daniel Veillard <veillard> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 6.0 | CC: | ccui, dallan, dyuan, eblake, gren, jdenemar, jyang, liko, llim, ltroan, mzhan, skito, tumeya, tyan, weizhan, xen-maint, yoyzhang |
Target Milestone: | rc | Keywords: | Reopened |
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | libvirt-0.8.6-1.el6 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:20:27 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: | |||
Bug Depends On: | |||
Bug Blocks: | 698812 |
Description
wangyimiao
2010-08-19 04:08:27 UTC
*** This bug has been marked as a duplicate of bug 561935 *** Yeah sorry, this is my fault. I overlooked what migration parameter this is actually trying to set. Anyway, this is already fixed upstream by v0.8.5-192-g4f7162d: commit 4f7162d1066c15e21123ab7665c390007745328a Author: Wen Congyang <wency.com> Date: Thu Nov 25 16:38:32 2010 +0800 correct the arguments of migrate_speed When we set migrate_speed by json, we receive the following error message: libvirtError: internal error unable to execute QEMU command 'migrate_set_speed': Invalid parameter type, expected: number The reason is that: the arguments of migrate_set_speed by json is json number, not json string. Signed-off-by: Wen Congyang <wency.com> Fixed by a rebase to libvirt-0.8.6 Verified PASS on libvirt-0.8.6-1.el6.x86_64 qemu-kvm-0.12.1.2-2.128.el6.x86_64 kernel-2.6.32-92.el6.x86_64 virt-manager-0.8.4-8.el6.noarch on /var/log/libvirt/libvirtd.log (with setting log_filters="1:qemu_monitor_json" log_outputs="1:file:/var/log/libvirt/libvirtd.log" in the libvirtd.conf file) 10:24:16.915: 28315: debug : qemuMonitorJSONCommandWithFd:217 : Send command '{"execute":"migrate_set_speed","arguments":{"value":1048576000}}' for write with FD -1 10:24:16.916: 28310: debug : qemuMonitorJSONIOProcessLine:115 : Line [{"return": {}}] 10:24:16.916: 28310: debug : qemuMonitorJSONIOProcess:188 : Total used 16 bytes out of 16 available in buffer 10:24:16.916: 28315: debug : qemuMonitorJSONCommandWithFd:222 : Receive command reply ret=0 errno=0 14 bytes '{"return": {}}' and no error occurs Rechecked it on the following test environment according to the steps in description. It is passed. Test environment: libvirt-0.8.7-6.el6 qemu-kvm-0.12.1.2-2.144.el6 kernel-2.6.32-113.el6 Please make sure the host information for migration has been added into each /etc/hosts. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0596.html |