Set IRONIC_VM_SPECS_RAM to 512 by default

Fix insufficient amount of RAM provided for fake baremetal nodes

Change-Id: I87d04a23a28dcb03dfdaf3c6cfad96cf2bda2516
This commit is contained in:
Alexander Gordeev 2014-03-17 17:58:54 +04:00
parent ad3ac5876b
commit 84d0ec5ebc

View File

@ -52,7 +52,11 @@ IRONIC_VM_SSH_PORT=${IRONIC_VM_SSH_PORT:-2222}
IRONIC_VM_SSH_ADDRESS=${IRONIC_VM_SSH_ADDRESS:-$HOST_IP}
IRONIC_VM_COUNT=${IRONIC_VM_COUNT:-1}
IRONIC_VM_SPECS_CPU=${IRONIC_VM_SPECS_CPU:-1}
IRONIC_VM_SPECS_RAM=${IRONIC_VM_SPECS_RAM:-256}
# NOTE(agordeev): both ubuntu and fedora deploy images won't work with 256MB of RAM.
# System halts and throws kernel panic during initramfs unpacking.
# Ubuntu needs at least 384MB, but fedora requires 448.
# So placing 512 here to satisfy both.
IRONIC_VM_SPECS_RAM=${IRONIC_VM_SPECS_RAM:-512}
IRONIC_VM_SPECS_DISK=${IRONIC_VM_SPECS_DISK:-10}
IRONIC_VM_EMULATOR=${IRONIC_VM_EMULATOR:-/usr/bin/qemu-system-x86_64}
IRONIC_VM_NETWORK_BRIDGE=${IRONIC_VM_NETWORK_BRIDGE:-brbm}