Bug 589229

Summary: Errors from old libvirt daemon return ERR_RPC
Product: Red Hat Enterprise Linux 5 Reporter: Matthew Booth <mbooth>
Component: v2v-libvirtAssignee: Matthew Booth <mbooth>
Status: CLOSED CURRENTRELEASE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: low    
Version: 5.6CC: berrange, lmiksik, mbooth, rjones, veillard
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: 0.8.1-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 589237 (view as bug list) Environment:
Last Closed: 2012-07-13 10:02:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Bug Depends On: 589237    
Bug Blocks:    

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