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.
Description of problem:
I am trying to install rhel 7.1 using a kickstart file. I am trying to leave free space in root volume group using --reserved-percentage=20. After installation I look at anaconda-ks.cfg and looks little different from what I used for installation.
Here is what I specified in my kickstart.
# Disk partitioning information
part /boot --size=500
part pv.1 --size=500 --grow
volgroup rhel --pesize=4096 pv.1 --reserved-percent=20
logvol / --size=500 --grow --name=root --vgname=rhel
logvol swap --size=2048 --name=swap --vgname=rhel
And here is what's present in anaconda-ks.cfg after installation.
# Disk partitioning information
part pv.64 --fstype="lvmpv" --size=50699
part /boot --fstype="xfs" --size=500
volgroup rhel --pesize=4096 pv.64
logvol swap --fstype="swap" --size=2048 --name=swap --vgname=rhel
logvol / --fstype="xfs" --grow --size=500 --name=root --vgname=rhel
Two of the differences are notable.
--reserved-percent=20 disappeared.
and
"part pv.1 --size=500 --grow" changed to " part pv.64 --fstype="lvmpv" --size=50699"
I am not sure if both the above are expected or not.
Opening a bug to figure it out.
As a user, I think I expect to retain my original settings so that I can
use same kickstart file on other machines.
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1.
2.
3.
Actual results:
Expected results:
Additional info:
I'm not sure that's correct. The kickstart written to /root/ reflects the system as installed, and isn't just a copy of the source kickstart. As you can see it replaced that by adding the --size=50699 to the pv creation.
Maybe we should also copy the original un-modified kickstart to /root/ as well?
(In reply to Vivek Goyal from comment #3)
> Copying un-modified kickstart sounds like a good idea to me.
Why? You already have that kickstart file because you had to provide it to start the installation.
I think it just acts as template. For my initial system installation I had no where to begin with so I installed a system, took that kickstart file and modified it to and passed it in for second install.
So if I login into a system and I want to know how that system is configured, I can just take original kickstart file and use it for installation of other system. Without knowing where is the kickstart file which original admin used.
IOW, I think unmodified file will act as a template kickstart file out of box for other sytems too. (Assuming that unmodified one is more generic as compared to modified one and can apply to a wide variety of systems).
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/RHEA-2016-2158.html