![Mark Goddard](/assets/img/avatar_default.png)
From Ussuri, if CA certificates are copied into /etc/kolla/certificates/ca/, these should be copied into all containers. This is not being done for masakari currently. Additionally, we are not setting the [DEFAULT] nova_ca_certificates_file option in masakari.conf. This depends on masakari bug 1873736 being fixed to work. This change fixes these issues. Change-Id: I9a3633f58e5eb734fa32edc03a3022a500761bbb Closes-Bug: #1888655
56 lines
1.9 KiB
Django/Jinja
56 lines
1.9 KiB
Django/Jinja
[DEFAULT]
|
|
debug = {{ masakari_logging_debug }}
|
|
log_dir = /var/log/kolla/masakari
|
|
masakari_api_listen = {{ api_interface_address }}
|
|
masakari_api_listen_port = {{ masakari_api_port }}
|
|
enabled_apis = masakari_api
|
|
state_path = /var/lib/masakari
|
|
transport_url = {{ rpc_transport_url }}
|
|
os_user_domain_name = {{ default_user_domain_id }}
|
|
os_project_domain_name = {{ default_project_domain_id }}
|
|
os_privileged_user_tenant = service
|
|
os_privileged_user_auth_url = {{ keystone_internal_url }}/v3
|
|
os_privileged_user_name = {{ nova_keystone_user }}
|
|
os_privileged_user_password = {{ nova_keystone_password }}
|
|
nova_ca_certificates_file = {{ openstack_cacert }}
|
|
|
|
[database]
|
|
connection = mysql+pymysql://{{ masakari_database_user }}:{{ masakari_database_password }}@{{ masakari_database_address }}/{{ masakari_database_name }}
|
|
max_retries = -1
|
|
|
|
[keystone_authtoken]
|
|
www_authenticate_uri = {{ keystone_internal_url }}/v3
|
|
auth_url = {{ keystone_admin_url }}
|
|
auth_type = password
|
|
project_domain_name = {{ default_project_domain_name }}
|
|
user_domain_name = {{ default_user_domain_name }}
|
|
project_name = service
|
|
username = {{ masakari_keystone_user }}
|
|
password = {{ masakari_keystone_password }}
|
|
service_token_roles_required = True
|
|
region_name = {{ openstack_region_name }}
|
|
cafile = {{ openstack_cacert }}
|
|
|
|
{% if enable_memcached | bool %}
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
memcached_servers = {% for host in groups['memcached'] %}{{ 'api' | kolla_address(host) | put_address_in_context('memcache') }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
{% endif %}
|
|
|
|
[oslo_messaging_notifications]
|
|
transport_url = {{ notify_transport_url }}
|
|
{% if enable_ceilometer | bool %}
|
|
driver = messagingv2
|
|
topics = notifications
|
|
{% else %}
|
|
driver = noop
|
|
{% endif %}
|
|
|
|
[oslo_middleware]
|
|
enable_proxy_headers_parsing = True
|
|
|
|
{% if masakari_policy_file is defined %}
|
|
[oslo_policy]
|
|
policy_file = {{ masakari_policy_file }}
|
|
{% endif %}
|