Configure coordination_url for cloudkitty processor

Cloudkitty processor use tooz to handle multi processor processes.
Otherwise, duplicated billing will be inserted into mysql.

Change-Id: Ifdc1be78afa89499ee4c3bbec5b9db8ddb2929cf
Closes-Bug: #1681160
This commit is contained in:
Jeffrey Zhang 2017-04-09 09:34:23 +08:00
parent 6d6d7b37fa
commit 0e38fc2852
1 changed files with 3 additions and 0 deletions

View File

@ -49,3 +49,6 @@ auth_section = keystone_authtoken
[api]
host_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
port = {{ cloudkitty_api_port }}
[orchestrator]
coordination_url = mysql://{{ cloudkitty_database_user }}:{{ cloudkitty_database_password }}@{{ cloudkitty_database_address }}/{{ cloudkitty_database_name }}