Bug 589229 - Errors from old libvirt daemon return ERR_RPC
Summary: Errors from old libvirt daemon return ERR_RPC
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: v2v-libvirt
Version: 5.6
Hardware: All
OS: Linux
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
Depends On: 589237
TreeView+ depends on / blocked
Reported: 2010-05-05 15:48 UTC by Matthew Booth
Modified: 2012-07-13 10:02 UTC (History)
5 users (show)

Fixed In Version: 0.8.1-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 589237 (view as bug list)
Last Closed: 2012-07-13 10:02:19 UTC
Target Upstream Version:

Attachments (Terms of Use)

Description Matthew Booth 2010-05-05 15:48:41 UTC
Description of problem:
virt-v2v connecting to a RHEL 5 libvirt daemon returns:

# virt-v2v -f virt-v2v.conf -op transfer -oc qemu:///system rhel39pae
libvirt error code: 39, message: unmarshalling remote_error

The relevant output of the daemon at the time running with LIBVIRT_DEBUG=1 is:

15:48:59.446: debug : virDomainLookupByName:1771 : conn=0x52f0310, name=rhel39pae
15:48:59.447: error : Domain not found: no domain with matching name 'rhel39pae'
libvir: QEMU error : Domain not found: no domain with matching name 'rhel39pae'

virt-v2v run with LIBVIRT_DEBUG=1 outputs:

16:07:08.957: debug : virDomainLookupByName:2127 : conn=0xdf3edd0, name=rhel39pae
16:07:08.957: debug : remoteIO:9650 : Do proc=23 serial=2 length=44 wait=(nil)
16:07:08.957: debug : remoteIO:9711 : We have the buck 23 0xdfde540 0xdfde540
16:07:08.957: debug : remoteIODecodeMessageLength:9095 : Got length, now need 204 total (200 more)
16:07:08.957: debug : remoteIOEventLoop:9597 : Giving up the buck due to I/O error 23 0xdfde540 (nil)

Dan Berrange has tracked the root cause to change 965466c1, which added a field to struct remote_error.

Version-Release number of selected component (if applicable):

Comment 1 Matthew Booth 2010-05-17 08:39:34 UTC
Fixed in 0.8.1-1

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