Refactor #17605

Be a little more flexible on the 8GB requirement

Added by Stephen Benjamin over 1 year ago. Updated 9 days ago.

Assignee:Lukas Zapletal
Target version:Katello 3.3.0
Branch: Pull request:
Difficulty: Team Backlog:
Triaged:Yes Fixed in Releases:
Bugzilla link: Found in Releases:


I just bought Intel NUC with 8GB module for testing Katello and apparently when
I install CentOS 7 and keep KDump feature enabled (which is the default), some
memory is reserved for this, therefore my system reports this:

[root@nuc ~]# free
total used free shared buff/cache available
Mem: 7928504 427748 4026228 9076 3474528 7150332
Swap: 7812092 0 7812092
[root@nuc ~]# grep MemTotal /proc/meminfo | awk '{print $2}'

This patch changes the check to accept 7.9 GB as 8 GB threshold. If this is a
problem for Katello, I will rewrite the patch and change the error message to
"Minimum 8.1 GB is required" which is really what the check does. But it's
really weird requirement, I am testing with real hardware.

Associated revisions

Revision 629160e5
Added by Lukas Zapletal over 1 year ago

Fixes #17605 - Memory check was lowered to 7.9 GiB (#440)


#1 Updated by Dominic Cleal over 1 year ago

  • Project changed from Installer to Katello

#2 Updated by The Foreman Bot over 1 year ago

  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by Lukas Zapletal over 1 year ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#4 Updated by Daniel Lobato Garcia over 1 year ago

  • Target version set to 1.4.3

#5 Updated by Justin Sherrill over 1 year ago

  • Legacy Backlogs Release (now unused) set to 188

Also available in: Atom PDF