Bug 718088 - virt-v2v still fails with Can't locate object method "can_handle" via package
Summary: virt-v2v still fails with Can't locate object method "can_handle" via package
Keywords:
Status: CLOSED DUPLICATE of bug 678950
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: virt-v2v
Version: 6.1
Hardware: All
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Matthew Booth
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 678950
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-30 22:50 UTC by Mark Gooderum
Modified: 2011-07-01 16:27 UTC (History)
3 users (show)

Fixed In Version: virt-v2v-0.7.1-4.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-01 16:27:27 UTC
Target Upstream Version:


Attachments (Terms of Use)
virt-v2v-0.7.1-4.el6.x86_64.rpm (3.81 MB, application/octet-stream)
2011-07-01 10:06 UTC, Matthew Booth
no flags Details

Description Mark Gooderum 2011-06-30 22:50:50 UTC
Description of problem:

Conversion of a Red Hat Enterprise Linux Desktop virtual machine failed with the following error:
Can't locate object method "can_handle" via package
"Sys::VirtV2V::Converter::RedHat" at
/usr/share/perl5/vendor_perl/Sys/VirtV2V/Converter.pm line 121.

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

RHEL 6.1 - virt-v2v 0.7.1

How reproducible:

run a command like:

virt-v2v -o rhev -os d2.websense.com:/data/scratch/network-install/export-rhev -of raw -oa sparse -ic 'esx://10.203.120.215/?no_verify=1' CentOS_5_Mark_Natasha

Steps to Reproduce:
1. run virt-v2v -o rhev -os d2.websense.com:/data/scratch/network-install/export-rhev -of raw -oa sparse -ic 'esx://10.203.120.215/?no_verify=1' CentOS_5_Mark_Natasha
2.
3.
  
Actual results:

Can't locate object method "can_handle" via package
"Sys::VirtV2V::Converter::RedHat" at
/usr/share/perl5/vendor_perl/Sys/VirtV2V/Converter.pm line 121.

Expected results:

It works.

Additional info:

The 6.1 Technical notes state:

BZ#67895082
Conversion of a Red Hat Enterprise Linux Desktop virtual machine failed with the following error:
Can't locate object method "can_handle" via package
"Sys::VirtV2V::Converter::RedHat" at
/usr/share/perl5/vendor_perl/Sys/VirtV2V/Converter.pm line 121.
This issue has been resolved and conversion should now complete successfully

Clearity it is not fixed.  Unfortunately bug 6789502 is hidden so I can't help or use any details from that to help troubleshoot.

Comment 2 Huang Wenlong 2011-07-01 05:05:30 UTC
Hi, Mark Gooderum

I test rhel4.9 desktop and rhel6.1 client guest with :
virt-v2v-0.7.1-4.el6.x86_64
libguestfs-1.7.17-17.el6.x86_64
augeas-libs-0.7.2-6.el6.x86_64

they all can be converted successfully  .

Could you provide the /etc/issue  file  with  command in your guest 
# cat /etc/issue 
I guess the cause of this issue is your guest is CentOS , not redhat product .

Wenlong

Comment 4 Matthew Booth 2011-07-01 09:58:31 UTC
(In reply to comment #2)
> Hi, Mark Gooderum
> 
> I test rhel4.9 desktop and rhel6.1 client guest with :
> virt-v2v-0.7.1-4.el6.x86_64
> libguestfs-1.7.17-17.el6.x86_64
> augeas-libs-0.7.2-6.el6.x86_64

Unfortunately we haven't released virt-v2v-0.7.1-4.el6.x86_64, which fixes this bug. I'm looking into it.

Comment 5 Matthew Booth 2011-07-01 10:06:30 UTC
Created attachment 510835 [details]
virt-v2v-0.7.1-4.el6.x86_64.rpm

I've attached the unreleased rpm Wenlong mentioned.

Comment 8 Matthew Booth 2011-07-01 16:27:27 UTC
This issue recurred due to an error creating the previous erratum. This has now been fixed and a new erratum pushed. virt-v2v-0.7.1-4.el6 is now available on RHN.

*** This bug has been marked as a duplicate of bug 678950 ***


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