From 4c8accaf69041cd46591e0dfa302dea0547fe9ec Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Fri, 10 Mar 2017 11:32:23 +0100 Subject: [PATCH] Set magnum-api workers using openstack_service_workers Change-Id: I8df89250d8430cf5abe3d0bd6387a3966591e435 Closes-Bug: #1671777 --- ansible/roles/magnum/templates/magnum.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/magnum/templates/magnum.conf.j2 b/ansible/roles/magnum/templates/magnum.conf.j2 index aee0087734..30be2d18eb 100644 --- a/ansible/roles/magnum/templates/magnum.conf.j2 +++ b/ansible/roles/magnum/templates/magnum.conf.j2 @@ -11,6 +11,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }} [api] port = {{ magnum_api_port }} host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} +workers = {{ openstack_service_workers }} {% endif %} [oslo_policy]