Skip to content
Snippets Groups Projects
Commit 590d8753 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix heat-engine and heat-api-cfn workers configuration"

parents eef2af61 cb1d214d
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,10 @@ stack_user_domain_name = heat_user_domain
deferred_auth_method = trusts
trusts_delegated_roles = heat_stack_owner
{% if service_name == 'heat-engine' %}
num_engine_workers = {{ openstack_service_workers }}
{% endif %}
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
......@@ -30,6 +33,7 @@ workers = {{ openstack_service_workers }}
[heat_api_cfn]
bind_host = {{ api_interface_address }}
bind_port = {{ heat_api_cfn_port }}
workers = {{ openstack_service_workers }}
{% endif %}
[database]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment