18fa72c901
Closes-Bug: #1626364 Change-Id: I9d586b950b7099a9b160f7b32c9ff00b189a0287
58 lines
2.4 KiB
Django/Jinja
58 lines
2.4 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ ceilometer_logging_debug }}
|
|
|
|
log_dir = /var/log/kolla/ceilometer
|
|
|
|
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
{% if ceilometer_database_type == 'gnocchi' %}
|
|
meter_dispatchers = gnocchi
|
|
event_dispatchers = gnocchi
|
|
{% endif %}
|
|
|
|
[api]
|
|
port = {{ ceilometer_api_port }}
|
|
host = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
|
|
|
[collector]
|
|
|
|
[database]
|
|
{% if ceilometer_database_type == "mongodb" %}
|
|
event_connection = mongodb://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_mongodb_address }}/{{ ceilometer_database_name }}
|
|
metering_connection = mongodb://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_mongodb_address }}/{{ ceilometer_database_name }}
|
|
{% elif ceilometer_database_type == "mysql" %}
|
|
event_connection = mysql+pymysql://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_mysql_address }}/{{ ceilometer_database_name }}
|
|
metering_connection = mysql+pymysql://{{ ceilometer_database_user }}:{{ ceilometer_database_password }}@{{ ceilometer_database_mysql_address }}/{{ ceilometer_database_name }}
|
|
{% endif %}
|
|
|
|
[keystone_authtoken]
|
|
memcached_servers = {{ kolla_internal_fqdn }}:{{ memcached_port }}
|
|
auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
|
project_domain_name = Default
|
|
project_name = service
|
|
user_domain_name = Default
|
|
username = {{ ceilometer_keystone_user }}
|
|
password = {{ ceilometer_keystone_password }}
|
|
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
|
|
[notification]
|
|
store_events = true
|
|
|
|
[service_credentials]
|
|
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
|
|
region_name = {{ openstack_region_name }}
|
|
password = {{ ceilometer_keystone_password }}
|
|
username = {{ ceilometer_keystone_user }}
|
|
project_name = service
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
auth_type = password
|
|
|
|
{% if ceilometer_database_type == 'gnocchi' %}
|
|
[dispatcher_gnocchi]
|
|
filter_service_activity = False
|
|
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ gnocchi_api_port }}
|
|
archive_policy = low
|
|
{% endif %}
|