9988a75734
This patch aims to add a prefix for memcached_server on each role to give the ability for deployers to override the location of memcached cluster. I.e users wants to create a single memcached cluster with k8s for each service. We also add pymemcache based on [1] [1] https://review.opendev.org/711429 Change-Id: I64614a02bd3a0d99a69a9c7ac59552ba7cb1fc88
75 lines
2.4 KiB
Django/Jinja
75 lines
2.4 KiB
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
[DEFAULT]
|
|
# Disable stderr logging
|
|
use_stderr = False
|
|
debug = {{ debug }}
|
|
notification_topics = {{ cloudkitty_notification_topics }}
|
|
use_journal = True
|
|
|
|
## Oslo Messaging RPC
|
|
transport_url = {{ cloudkitty_oslomsg_rpc_transport }}://{% for host in cloudkitty_oslomsg_rpc_servers.split(',') %}{{ cloudkitty_oslomsg_rpc_userid }}:{{ cloudkitty_oslomsg_rpc_password }}@{{ host }}:{{ cloudkitty_oslomsg_rpc_port }}{% if not loop.last %},{% else %}/{{ cloudkitty_oslomsg_rpc_vhost }}{% if (cloudkitty_oslomsg_rpc_use_ssl | lower) | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
|
|
|
[api]
|
|
port = {{ cloudkitty_service_port }}
|
|
|
|
[collect]
|
|
services = {{ cloudkitty_collected_services }}
|
|
collector = {{ cloudkitty_collector }}
|
|
|
|
[cors]
|
|
|
|
[cors.subdomain]
|
|
|
|
[database]
|
|
connection = {{ cloudkitty_database_connection }}
|
|
|
|
[keystone_authtoken]
|
|
memcached_servers = {{ cloudkitty_memcached_servers }}
|
|
www_authenticate_uri = {{ keystone_service_internaluri }}
|
|
project_domain_id = {{ cloudkitty_service_project_domain_id }}
|
|
project_name = {{ cloudkitty_service_project_name }}
|
|
user_domain_id = {{ cloudkitty_service_user_domain_id }}
|
|
password = {{ cloudkitty_service_password }}
|
|
username = {{ cloudkitty_service_user_name }}
|
|
auth_url = {{ keystone_service_adminurl }}
|
|
auth_type = {{ cloudkitty_keystone_auth_plugin }}
|
|
|
|
[keystone_fetcher]
|
|
keystone_version = 3
|
|
auth_section = keystone_authtoken
|
|
|
|
[matchmaker_redis]
|
|
|
|
[matchmaker_ring]
|
|
|
|
[oslo_messaging_amqp]
|
|
|
|
[oslo_messaging_qpid]
|
|
|
|
[oslo_messaging_rabbit]
|
|
ssl = {{ cloudkitty_oslomsg_notify_use_ssl | bool }}
|
|
|
|
[oslo_messaging_notifications]
|
|
transport_url = {{ cloudkitty_oslomsg_notify_transport }}://{% for host in cloudkitty_oslomsg_notify_servers.split(',') %}{{ cloudkitty_oslomsg_notify_userid }}:{{ cloudkitty_oslomsg_notify_password }}@{{ host }}:{{ cloudkitty_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ cloudkitty_oslomsg_notify_vhost }}{% if (cloudkitty_oslomsg_notify_use_ssl | lower) | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
|
|
|
|
[output]
|
|
pipeline = {{ cloudkitty_output_pipeline }}
|
|
basepath = {{ cloudkitty_output_basepath }}
|
|
backend = {{ cloudkitty_output_backend }}
|
|
|
|
[state]
|
|
|
|
[storage]
|
|
backend = sqlalchemy
|
|
version = 1
|
|
|
|
[tenant_fetcher]
|
|
|
|
|
|
[{{ cloudkitty_collector }}_collector]
|
|
auth_section = keystone_authtoken
|
|
|
|
[orchestrator]
|
|
coordination_url = mysql://{{ cloudkitty_galera_user }}:{{ cloudkitty_container_mysql_password }}@{{ cloudkitty_galera_address }}/{{ cloudkitty_galera_database }}
|