Merge "Masakari: copy TLS certificates into containers"
This commit is contained in:
commit
98f773d0be
@ -58,6 +58,10 @@
|
|||||||
notify:
|
notify:
|
||||||
- Restart {{ item.key }} container
|
- Restart {{ item.key }} container
|
||||||
|
|
||||||
|
- include_tasks: copy-certs.yml
|
||||||
|
when:
|
||||||
|
- kolla_copy_ca_into_containers | bool
|
||||||
|
|
||||||
- name: Copying over masakari.conf
|
- name: Copying over masakari.conf
|
||||||
vars:
|
vars:
|
||||||
service: "{{ item.key }}"
|
service: "{{ item.key }}"
|
||||||
|
6
ansible/roles/masakari/tasks/copy-certs.yml
Normal file
6
ansible/roles/masakari/tasks/copy-certs.yml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
- name: "Copy certificates and keys for {{ project_name }}"
|
||||||
|
import_role:
|
||||||
|
role: service-cert-copy
|
||||||
|
vars:
|
||||||
|
project_services: "{{ masakari_services }}"
|
@ -12,6 +12,7 @@ os_privileged_user_tenant = service
|
|||||||
os_privileged_user_auth_url = {{ keystone_internal_url }}/v3
|
os_privileged_user_auth_url = {{ keystone_internal_url }}/v3
|
||||||
os_privileged_user_name = {{ nova_keystone_user }}
|
os_privileged_user_name = {{ nova_keystone_user }}
|
||||||
os_privileged_user_password = {{ nova_keystone_password }}
|
os_privileged_user_password = {{ nova_keystone_password }}
|
||||||
|
nova_ca_certificates_file = {{ openstack_cacert }}
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
connection = mysql+pymysql://{{ masakari_database_user }}:{{ masakari_database_password }}@{{ masakari_database_address }}/{{ masakari_database_name }}
|
connection = mysql+pymysql://{{ masakari_database_user }}:{{ masakari_database_password }}@{{ masakari_database_address }}/{{ masakari_database_name }}
|
||||||
|
@ -0,0 +1,8 @@
|
|||||||
|
---
|
||||||
|
fixes:
|
||||||
|
- |
|
||||||
|
Fixes an issue with Masakari and internal TLS where CA certificates were
|
||||||
|
not copied into containers, and the path to the CA file was not configured.
|
||||||
|
Depends on `masakari bug 1873736
|
||||||
|
<https://bugs.launchpad.net/masakari/+bug/1873736>`__ being fixed.
|
||||||
|
`LP#1888655 <https://bugs.launchpad.net/kolla-ansible/+bug/1888655>`__
|
Loading…
x
Reference in New Issue
Block a user