summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-05-23 10:45:13 -0400
committerTim Rozet <trozet@redhat.com>2016-05-23 10:52:09 -0400
commitbe03cde24377105b340bbd2d5acae84617ffb7c6 (patch)
tree42e7846127366f250ce1498329fd0e9f3382eaee /build/undercloud.sh
parent7879a52a6d429fb33abf3b76ee8bb5a826a96286 (diff)
Limits engine workers for virtual deployments
Heat uses sub-process forking for increasing number of workers to handle tasks. This patch limits number of workers in undercloud and overcloud for virtual deployments to help battle resource contention. Change-Id: I70edff708b7dcaf114b285046af3138a67167150 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 65462ec8..ed4f2b34 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -67,6 +67,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--run-command "yum update -y openwsman*" \
--run-command "cp /usr/share/instack-undercloud/undercloud.conf.sample /home/stack/undercloud.conf && chown stack:stack /home/stack/undercloud.conf" \
--upload ../opnfv-environment.yaml:/home/stack/ \
+ --upload ../virtual-environment.yaml:/home/stack/ \
-a undercloud.qcow2
popd > /dev/null