Set heat engine workers to "%{::os_workers_heat_engine}"

This should be a better setting for large baremetal environments where
using the default #CPUs setting can consume too much memory.

Note the fact added in I31d02bea6dd55d65a7014503398adc4422ce7303 is used,
this will chose a value similarly to os_workers fact but changing the 
minimum from 2 to 4 as we know 2 doesn't work well for heat/tripleo.

This is a partial revert of 34ec264428

Change-Id: I0283ef092559fdf9b46c0b04a7d9f4f934ed4fbd
Closes-Bug: #1739030
This commit is contained in:
Steven Hardy 2017-12-19 13:47:52 +00:00
parent 3a2e55b9a3
commit e95b5d6434
1 changed files with 1 additions and 4 deletions

View File

@ -141,10 +141,7 @@ heat::engine::trusts_delegated_roles: []
heat::engine::auth_encryption_key: {{UNDERCLOUD_HEAT_ENCRYPTION_KEY}}
heat::engine::max_resources_per_stack: -1
heat::engine::convergence_engine: true
# NOTE(trown): We need to give heat engine more workers because we are throwing huge
# nested stacks at it for the deploy. By not setting this, we get the heat default,
# which is max(#CPUs,4).
#heat::engine::num_engine_workers:
heat::engine::num_engine_workers: "%{::os_workers_heat_engine}"
heat::engine::max_nested_stack_depth: 7
heat::instance_user: heat-admin
heat::default_transport_url: "rabbit://{{UNDERCLOUD_RABBIT_USERNAME}}:{{UNDERCLOUD_RABBIT_PASSWORD}}@{{LOCAL_IP_WRAPPED}}//"