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 1654695 - RHEL 7 anaconda installer allow max swap size of 128GB at time of installation using Graphical mode and kickstart mode
Summary: RHEL 7 anaconda installer allow max swap size of 128GB at time of installatio...
Keywords:
Status: CLOSED DUPLICATE of bug 1444232
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: python-blivet
Version: 7.1
Hardware: All
OS: Linux
urgent
urgent
Target Milestone: rc
: ---
Assignee: Blivet Maintenance Team
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks: 1656485
TreeView+ depends on / blocked
 
Reported: 2018-11-29 12:54 UTC by Parikshit Khedekar
Modified: 2021-09-03 14:09 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1656485 (view as bug list)
Environment:
Last Closed: 2020-01-15 16:39:49 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The swapsize.tar.gz has Kickstart logs collected from the test system. (32.23 KB, application/x-gzip)
2018-11-29 12:54 UTC, Parikshit Khedekar
no flags Details

Description Parikshit 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.

Comment 2 Jiri Konecny 2018-11-30 09:08:06 UTC
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.

Comment 4 Jon Magrini 2020-01-15 16:39:49 UTC

*** This bug has been marked as a duplicate of bug 1444232 ***


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