Hide Forgot
Description of problem: The conversion will hang for ever when converting a VM with redirected stdout 2>&1 at the end of command line, due to 'Out of memory during list extend at /usr/share/perl5/vendor_perl/Term/ProgressBar.pm line 749.' Version-Release number of selected component (if applicable): virt-v2v-0.7.0-1.el6.x86_64 libguestfs-1.7.17-11.el6.x86_64 libguestfs-tools-1.7.17-11.el6.x86_64 libvirt-0.8.7-2.el6.x86_64 How reproducible: always Steps to Reproduce: Convert VM with redirected stdout 2>&1 #cd / # LIBGUUESTFS_TRACE=1 virt-v2v -ic qemu+ssh://10.66.72.xxx/system -o rhev -osd 10.66.90.115:/vol/v2vrwu1/xen_export rhel5u6-32b-qcow2-test > rhel5u6-32b-qcow2-test1.log 2>&1 root.72.xxx's password: root.72.xxx's password: # cat rhel5u6-32b-qcow2-test1.log Out of memory during list extend at /usr/share/perl5/vendor_perl/Term/ProgressBar.pm line 749. Actual results: Conversion hang before copying images. Expected results: Convert VM successfully. Additional info:
Fix posted: http://www.redhat.com/archives/libguestfs/2011-January/msg00050.html
verify this bug in rhel6 with virt-v2v-0.7.1-1.el6.x86_64 libguestfs-1.7.17-11.el6.x86_64 libvirt-0.8.7-2.el6.x86_64 virt-v2v -ic qemu+ssh://10.66.72.112/system -op sdb1 -b breth0 rhel5u6-64b-raw-wl > /tmp/rhel5u6-64b-raw-w.log 2>&1 conversion is successful
Set it as VERIFIED according to comment 3
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: virt-v2v conversion would hang if its output was redirected at the command line. This bug was reported and corrected during development. It was not seen in production systems in the field.
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/RHBA-2011-0650.html