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 1168632 - Fix kickstart for virt-p2v
Summary: Fix kickstart for virt-p2v
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libguestfs
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Richard W.M. Jones
QA Contact: Virtualization Bugs
URL:
Whiteboard: p2v
Depends On:
Blocks: TRACKER-virt-p2v
TreeView+ depends on / blocked
 
Reported: 2014-11-27 12:57 UTC by Richard W.M. Jones
Modified: 2015-03-05 13:47 UTC (History)
12 users (show)

Fixed In Version: libguestfs-1.28.1-1.15.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-03-05 13:47:37 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0303 0 normal SHIPPED_LIVE libguestfs bug fix and enhancement update 2015-03-05 17:34:44 UTC

Description Richard W.M. Jones 2014-11-27 12:57:49 UTC
Description of problem:

Some upstream fixes have happened to the virt-p2v kickstart
since RHEL 7.1 was branched.  Commits which are necessary are:

commit c64467a4c1a31de1134084a15a4acb841557140f
Author: Richard W.M. Jones <rjones>
Date:   Thu Nov 20 22:22:49 2014 +0000

    p2v: Include version and md5sum in kickstart.
    
    Include the version of virt-p2v and its MD5 checksum in the source
    kickstart.  This is useful for working out which version of virt-p2v
    the kickstart corresponds to.

commit 8efbe49df6d53666bd5a6031f45f45ceb1408fb8
Author: Richard W.M. Jones <rjones>
Date:   Tue Oct 28 11:21:08 2014 +0000

    p2v: kickstart: Add rpm to list of packages.
    
    Avoids RHBZ#1089566.

commit 26952db56ffab1bc93c7f57c43e785f62d44854f
Author: Richard W.M. Jones <rjones>
Date:   Tue Oct 28 11:20:30 2014 +0000

    p2v: kickstart: Remove 'install' line.
    
    'install' is the default operation, it doesn't have to be specified.

commit c48114cd24d630ac66bd683c3593c33d43f712a6
Author: Richard W.M. Jones <rjones>
Date:   Tue Oct 28 09:00:29 2014 +0000

    p2v: kickstart: Add firewalld to the ISO to allow firewall to be enabled.

commit 439bf5e42ac5396eed8911e2d2698ceb4603f0a8
Author: Richard W.M. Jones <rjones>
Date:   Tue Oct 28 08:55:46 2014 +0000

    p2v: kickstart: Name the ISO 'virt-p2v'.

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

libguestfs-1.28.1-1.14.el7

How reproducible:

100%

Steps to Reproduce:
1. Run: virt-p2v-make-kickstart -o p2v.ks rhel
2. Examine the 'p2v.ks' output file.

Actual results:

The changes noted above won't appear in the kickstart file.

Comment 2 tingting zheng 2014-12-10 07:09:00 UTC
Tested with:
virt-v2v-1.28.1-1.16.el7.x86_64
libguestfs-1.28.1-1.16.el7.x86_64

Steps:
1.#virt-p2v-make-kickstart -o p2v.ks rhel
2.Check the p2v.ks file.

The version and md5sum have been included in kickstart,see below contents:
# Generated by virt-p2v-make-kickstart 1.28.1.                  
# md5(virt-p2v) = 0ee464fef61b494f0f03c46d0815ed6f  

Add rpm to list of packages,see below contents:
# rpm must be installed, else you'll hit RHBZ#1089566. 
rpm

Add firewalld to the ISO to allow firewall to be enabled,see below contents.
# Required to run firewall --enabled kickstart command
firewalld      

Also checked "install" line has been removed from p2v.ks.

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

Comment 4 errata-xmlrpc 2015-03-05 13:47:37 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0303.html


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