Set karbor-api workers using openstack_service_workers

Change-Id: I76f86e22908f757d19a9e5cdeee7e7913ac51616
Closes-Bug: #1671779
This commit is contained in:
Bertrand Lallau 2017-03-10 11:41:37 +01:00
parent 0160521337
commit 45f331a524

View File

@ -6,6 +6,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}
{% if service_name == 'karbor-api' %} {% if service_name == 'karbor-api' %}
osapi_karbor_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} osapi_karbor_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
osapi_karbor_listen_port = {{ karbor_api_port }} osapi_karbor_listen_port = {{ karbor_api_port }}
osapi_karbor_workers = {{ openstack_service_workers }}
{% endif %} {% endif %}
[database] [database]