DescriptionRichard 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.
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.
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
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.