python-tripleoclient/templates/ephemeral-heat/heat.conf.j2
James Slagle 4ed3d8b4c9 Ephemeral Heat unit tests
This patch adds unit tests for the ephemeral Heat feature.

Additionally, the following changes are combined into this commit:
- Adds compression for ephemeral Heat db and log file backups
- Configures a specific log_file in the generated heat.conf so we can
  have a unique log file per execution so as not to overwrite previous
  log files. Provides better debuggability as each exeuction is in it's
  own log file.
- Guards the mount/umount of tmpfs for the heat dir with use_root, so as
  to supress the warnings about the commands failing when not using
  root.
- Configures the logger in tripleo_launch_heat.py as just 'tripleoclient'
  so that the configuration propagates to other loggers that inherit
  from 'tripleoclient'
- Fixes tripleo_launch_heat.py to only attempt to kill heat once when
  --kill is passed.
- Minor fixes uncovered during the unit test addition.

Signed-off-by: James Slagle <jslagle@redhat.com>
Change-Id: I44f8d8a208f1b38ccfdd2b4b225c877e539e57cd
(cherry picked from commit 04323f12e7)
2021-05-27 12:54:29 -04:00

45 lines
948 B
Django/Jinja

[DEFAULT]
client_retry_limit=2
convergence_engine = true
debug = true
default_deployment_signal_transport = HEAT_SIGNAL
deferred_auth_method = password
keystone_backend = heat.engine.clients.os.keystone.fake_keystoneclient.FakeKeystoneClient
log_dir = /var/log/heat
log_file = {{ log_file }}
max_json_body_size = 8388608
max_nested_stack_depth = 10
max_resources_per_stack=-1
num_engine_workers = {{ num_engine_workers }}
rpc_poll_timeout = 60
rpc_response_timeout = 600
transport_url={{ transport_url }}
[oslo_messaging_notifications]
driver = noop
[oslo_messaging_rabbit]
heatbeat_timeout_threshold=60
[noauth]
token_response = /token_file.json
[heat_api]
bind_host = 0.0.0.0
bind_port = {{ api_port }}
workers = 1
[database]
connection = {{ db_connection }}
[paste_deploy]
api_paste_config = /etc/heat/api-paste.ini
flavor = noauth
[oslo_policy]
policy_file = /etc/heat/noauth_policy.json
[yaql]
limit_iterators=9000
memory_quota=900000