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 807941 - Guest file was not removed when reboot or shut down in p2v conversion
Summary: Guest file was not removed when reboot or shut down in p2v conversion
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-29 07:58 UTC by Cui Lei
Modified: 2015-03-12 17:00 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-12 16:59:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Cui Lei 2012-03-29 07:58:28 UTC
Description of problem:
When use virt-p2v convert a source machine to a virtual guest, shut down or reboot the machine to interrupt the conversion, virt-p2v would not remove the incomplete guest domain file.
The incomplete file should be removed or the disk space would be wasted in p2v server.

Version-Release number of selected component (if applicable):
always

How reproducible:


Steps to Reproduce:
1.Download the virt-p2v iso from brewweb.

2.Boot the guest with virt-p2v from pxe,input the ip and password of conversion server,convert it to libvirt.

3.In the process of conversion(do not finish), reboot or shut down the source machine or guest to interrupt the conversion.

4.Go to P2V server, check if the incomplete guest domain file was exist
  
Actual results:
The incomplete guest domain file was exist

Expected results:
The incomplete guest domain file should be removed

Additional info:

Comment 2 Cui Lei 2012-03-29 08:29:33 UTC
Update the Version-Release number

Version-Release number of selected component (if applicable):
virt-v2v-0.8.7-4.el6.x86_64
virt-p2v-0.8.6-2
libvirt-0.9.10-7.el6.x86_64
kernel-2.6.32-251.el6
 
How reproducible:
Always

Comment 3 Cui Lei 2012-04-18 05:47:15 UTC
Add two new scenario:
1. "No root device in this operating system image"
2. "Do not support multiple boot OS..."
These two scenario could be check out by virt-p2v, but the roll back action(delete target guest file) do not execute.
If DEV think these two scenario would fixed by another way different from the original issue, I could submitted another bug.

Comment 4 RHEL Program Management 2012-05-03 04:49:02 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 6 Richard W.M. Jones 2015-03-12 16:59:47 UTC
Closing UPSTREAM because virt-v2v (the server side of virt-p2v)
now cleans up at least the disk images in the event of any type
of failure.


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