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 1167601 - "Conversion was successful" pop out even virt-p2v fails
Summary: "Conversion was successful" pop out even virt-p2v fails
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: John Eckersberg
QA Contact: Virtualization Bugs
URL:
Whiteboard: P2V
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 06:57 UTC by tingting zheng
Modified: 2018-09-07 19:22 UTC (History)
7 users (show)

Fixed In Version: libguestfs-1.28.1-1.18.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-09-07 19:22:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
screenshot of virt-p2v (69.07 KB, image/png)
2014-11-25 06:57 UTC, tingting zheng
no flags Details

Description tingting zheng 2014-11-25 06:57:44 UTC
Created attachment 961025 [details]
screenshot of virt-p2v

Description
"Conversion was successful" pop out even virt-p2v fails

Version:
virt-v2v-1.28.1-1.13.el7.x86_64
livecd-p2v-201411201732.iso

How reproducible:
100%

Steps to Reproduce:
1.Launch virt-p2v boot GUI via iso or virt-p2v image.

2.Use virt-p2v to convert a host without operating system installed.

3.The conversion fails and connection closed,then "Conversion was successful" pop out.

Actual results:
As step 3 describes.

Expected results:
In step 3,some info like "Conversion failed" shows.

Additional info:
Screenshot attached.

Comment 2 Richard W.M. Jones 2014-11-25 16:35:47 UTC
Background:

The code that pops up the dialog is libguestfs.git/p2v/gui.c:
start_conversion_thread.

Presumably p2v/conversion.c:start_conversion is returning a
success code even when virt-v2v fails.

You can test this by running the ISO like this:

  truncate -s 10G empty
  qemu-kvm -hda empty -cdrom livecd-p2v-XXX.iso -boot d

and then starting a conversion.  It will fail because virt-v2v
cannot convert a disk without an operating system.

Comment 3 Richard W.M. Jones 2014-12-11 14:37:54 UTC
John's patch has been accepted upstream:
https://www.redhat.com/archives/libguestfs/2014-December/msg00116.html

Comment 6 tingting zheng 2014-12-18 03:30:14 UTC
Tested with:
libguestfs-1.28.1-1.18.el7.x86_64
virt-v2v-1.28.1-1.18.el7.x86_64
livecd-p2v-201412160442.iso

If conversion fails,an box will pop out with the below error:
Conversion failed:virt-v2v exited with status 1.

Comment 13 tingting zheng 2015-05-28 10:11:13 UTC
Tested with:
libguestfs-1.28.1-1.36.el7.x86_64
virt-v2v-1.28.1-1.36.el7.x86_64
livecd-p2v-201505191242.iso	

If conversion fails,an box will pop out with the below error:
Conversion failed:virt-v2v exited with status 1.

Refer to the above comments,move the bug to VERIFIED.


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