Set magnum-api workers using openstack_service_workers

Change-Id: I8df89250d8430cf5abe3d0bd6387a3966591e435
Closes-Bug: #1671777
This commit is contained in:
Bertrand Lallau 2017-03-10 11:32:23 +01:00
parent 0160521337
commit 4c8accaf69

View File

@ -11,6 +11,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}
[api] [api]
port = {{ magnum_api_port }} port = {{ magnum_api_port }}
host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
workers = {{ openstack_service_workers }}
{% endif %} {% endif %}
[oslo_policy] [oslo_policy]