Bug 670175

Summary: virt-v2v exit with perl compile error
Product: [Community] Virtualization Tools Reporter: M Nikolov <milen>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: crobinso, milen
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-07-02 16:09:32 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description M Nikolov 2011-01-17 12:56:33 UTC
Description of problem:
When start virt-v2v the program stops and display error about missing object method.

Version-Release number of selected component (if applicable):
virt-v2v-0.7.0-1.fc14.x86_64


How reproducible:
always

Steps to Reproduce:
1. start virt-v2v:
# virt-v2v -i libvirtxml -op default -of raw -oa sparse vvvv.xml

2.
3.
  
Actual results:
[root@ov01 ~]# virt-v2v -i libvirtxml -op default -of raw -oa sparse vvvv.xml
Can't locate object method "copy_storage" via package "Sys::VirtV2V::Connection::LibVirtXMLSource" at /usr/bin/virt-v2v line 401.
[root@ov01 ~]# 


Expected results:
normal program operation

Additional info:
it is somehow related with including of superclass package 
Sys::VirtV2V::Connection::Source
in Sys::VirtV2V::Connection::LibVirtXMLSource.

but I have very basic perl knoweledge and I can't tell further.

Comment 1 Matthew Booth 2011-01-17 16:08:57 UTC
Eesh, that's a bad one. I guess I haven't tested -i libvirtxml in a while.

Comment 2 Matthew Booth 2011-01-17 16:34:44 UTC
Fix posted here:

http://www.redhat.com/archives/libguestfs/2011-January/msg00032.html

Comment 3 Matthew Booth 2011-01-17 17:08:30 UTC
I've just pushed a new build containing this fix. The BZ should be updated when the build makes it into updates-testing in a day or so.