heat/bin
Steve Baker 4197f02e9e Make minimum default num_engine_workers>=4
Downstream test environments are frequently having failing stacks with
error messages like:

  MessagingTimeout: resources[0]: Timed out waiting for a reply to
  message ID ...

These environments generally have 1 or 2 cores, so only spawn one or two
engine workers. This deadlocks with stacks that have many nested stacks
due to engine->engine RPC calls.

Even our own functional tests don't work reliably with less than 4
workers, and the workaround has been to set that explicitly in
pre_test_hook.sh.

This change sets the default minimum number of workers to 4, but still
matches workers to cores for larger servers.

This change also moves the default evaluation to heat.cmd.engine so that
generated configuration doesn't get a inappropriate default value.

Change-Id: Iae6b3956bad414406d901bb2213c9ec230ff4304
Closes-Bug: #1526045
(cherry picked from commit adb2121795)
2016-01-21 08:32:35 -05:00
..
heat-api Merge "Use oslo.log in wsgi.py" 2015-03-25 12:54:31 +00:00
heat-api-cfn Adds version reporting for heat commands 2015-03-24 12:35:17 +05:30
heat-api-cloudwatch Adds version reporting for heat commands 2015-03-24 12:35:17 +05:30
heat-db-setup Fix heat-db-setup error on rhel7.1 2015-06-25 02:13:10 +00:00
heat-engine Make minimum default num_engine_workers>=4 2016-01-21 08:32:35 -05:00
heat-keystone-setup Remove die_if_not_set check for var user_roles 2014-11-05 15:09:39 +01:00
heat-keystone-setup-domain Add domain when list users in heat-keystone-setup-domain 2015-07-07 02:17:29 +00:00
heat-manage Import oslo.i18n and port heat bins to use oslo.i18n 2014-09-02 10:53:14 +08:00