ae246945a6
Option auth_uri from group keystone_authtoken is deprecated[1]. Use option www_authenticate_uri from group keystone_authtoken. [1]https://review.openstack.org/#/c/508522/ Co-Authored-By: confi-surya <singh.surya64mnnit@gmail.com> Change-Id: Ifd8527d404f1df807ae8196eac2b3849911ddc26 Closes-Bug: #1761907
40 lines
1.8 KiB
Django/Jinja
40 lines
1.8 KiB
Django/Jinja
#jinja2: trim_blocks: False
|
|
[DEFAULT]
|
|
log_dir = /var/log/kolla/panko
|
|
debug = {{ panko_logging_debug }}
|
|
|
|
# Force panko-api.log or will use app.wsgi
|
|
log_file = /var/log/kolla/panko/panko-api.log
|
|
|
|
|
|
[database]
|
|
{% if panko_database_type == "mongodb" %}
|
|
event_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
|
metering_connection = mongodb://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mongodb_address }}/{{ panko_database_name }}
|
|
{% elif panko_database_type == "mysql" %}
|
|
event_connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
|
metering_connection = mysql+pymysql://{{ panko_database_user }}:{{ panko_database_password }}@{{ panko_database_mysql_address }}/{{ panko_database_name }}
|
|
{% endif %}
|
|
|
|
[keystone_authtoken]
|
|
www_authenticate_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
|
project_domain_name = {{ default_project_domain_name }}
|
|
project_name = service
|
|
user_domain_name = {{ default_user_domain_name }}
|
|
username = {{ panko_keystone_user }}
|
|
password = {{ panko_keystone_password }}
|
|
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
{% if panko_policy_file is defined %}
|
|
[oslo_policy]
|
|
policy_file = {{ panko_policy_file }}
|
|
{% endif %}
|
|
|
|
[oslo_middleware]
|
|
enable_proxy_headers_parsing = True
|