Bump required undercloud memory to 8 GB

This is the absolute minimum that an undercloud can be installed on.
4 GB has not been enough for quite a while.

Change-Id: I6e5d03e0502e3713e44ddc5a16daf4b3427658a8
This commit is contained in:
Ben Nemec 2017-02-10 17:22:45 +00:00
parent ee1a836d4b
commit 6b38be4b00
3 changed files with 9 additions and 3 deletions

View File

@ -237,7 +237,7 @@ class TestCheckMemory(BaseTestCase):
@mock.patch('psutil.virtual_memory')
def test_sufficient_memory(self, mock_vm):
mock_vm.return_value = mock.Mock()
mock_vm.return_value.total = 4143927296
mock_vm.return_value.total = 8589934592
undercloud._check_memory()
@mock.patch('psutil.virtual_memory')

View File

@ -100,9 +100,9 @@ log can be found at %(log_file)s.
#############################################################################
"""
# We need 4 GB, leave a little room for variation in what 4 GB means on
# We need 8 GB, leave a little room for variation in what 8 GB means on
# different platforms.
REQUIRED_MB = 3750
REQUIRED_MB = 7750
# When adding new options to the lists below, make sure to regenerate the

View File

@ -0,0 +1,6 @@
---
upgrade:
- |
The required memory for an undercloud install has been increased from 4 GB
to 8 GB. Note that this is an absolute minimum. More memory is
recommended for production installs.