Bump VM memory for latest stable CoreOS IPA

IPA is currently running an extremely old CoreOS. New CoreOS ramdisks
require more RAM. Given a CoreOS ramdisk is only built and run for IPA
jobs, bump memory for virtual machine from 1024M to 1280M. This has
been tested as sufficient locally.

It was determined that the stable CoreOS image can boot with no less
than 1171M of RAM. The next multiple of 128 is 1280M. This leaves 109M
of free memory. This should be enough for deploying disk images under
100M.

The limit is also bumped for old branches as this fix is critical
enough to be backported, and to make it consistent.

Change-Id: Ia49daedac0a972769698f04b5e358ac17435b24d
Partial-bug: #1581673
This commit is contained in:
Mathieu Mitchell 2016-06-30 16:16:12 -04:00 committed by Sam Betts
parent f269e732f0
commit db7449cd1c

View File

@ -696,15 +696,15 @@
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=384"
;;
'coreos')
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1024"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280"
;;
# if using a ramdisk without a known good value, use the devstack
# default by not exporting any value for IRONIC_VM_SPECS_RAM
esac
else
# For kilo and liberty, we still need 1024mb or ram as
# For kilo and liberty, we still need 1280mb of ram as
# we only have the CoreOS ramdisk.
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1024"
export DEVSTACK_LOCAL_CONFIG+=$'\n'"IRONIC_VM_SPECS_RAM=1280"
fi
fi