summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-04-26 09:47:48 -0400
committerTim Rozet <trozet@redhat.com>2017-04-26 09:53:55 -0400
commitc67baa84baf6e5d5d1b07c0b9468e2435d50a970 (patch)
treed12a9042ac1af5b7f242d44514a5b88f7cf383f2 /build/undercloud.sh
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 <trozet@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index de96f029..f6ab4bc0 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -56,6 +56,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ${BUILD_ROOT}/ovs-dpdk-preconfig.yaml:/home/stack/ \
--upload ${BUILD_ROOT}/csit-environment.yaml:/home/stack/ \
--upload ${BUILD_ROOT}/virtual-environment.yaml:/home/stack/ \
+ --upload ${BUILD_ROOT}/baremetal-environment.yaml:/home/stack/ \
--install "python2-congressclient" \
--run-command "sed -i '/SwiftPassword/a\ \x27TackerPassword\x27,' /usr/lib/python2.7/site-packages/tripleo_common/constants.py" \
--run-command "sed -i '/CinderPassword/a\ \x27CongressPassword\x27,' /usr/lib/python2.7/site-packages/tripleo_common/constants.py" \