Bug 670175 - virt-v2v exit with perl compile error
Summary: virt-v2v exit with perl compile error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Virtualization Tools
Classification: Community
Component: virt-v2v
Version: unspecified
Hardware: x86_64
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthew Booth
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-17 12:56 UTC by M Nikolov
Modified: 2013-07-02 16:09 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-07-02 16:09:32 UTC


Attachments (Terms of Use)

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.


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