Bug 589441 - [ESX conversion] /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Target/LibVirt.pm doesn't load Locale::TextDomain as it should
[ESX conversion] /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Target/LibVirt....
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: virt-v2v (Show other bugs)
5.6
All Linux
high Severity medium
: rc
: ---
Assigned To: Matthew Booth
Virtualization Bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2010-05-06 03:46 EDT by Yan Tian
Modified: 2010-06-22 08:48 EDT (History)
6 users (show)

See Also:
Fixed In Version: 0.5.3
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2010-06-22 08:48:50 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
output with using strace (484.83 KB, application/octet-stream)
2010-05-06 03:50 EDT, Yan Tian
no flags Details

  None (edit)
Description Yan Tian 2010-05-06 03:46:10 EDT
Description of problem:
/usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Target/LibVirt.pm doesn't load
Locale::TextDomain as it should caused no output any debug and no images are retrieved when converted esx images.


Version-Release number of selected component (if applicable):
virt-v2v-0.5.2-1.el5
v2v-libvirt-0.8.0-2.el5
libguestfs-1.2.4-1.el5.10


How reproducible:
always

Steps to Reproduce:
1.Manually patch
/usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Target/LibVirt.pm to add the
following line:

use Locale::TextDomain 'virt-v2v';

Add it at the top, just underneath:

use Sys::VirtV2V::UserMessage qw(user_message);

2.# export LIBGUESTFS_TRACE=1
  # export LIBGUESTFS_DEBUG=1
    
3.# virt-v2v -f virt-v2v.conf -ic esx://10.66.91.46/?no_verify=1 -op v2v_test
ESX3.5-RHEL5.5-i386
  virt-v2v: Failed to create storage volume: libvirt error code: 39, message: unmarshalling remote_error

4. # virsh vol-list --pool=v2v_test
Name                 Path                                    
-----------------------------------------
  
Actual results:
failed with esx conversion

Expected results:
success with esx conversion

Additional info:
Comment 1 Yan Tian 2010-05-06 03:50:21 EDT
Created attachment 411861 [details]
output with using strace
Comment 2 Matthew Booth 2010-05-06 04:33:59 EDT
The patch for this is already upstream.

Unfortunately the error message you see after patching isn't useful either because of bug # 589237.
Comment 3 Matthew Booth 2010-05-07 10:46:52 EDT
Build 0.5.3 is in brew.
Comment 4 Wayne Sun 2010-06-08 21:07:06 EDT
With the newest version:
virt-v2v-0.6.0-3.el5

Run # virt-v2v -ic esx://10.66.91.46/?no_verify=1 -op v2v_test ESX3.5-RHEL5.5-i386

The guest was converted successfully and can be boot up. No need to manual patch up /usr/lib/perl5/vendor_perl/5.8.8/Sys/VirtV2V/Target/LibVirt.pm anymore.
Comment 5 Nan Zhang 2010-06-10 23:02:20 EDT
Verified with virt-v2v-0.6.0-6.el5, it's fixed. Move to VERIFIED.

# virt-v2v -ic esx://10.66.91.46/?no_verify=1 -op v2v_test ESX3.5-RHEL5.5-i386
virt-v2v: ESX3.5-RHEL5.5-i386 configured with virtio drivers
#
Comment 7 errata-xmlrpc 2010-06-22 08:48:50 EDT
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2010-0495.html

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