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.

Bug 1325706

Summary: kickstart logvol --grow does not use all available space
Product: Red Hat Enterprise Linux 7 Reporter: Eugene Kanter <ekanter>
Component: python-blivetAssignee: Blivet Maintenance Team <blivet-maint-list>
Status: CLOSED WONTFIX QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.2CC: jstodola
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-12-15 07:40:54 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
anaconda.log
none
program.log
none
storage.log none

Description Eugene Kanter 2016-04-10 20:17:05 UTC
How reproducible:
always

Steps to Reproduce:

On a KVM virtual machine with two 8G virtual disks.

kickstart file fragment:

part raid.11 --size 500 --asprimary --ondrive=vda
part raid.21 --size 500 --asprimary --ondrive=vdb
raid /boot   --fstype xfs --device boot --level=RAID1 raid.11 raid.21

part raid.12 --size 1000 --grow --asprimary --ondrive=vda
part raid.22 --size 1000 --grow --asprimary --ondrive=vdb
raid pv.1   --fstype xfs --device pv.1 --level=RAID1 raid.12 raid.22
volgroup vg_system --pesize=131072 pv.1
logvol / --fstype=xfs --name=lv_root --vgname=vg_system --size 1000 --grow

Actual results:
# vgdisplay vg_cobbler-test | grep Size
  VG Size               7.50 GiB
  PE Size               128.00 MiB
  Alloc PE / Size       40 / 5.00 GiB
  Free  PE / Size       20 / 2.50 GiB


Expected results:

based on --grow option description in
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Installation_Guide/sect-kickstart-syntax.html logvol section:

--grow - Tells the logical volume to grow to fill available space (if any)

logical volume should allocate all available space in volume group

Additional info:

using --size with value more then allocated by --grow causes installer out of space on volume group error.

Comment 2 Jan Stodola 2016-04-11 08:23:35 UTC
Reproduced on RHEL-7.2 GA, although "only" 1.25 GiB were not used:

[root@localhost ~]# vgdisplay vg_system | grep -i size
  VG Size               7.50 GiB
  PE Size               128.00 MiB
  Alloc PE / Size       50 / 6.25 GiB
  Free  PE / Size       10 / 1.25 GiB
[root@localhost ~]#

Installation logs will be attached

Comment 3 Jan Stodola 2016-04-11 08:25:22 UTC
Created attachment 1145858 [details]
anaconda.log

Comment 4 Jan Stodola 2016-04-11 08:25:39 UTC
Created attachment 1145859 [details]
program.log

Comment 5 Jan Stodola 2016-04-11 08:25:55 UTC
Created attachment 1145860 [details]
storage.log

Comment 8 RHEL Program Management 2020-12-15 07:40:54 UTC
After evaluating this issue, there are no plans to address it further or fix it in an upcoming release.  Therefore, it is being closed.  If plans change such that this issue will be fixed in an upcoming release, then the bug can be reopened.