Refactor #17605

Be a little more flexible on the 8GB requirement

Added by Stephen Benjamin 8 months ago. Updated 8 months ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:-
Target version:Foreman - Team Daniel - iteration 6
Branch: Bugzilla link:
Difficulty: Pull request:https://github.com/Katello/katello-installer/pull/440
Story points-
Velocity based estimate-
ReleaseKatello 3.3.0Release relationshipAuto

Description

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}'
7928504
```

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 8 months ago

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

History

#1 Updated by Dominic Cleal 8 months ago

  • Project changed from Installer to Katello

#2 Updated by The Foreman Bot 8 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/Katello/katello-installer/pull/440 added

#3 Updated by Lukas Zapletal 8 months ago

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

#4 Updated by Daniel Lobato Garcia 8 months ago

  • Target version set to Team Daniel - iteration 6

#5 Updated by Justin Sherrill 8 months ago

  • Release set to Katello 3.3.0

Also available in: Atom PDF