summaryrefslogtreecommitdiffstats
path: root/build/virtual-environment.yaml
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/virtual-environment.yaml
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/virtual-environment.yaml')
-rw-r--r--build/virtual-environment.yaml17
1 files changed, 17 insertions, 0 deletions
diff --git a/build/virtual-environment.yaml b/build/virtual-environment.yaml
new file mode 100644
index 00000000..6f1d0517
--- /dev/null
+++ b/build/virtual-environment.yaml
@@ -0,0 +1,17 @@
+parameter_defaults:
+ controllerExtraConfig:
+ # In releases before Mitaka, HeatWorkers doesn't modify
+ # num_engine_workers, so handle via heat::config
+ heat::config::heat_config:
+ DEFAULT/num_engine_workers:
+ value: 1
+ heat::api_cloudwatch::enabled: false
+ heat::api_cfn::enabled: false
+ HeatWorkers: 1
+ CeilometerWorkers: 1
+ CinderWorkers: 1
+ GlanceWorkers: 1
+ KeystoneWorkers: 1
+ NeutronWorkers: 1
+ NovaWorkers: 1
+ SwiftWorkers: 1