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 1269124 - anaconda-ks.cfg uses logvol incorrectly
Summary: anaconda-ks.cfg uses logvol incorrectly
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-06 11:50 UTC by Tristan hoar
Modified: 2021-09-03 14:11 UTC (History)
7 users (show)

Fixed In Version: python-blivet-0.61.15.57-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 23:51:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2168 0 normal SHIPPED_LIVE python-blivet bug fix and enhancement update 2016-11-03 13:15:34 UTC

Description Tristan hoar 2015-10-06 11:50:44 UTC
Description of problem:
If you kickstart a RHEL7 build using the following command for a volume:
logvol / --fstype="xfs" --name=lv_root --vgname=vg_master --percent=75
the anaconda-ks.cfg at the end has --percent and --size commands for that volume. --percent and --size are mutually exclusive and cant be used together.

example output:
logvol /  --fstype="xfs" --percent=75 --size=24192 --name=lv_root --vgname=vg_master

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


How reproducible:
Always

Steps to Reproduce:
1.Kickstart build using following command for root volume
logvol / --fstype="xfs" --name=lv_root --vgname=vg_master --percent=75

2. Check anaconda-ks.cfg once build is complete 
3.

Actual results:
logvol /  --fstype="xfs" --percent=75 --size=24192 --name=lv_root --vgname=vg_master


Expected results:
Either
logvol /  --fstype="xfs" --percent=75 --name=lv_root --vgname=vg_master
or
logvol /  --fstype="xfs" --size=24192 --name=lv_root --vgname=vg_master


Additional info:

Comment 2 Jason 2016-03-24 19:54:35 UTC
I can confirm this as changed in the minor release RHEL 6.7.

Comment 3 David Lehman 2016-09-06 16:32:12 UTC
https://github.com/rhinstaller/blivet/pull/501

Comment 5 Jakub Vavra 2016-09-13 09:04:39 UTC
Reproduced on released RHEL 7.2, fix not present in Snapshot.3 (RHEL-7.3-20160908.3).

Comment 9 errata-xmlrpc 2016-11-03 23:51:09 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-2016-2168.html


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