From be679ad66ecc4c314e6f0df9f94c775e61df3129 Mon Sep 17 00:00:00 2001 From: Feng Pan Date: Wed, 9 Aug 2017 13:18:39 -0400 Subject: 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 Signed-off-by: Feng Pan --- lib/overcloud-deploy-functions.sh | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib') diff --git a/lib/overcloud-deploy-functions.sh b/lib/overcloud-deploy-functions.sh index bfa98e54..c1f258ba 100755 --- a/lib/overcloud-deploy-functions.sh +++ b/lib/overcloud-deploy-functions.sh @@ -356,6 +356,8 @@ EOI sleep 5 done vbmc list + else + DEPLOY_OPTIONS+=" -e baremetal-environment.yaml" fi echo -e "${blue}INFO: Deploy options set:\n${DEPLOY_OPTIONS}${reset}" -- cgit 1.2.3-korg