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.
DescriptionParikshit Khedekar
2018-11-29 12:54:42 UTC
Created attachment 1509801[details]
The swapsize.tar.gz has Kickstart logs collected from the test system.
Description of problem:
The installer will take the max size as 128 GB for a swap partition.
Version-Release number of selected component (if applicable):
Any Red Hat Enterprise Linux 7 Minor release.
How reproducible:
-->> Boot with ISO of Red Hat Enterprise Linux 7,
-->> Manual Partitioning
-->> Create a swap with more that 128 GB
-->> The size will be loaded as default to 128 Gb
Steps to Reproduce:
1. Using graphical install with declaring a swap more than 128 Gb
2. Kickstart below will reproduce the issue,
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
install
text
keyboard --vckeymap=se --xlayouts='se'
rootpw --plaintext anaconda
lang en_US.UTF-8
timezone --utc Europe/Stockholm
# Network information
# System bootloader configuration
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
clearpart --all --initlabel
part /boot --asprimary --size=1024
part / --asprimary --size=20000
part /var --asprimary --size=15000
part /home --size=20000
part /opt --size=5168
part swap --size=150000
# Accept Eula
eula --agreed
%packages
@base
%end
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Actual results:
The installer will take default value of 128Gb for swap with below message,
12:40:25,094 DEBUG anaconda: new disk order: []
12:40:25,736 ERR anaconda: storage configuration failed: partition is too large for swap formatting (allowable size is 0 B to 128 GiB)
12:40:26,703 INFO anaconda: fs space: 0 B needed: 2861.02 MiB
Expected results:
It should allow creating a swap of the desired size for the installation if we provide a swap size.
Additional info:
Adding kickstart logs from test.
This limit is set by blivet our storage library based on the bug 744129.
It is set by
'_maxSize = Size("128 GiB")'
in swap.py source file.
Switching components.
Created attachment 1509801 [details] The swapsize.tar.gz has Kickstart logs collected from the test system. Description of problem: The installer will take the max size as 128 GB for a swap partition. Version-Release number of selected component (if applicable): Any Red Hat Enterprise Linux 7 Minor release. How reproducible: -->> Boot with ISO of Red Hat Enterprise Linux 7, -->> Manual Partitioning -->> Create a swap with more that 128 GB -->> The size will be loaded as default to 128 Gb Steps to Reproduce: 1. Using graphical install with declaring a swap more than 128 Gb 2. Kickstart below will reproduce the issue, ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ install text keyboard --vckeymap=se --xlayouts='se' rootpw --plaintext anaconda lang en_US.UTF-8 timezone --utc Europe/Stockholm # Network information # System bootloader configuration bootloader --location=mbr --append="rhgb quiet crashkernel=auto" clearpart --all --initlabel part /boot --asprimary --size=1024 part / --asprimary --size=20000 part /var --asprimary --size=15000 part /home --size=20000 part /opt --size=5168 part swap --size=150000 # Accept Eula eula --agreed %packages @base %end ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Actual results: The installer will take default value of 128Gb for swap with below message, 12:40:25,094 DEBUG anaconda: new disk order: [] 12:40:25,736 ERR anaconda: storage configuration failed: partition is too large for swap formatting (allowable size is 0 B to 128 GiB) 12:40:26,703 INFO anaconda: fs space: 0 B needed: 2861.02 MiB Expected results: It should allow creating a swap of the desired size for the installation if we provide a swap size. Additional info: Adding kickstart logs from test.