Browse code

Merge "Bump minimum default RAM for Ironic nodes to 1GB"

Jenkins authored on 2014/05/02 17:22:19
Showing 1 changed files
... ...
@@ -53,11 +53,12 @@ IRONIC_VM_SSH_PORT=${IRONIC_VM_SSH_PORT:-22}
53 53
 IRONIC_VM_SSH_ADDRESS=${IRONIC_VM_SSH_ADDRESS:-$HOST_IP}
54 54
 IRONIC_VM_COUNT=${IRONIC_VM_COUNT:-1}
55 55
 IRONIC_VM_SPECS_CPU=${IRONIC_VM_SPECS_CPU:-1}
56
-# NOTE(agordeev): both ubuntu and fedora deploy images won't work with 256MB of RAM.
57
-#                 System halts and throws kernel panic during initramfs unpacking.
58
-#                 Ubuntu needs at least 384MB, but fedora requires 448.
59
-#                 So placing 512 here to satisfy both.
60
-IRONIC_VM_SPECS_RAM=${IRONIC_VM_SPECS_RAM:-512}
56
+# NOTE(adam_g): Kernels 3.12 and newer user tmpfs by default for initramfs.
57
+#               DIB produced ramdisks tend to be ~250MB but tmpfs will only allow
58
+#               use of 50% of available memory before ENOSPC.  Set minimum 1GB
59
+#               for nodes to avoid (LP: #1311987) and ensure consistency across
60
+#               older and newer kernels.
61
+IRONIC_VM_SPECS_RAM=${IRONIC_VM_SPECS_RAM:-1024}
61 62
 IRONIC_VM_SPECS_DISK=${IRONIC_VM_SPECS_DISK:-10}
62 63
 IRONIC_VM_EMULATOR=${IRONIC_VM_EMULATOR:-/usr/bin/qemu-system-x86_64}
63 64
 IRONIC_VM_NETWORK_BRIDGE=${IRONIC_VM_NETWORK_BRIDGE:-brbm}