Bug 678515

Summary: Unhandled error message pop up when convert guest to rhev with no space left in export domain.
Product: Red Hat Enterprise Linux 6 Reporter: yuping zhang <yupzhang>
Component: virt-v2vAssignee: Matthew Booth <mbooth>
Status: CLOSED DEFERRED QA Contact: Virtualization Bugs <virt-bugs>
Severity: low Docs Contact:
Priority: low    
Version: 6.1CC: cwei, leiwang, mshao, mzhan, rjones, syeghiay
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-11-18 11:25:41 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 yuping zhang 2011-02-18 10:13:04 UTC
Description of problem:
In rhevm,when no space left in export domain,convert guest to rhev,unfriendly error message pop up . 

Version-Release number of selected component (if applicable):
virt-v2v-0.7.1-3.el6 
libguestfs-1.7.17-12.el6.x86_64
libvirt-0.8.7-6.el6.x86_64

How reproducible:
Steps to Reproduce:
1.Let the export domain left about 5G space.
2. virt-v2v -ic qemu+ssh://10.66.72.122/system -o rhev -osd 10.66.90.115:/vol/v2vrwu2/esx_export -n rhevm Winxp-64bit-qcow2-kvm
Guessing terminal width due to problem with Term::ReadKey
Winxp-64bit-qcow2-kvm: 100% [==========]D 0h04m40s
virt-v2v: Error writing to /tmp/3Ahrsg01gM/c07f3306-7e5c-4098-b1fa-9b8883764ff2/v2v.r6KmVqzB/f72fdf9c-8c19-40c0-bce3-87ab7739f90a/b2203320-d86b-4c5e-a808-007ee40fd8af: No space left on device
seek() on closed filehandle $fh at /usr/share/perl5/vendor_perl/Sys/VirtV2V/Transfer/Local.pm line 131.
        (in cleanup) virt-v2v: Error writing to /tmp/3Ahrsg01gM/c07f3306-7e5c-4098-b1fa-9b8883764ff2/v2v.r6KmVqzB/f72fdf9c-8c19-40c0-bce3-87ab7739f90a/b2203320-d86b-4c5e-a808-007ee40fd8af: Bad file descriptor
tell() on closed filehandle $fh at /usr/share/perl5/vendor_perl/Sys/VirtV2V/Transfer/Local.pm line 156.

Actual results:
As steps mentioned

Expected results:
Virt-v2v can pop up more friendly error message.

Additional info:

Comment 2 Suzanne Logcher 2011-03-28 21:16:14 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains 
unresolved, it has been rejected as it is not proposed as an 
exception or blocker.

Red Hat invites you to ask your support representative to 
propose this request, if appropriate and relevant, in the 
next release of Red Hat Enterprise Linux.

Comment 7 RHEL Program Management 2012-07-10 05:56:36 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 8 RHEL Program Management 2012-07-11 01:59:08 UTC
This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development.  This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4.

Comment 9 RHEL Program Management 2012-12-14 06:50:42 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 11 Richard W.M. Jones 2014-11-18 11:25:41 UTC
Virt-v2v needs to run on the latest Red Hat Enterprise Linux release
to ensure it can correctly read and modify new guest filesystem
features.  A new version of virt-v2v is now available for RHEL 7.1.

Before RHEL 7.1 is released, follow the instructions here to
install unsupported preview packages on top of RHEL 7.0:
https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html

After RHEL 7.1 is released, virt-v2v will be available in
Technical Preview.

You can run virt-v2v in a single virtual machine.  Other
requirements are covered here:
http://libguestfs.org/virt-v2v.1.html#resource-requirements

If you find a missing feature or bug in the new version of virt-v2v
please file a bug using the following link:
https://bugzilla.redhat.com/enter_bug.cgi?product=Red%20Hat%20Enterprise%20Linux%207&component=libguestfs