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
This commit is contained in:
Bertrand Lallau 2017-03-13 15:25:53 +01:00
parent c0df4ab8b6
commit 1c5e6a5980
1 changed files with 2 additions and 1 deletions

View File

@ -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 }}