ab4b1ff785
OSprofile allows user/devs trace OpenStack requests. Implements: blueprint enable-osprofiler Co-Authored-By: Bertrand Lallau <bertrand.lallau@gmail.com> Change-Id: I82ea85d726011ef6cbf99380f395452d6d7f8053
45 lines
1.6 KiB
Django/Jinja
45 lines
1.6 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ trove_logging_debug }}
|
|
|
|
log_dir = /var/log/kolla/trove
|
|
|
|
nova_proxy_admin_pass = {{ trove_keystone_password }}
|
|
nova_proxy_admin_tenant_name = services
|
|
nova_proxy_admin_user = trove
|
|
taskmanager_manager = trove.taskmanager.manager.Manager
|
|
|
|
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 %}
|
|
|
|
trove_auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
|
|
{% if enable_nova | bool %}
|
|
nova_compute_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ nova_api_port }}/v2
|
|
{% endif %}
|
|
{% if enable_cinder | bool %}
|
|
cinder_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ cinder_api_port }}/v1
|
|
{% endif %}
|
|
{% if enable_swift | bool %}
|
|
swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_proxy_server_port }}/v1/AUTH_
|
|
{% endif %}
|
|
|
|
[database]
|
|
connection = mysql+pymysql://{{ trove_database_user }}:{{ trove_database_password }}@{{ trove_database_address }}/{{ trove_database_name }}
|
|
max_retries = -1
|
|
|
|
[oslo_messaging_notifications]
|
|
{% if enable_ceilometer | bool %}
|
|
driver = messagingv2
|
|
topics = 'notifications'
|
|
{% else %}
|
|
driver = noop
|
|
{% endif %}
|
|
|
|
{% if enable_osprofiler | bool %}
|
|
[profiler]
|
|
enabled = true
|
|
trace_sqlalchemy = true
|
|
hmac_keys = {{ osprofiler_secret }}
|
|
{% if enable_elasticsearch | bool %}
|
|
connection_string = elasticsearch://{{ elasticsearch_address }}:{{ elasticsearch_port }}
|
|
{% endif %}
|
|
{% endif %}
|