path: root/lib
diff options
authorTim Rozet <>2017-04-26 09:47:48 -0400
committerTim Rozet <>2017-04-26 09:53:55 -0400
commitc67baa84baf6e5d5d1b07c0b9468e2435d50a970 (patch)
treed12a9042ac1af5b7f242d44514a5b88f7cf383f2 /lib
parent762ccea54e63eb710491a6da56f5eb3aaa8b8120 (diff)
Sets baremetal workers to 12
There is an issue where in Newton the number of workers (sub processes) opened per openstack service scales with the number of logical cores on the system. On servers with large amount of processors this causes the cloud to fail after some time due to running out of RAM. This patch will limit the number of worker processes to 12, which is the limit in Ocata and onwards. JIRA: APEX-410 Change-Id: I28c4762830c19cd758a0729017f2d4a9ebe372b4 Signed-off-by: Tim Rozet <>
Diffstat (limited to 'lib')
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/ b/lib/
index f2c9a85..271b4b8 100755
--- a/lib/
+++ b/lib/
@@ -360,7 +360,9 @@ EOI
DEPLOY_OPTIONS+=" --control-flavor control --compute-flavor compute"
if [[ "$virtual" == "TRUE" ]]; then
- DEPLOY_OPTIONS+=" -e virtual-environment.yaml"
+ DEPLOY_OPTIONS+=" -e virtual-environment.yaml"
+ else
+ DEPLOY_OPTIONS+=" -e baremetal-environment.yaml"
echo -e "${blue}INFO: Deploy options set:\n${DEPLOY_OPTIONS}${reset}"