Bug 1034774

Summary: kvm: increase Virtual Memory default for rhel7 ks tree (otherwise OOM)
Product: Red Hat Satellite 5 Reporter: Lukas Pramuk <lpramuk>
Component: ProvisioningAssignee: Stephen Herr <sherr>
Status: CLOSED ERRATA QA Contact: Jiří Mikulka <jmikulka>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 560CC: cperry, jhutar, jmikulka, mzazrivec, sherr, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: spacewalk-java-2.0.2-56 Doc Type: Bug Fix
Doc Text:
Cause: RHEL 7's Anaconda installer requires at least 768 MB of ram to complete the installation. Default ram allotment for virtual machines has always been 512 MB in Satellite. Consequence: Attempting to provision a RHEL 7 virtual machine without adjusting the default ram settings failed. Fix: Set the default ram allotment to 768 MB for RHEL 7 virtual machines. Result: Provisioning RHEL 7 virtual machines now works as expected.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-20 09:23:06 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:
Bug Depends On:    
Bug Blocks: 924189, 1039193    

Description Lukas Pramuk 2013-11-26 13:37:20 UTC
Description of problem:
Virtual Memory (in MB) default should be increased to 768MB when provisioning kvm guest using kickstartable tree of RHEL7. 
RHEL6 default is 512MB and causes anaconda to fail (OOM)

Version-Release number of selected component (if applicable):


How reproducible:
100%

Steps to Reproduce:
1. register VHost into SAT, enable Provisioning entitlement 
2. create a kickstart based on a RHEL7 kickstartable tree with virtualization type set to KVM Virtualized Guest 
3. provision kvm guest using defaults (i.e Virtual Memory se to 512MB)
4. anaconda fails during install - OOM

Actual results:
failed provisioning using the defaults (anaconda OOM)

Expected results:
successful provisioning

Additional info:
Virtual Disk Space default (3GB) is sufficient for RHEL7 - no need to change

Comment 1 Stephen Herr 2013-12-09 21:21:30 UTC
*** Bug 1039192 has been marked as a duplicate of this bug. ***

Comment 2 Stephen Herr 2013-12-09 21:33:48 UTC
The problem is that this is not a change we can make.

The 512 MB default is in a cobbler configuration. If we updated it to 768 MB or anything else and released a new cobbler package, then the updated config file would get saved as /etc/cobbler/settings.rpmsave and not take affect unless the customer manually updates the config file and restarts cobblerd.

If a manual intervention and modifying of config files is required, then perhaps the best solution is simply to publish a knowledgebase article telling people they must modify the default ram for RHEL 7 kickstart profiles to 768 MB or higher.

Comment 3 Stephen Herr 2013-12-10 21:53:48 UTC
Fix committed to Spacewalk master:
009fab04141c565843e871bc705604f6a15465d2

Comment 6 Stephen Herr 2013-12-18 14:57:02 UTC
We also need spacewalk commit: 4003937da4077c674d6b60b52a506da5728a37ef

Comment 14 errata-xmlrpc 2014-01-20 09:23:06 UTC
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.

http://rhn.redhat.com/errata/RHBA-2014-0042.html