From 48093ee5df033fafb74e590f9f326aae99462eda Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Fri, 10 Mar 2017 10:40:22 +0100 Subject: [PATCH] Set mistral-server workers using openstack_service_workers Change-Id: Ic5511cb4551a92f1ef7d2d830678d9629b0f0f1f Closes-Bug: #1671759 --- ansible/roles/mistral/templates/mistral.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/mistral/templates/mistral.conf.j2 b/ansible/roles/mistral/templates/mistral.conf.j2 index c2a051b3ae..76080d50f3 100644 --- a/ansible/roles/mistral/templates/mistral.conf.j2 +++ b/ansible/roles/mistral/templates/mistral.conf.j2 @@ -13,6 +13,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }} [api] host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} port = {{ mistral_api_port }} +api_workers = {{ openstack_service_workers }} {% endif %} [database]