Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1316487

Summary: virt-v2v: error: libguestfs error: file receive cancelled by daemon when about 100M space left on host while conversion
Product: Red Hat Enterprise Linux 7 Reporter: mxie <mxie>
Component: libguestfsAssignee: Richard W.M. Jones <rjones>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 7.3CC: juzhou, keanli, mzhan, ptoscano, tzheng, xiaodwan
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: V2V
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-06-23 12:00:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot-116M
none
virt-v2v-xen-kvm-log
none
virt-v2v-xen-rhev-log none

Description mxie@redhat.com 2016-03-10 11:04:03 UTC
Created attachment 1134814 [details]
screenshot-116M

Description of problem:
virt-v2v: error: libguestfs error: file receive cancelled by daemon when about 100M space left on host while conversion


Version-Release number of selected component (if applicable):
libvirt-1.2.17-13.el7_2.4.x86_64
kernel-3.10.0-229.29.1.el7
qemu-kvm-1.5.3-105.el7_2.3.x86_64
libguestfs-winsupport-7.2-1.el7.x86_64
virtio-win-1.8.0-4.el7.noarch
virt-v2v-1.28.1-1.55.el7_2.1.x86_64
libguestfs-1.28.1-1.55.el7_2.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Make about 100M space left on host, please see "screenshot-116M"

2.Convert guest from xen to local, the error shows as below, details please refer to log"virt-v2v-xen-kvm.log"
1.# virt-v2v -ic xen+ssh://10.66.106.64 -b virbr0 xen-rhel7.2-mxie -on mm -of raw
[   0.0] Opening the source -i libvirt -ic xen+ssh://10.66.106.64 xen-rhel7.2-mxie
[   0.0] Creating an overlay to protect the source from being modified
[   1.0] Opening the overlay
[   7.0] Initializing the target -o libvirt -os default
[   7.0] Inspecting the overlay
virt-v2v: error: libguestfs error: file receive cancelled by daemon

If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:

  virt-v2v -v -x [...]

3.Convert guest from xen to rhev, the error shows as below, details please refer to log"virt-v2v-xen-rhev.log"
# virt-v2v -ic xen+ssh://10.66.106.64 -o rhev -os 10.73.72.63:/home/nfs_export -n ovirtmgmt -b ovirtmgmt xen-rhel7.2-mxie -of raw
[   0.0] Opening the source -i libvirt -ic xen+ssh://10.66.106.64 xen-rhel7.2-mxie
[   0.0] Creating an overlay to protect the source from being modified
[   1.0] Opening the overlay
[   7.0] Initializing the target -o rhev -os 10.73.72.63:/home/nfs_export
[   7.0] Inspecting the overlay
virt-v2v: error: libguestfs error: file receive cancelled by daemon

If reporting bugs, run virt-v2v with debugging enabled and include the
complete output:

  virt-v2v -v -x [...]


Actual results:
As above description

Expected results:
Should report the error like below:
qemu-img: /var/tmp/v2vovl7dab64.qcow2: Could not write qcow2 header: No space left on device
virt-v2v: error: qemu-img command failed, see earlier errors


Addtional info:

Comment 2 mxie@redhat.com 2016-03-10 11:05:02 UTC
Created attachment 1134815 [details]
virt-v2v-xen-kvm-log

Comment 3 mxie@redhat.com 2016-03-10 11:05:45 UTC
Created attachment 1134816 [details]
virt-v2v-xen-rhev-log

Comment 4 Richard W.M. Jones 2016-06-23 12:00:34 UTC

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