From a290e83d63888bb4ade7364f9234feef2aa3d4d7 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Fri, 10 Mar 2017 09:29:37 +0100 Subject: [PATCH] Set searchlight-api workers using openstack_service_workers Change-Id: I8b9c8b374fa35f97876f27f1a50a3b188ce9dae0 Closes-Bug: #1671739 --- ansible/roles/searchlight/templates/searchlight.conf.j2 | 1 + 1 file changed, 1 insertion(+) diff --git a/ansible/roles/searchlight/templates/searchlight.conf.j2 b/ansible/roles/searchlight/templates/searchlight.conf.j2 index 3317fca1fe..3f79c3086c 100644 --- a/ansible/roles/searchlight/templates/searchlight.conf.j2 +++ b/ansible/roles/searchlight/templates/searchlight.conf.j2 @@ -10,6 +10,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }} port = {{ searchlight_api_port }} bind_host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }} public_endpoint = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ searchlight_api_port }} +workers = {{ openstack_service_workers }} [elasticsearch] hosts = {{ searchlight_elasticsearch_url }}