Use 'openstack_service_workers' as the nb of Cloudkitty workers

Add the ability to Kolla-ansible to manage the 'max_workers' parameter
 in Cloudkitty. We will use the 'openstack_service_workers' variable
 to control the number of workers that Cloudkitty is able to use.

Change-Id: I2f4e7e5c45d71a7e01d1b743d2eb4850cc339419
Signed-off-by: Rafael Weingärtner <rafael@apache.org>
This commit is contained in:
Rafael Weingärtner 2019-05-16 12:31:55 -03:00
parent 22a6e0216e
commit 0f359dc9cb
2 changed files with 2 additions and 1 deletions
ansible/roles/cloudkitty

@ -82,7 +82,6 @@ openstack_cloudkitty_auth: "{{ openstack_auth }}"
####################
cloudkitty_openstack_keystone_default_role: "rating"
####################
# Kolla
####################

@ -56,3 +56,5 @@ port = {{ cloudkitty_api_port }}
[orchestrator]
coordination_url = mysql://{{ cloudkitty_database_user }}:{{ cloudkitty_database_password }}@{{ cloudkitty_database_address }}/{{ cloudkitty_database_name }}
max_workers = {{ openstack_service_workers }}