From 45f331a5249e3cfe3b52d7c4adbd372b1d9f76c8 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Fri, 10 Mar 2017 11:41:37 +0100 Subject: [PATCH] Set karbor-api workers using openstack_service_workers Change-Id: I76f86e22908f757d19a9e5cdeee7e7913ac51616 Closes-Bug: #1671779 --- ansible/roles/karbor/templates/karbor.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/karbor/templates/karbor.conf.j2 b/ansible/roles/karbor/templates/karbor.conf.j2 index 90dd534c95..26d5be797d 100644 --- a/ansible/roles/karbor/templates/karbor.conf.j2 +++ b/ansible/roles/karbor/templates/karbor.conf.j2 @@ -6,6 +6,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }} {% if service_name == 'karbor-api' %} osapi_karbor_listen = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} osapi_karbor_listen_port = {{ karbor_api_port }} +osapi_karbor_workers = {{ openstack_service_workers }} {% endif %} [database]