Bug 1170659
Summary: | katello-installer may fail on machines with low RAM | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Kedar Bidarkar <kbidarka> |
Component: | Installation | Assignee: | Chris Roberts <chrobert> |
Status: | CLOSED ERRATA | QA Contact: | Evgeni Golov <egolov> |
Severity: | medium | Docs Contact: | |
Priority: | unspecified | ||
Version: | Nightly | CC: | bkearney, cdonnell, chrobert, egolov, jyejare, mmccune, rjerrido |
Target Milestone: | Unspecified | Keywords: | Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/15696 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2018-02-21 16:44:36 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: |
Steps to Reproduce: 1. Try running katello-installer with less RAM. I am getting following errors while installing Katello Installer for Satellite6 S6C2 on RHEL 7.1 64 bit machine having 2 GB(low) RAM: Logs from /var/log/katello-installer/katello-installer.log: [ERROR 2015-03-16 04:53:07 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: Command exceeded timeout [ERROR 2015-03-16 04:53:08 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Command exceeded timeout [ERROR 2015-03-16 05:01:36 main] Repeating errors encountered during run: [ERROR 2015-03-16 05:01:36 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Failed to call refresh: Command exceeded timeout [ERROR 2015-03-16 05:01:36 main] /Stage[main]/Foreman::Database/Foreman::Rake[db:seed]/Exec[foreman-rake-db:seed]: Command exceeded timeout However, post-installation, I am able to browse and login to Satellite6 web UI. *** Bug 1359873 has been marked as a duplicate of this bug. *** Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/15696 has been resolved. VERIFIED Version Tested: Satellite-6.3 Snap 10 foreman-installer-katello-3.4.4-1.el7sat.noarch satellite-installer-6.3.0.3-1.beta.el7sat.noarch katello-installer-base-3.4.4-1.el7sat.noarch foreman-installer-1.15.2-1.el7sat.noarch # free -m total used free shared buff/cache available Mem: 3694 209 1545 8 1939 3105 Swap: 1535 0 1535 # satellite-installer --scenario satellite This system has less than 8 GB of total memory. Please have at least 8 GB of total ram free before running the installer. I realize that this BZ is extremely old, but should this not reflect a requirement of 12GB to match documentation at this point? (In reply to Craig Donnelly from comment #11) > I realize that this BZ is extremely old, but should this not reflect a > requirement of 12GB to match documentation at this point? Indeed, https://access.redhat.com/documentation/en-us/red_hat_satellite/6.2/html/installation_guide/preparing_your_environment_for_installation#hardware_requirements documents the minimun as 12G now (I was not aware of that). However, we could debate whether this is the same "minimum". The 8G the installer is talking about comes from upstream and is the minimal recommendation to run Katello/Satellite with a couple of clients without going OOM on the smallest action. For that 8G are perfectly fine. The 12G we document allows for a few more clients (but it's also not enough if you have thousands). @Toledo, do you have an opinion on that, given you have implemented the feature in the first place? Hi, Currently our upstream docs say: 8 GB of memory (12 GB highly recommended) https://theforeman.org/plugins/katello/3.4/installation/index.html I would file a Downstream Docs BZ to reflect the upstream change. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:0336 |
Created attachment 964695 [details] katello-installer fails when running on less RAM Description of problem: Trying to install a katello+foreman setup may fail on machines with low RAM. RAM = 1 GB Version-Release number of selected component (if applicable): nightly How reproducible: sometimes. Steps to Reproduce: 1. Try running katello-installer with no swap and less RAM. 2. 3. Actual results: katello-installer configuration may fail. Expected results: should pass or give a proper message. Additional info: