Bug 791141

Summary: Improve error message when converting a guest with no space left
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.3CC: cwei, mzhan, rjones, tzheng
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:26:44 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 2012-02-16 10:19:13 UTC
Description of problem:
Convert a guest with no space left,virt-v2v pop up message :
mkdtemp: mkdtemp: /transferXXXXXX: No space left on device at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 203.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Config.pm line 235


Version-Release number of selected component (if applicable):
virt-v2v-0.8.6-1.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1.Get a guest with no space left,you can use dd to create a large file.
2.Convert it with virt-v2v
# virt-v2v -o rhev -os 10.66.90.115:/vol/v2v_auto/nfs_export -b rhevm kvm-rhel6.1-x86_64
kvm-rhel6.1-x86_64.img: 100% [=======================================================]D 0h01m17s
mkdtemp: mkdtemp: /transferXXXXXX: No space left on device at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 203.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Config.pm line 235

 
Actual results:
mkdtemp: mkdtemp: /transferXXXXXX: No space left on device at /usr/share/perl5/vendor_perl/Sys/VirtConvert/GuestfsHandle.pm line 203.
 at /usr/share/perl5/vendor_perl/Sys/VirtConvert/Config.pm line 235

Expected results:
No space left in guest or something like this.

Additional info:

Comment 2 RHEL Program Management 2012-05-03 04:37:58 UTC
Since RHEL 6.3 External Beta has begun, and this bug remains
unresolved, it has been rejected as it is not proposed as
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 4 Richard W.M. Jones 2014-11-18 11:26:44 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