From 1c5e6a5980fd285c76db72c25161c8c8215d6791 Mon Sep 17 00:00:00 2001 From: Bertrand Lallau Date: Mon, 13 Mar 2017 15:25:53 +0100 Subject: [PATCH] Designate: manage Api and Central services workers Api and Central Designate services are not configured and will be set to 4 (default value). In an "all-in-one" config it's very helpful to minimize used resources by setting openstack_service_workers to 1. Change-Id: Iafa460859e4b6004ae202bb878da77add08d7a5f Closes-Bug: #1672413 --- ansible/roles/designate/templates/designate.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ansible/roles/designate/templates/designate.conf.j2 b/ansible/roles/designate/templates/designate.conf.j2 index ee0a09d8f7..9775a2c019 100644 --- a/ansible/roles/designate/templates/designate.conf.j2 +++ b/ansible/roles/designate/templates/designate.conf.j2 @@ -8,6 +8,7 @@ transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }} [service:central] default_pool_id = {{ designate_pool_id }} +workers = {{ openstack_service_workers }} [service:api] api_base_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ designate_api_port }} @@ -17,7 +18,7 @@ enable_api_v1 = True enabled_extensions_v1 = 'diagnostics, quotas, reports, sync, touch' enable_api_v2 = True enabled_extensions_v2 = 'quotas, reports' - +workers = {{ openstack_service_workers }} [keystone_authtoken] auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}