Fix neutron api TLS logging

This is a partial cherry pick (logging part) of
Ia1c22b8981fb735a052707516f73313c4e5ca93c
Closes-Bug: #1852779

Namely it is the second part of the commit only:
B) The logging in the neutron_server_tls_proxy container is not persisted to the host

Before:
[root@controller-0 ~]# ls -l /var/log/containers/httpd/neutron-api/
[root@controller-0 ~]#

After:
[root@controller-0 ~]# ls -l /var/log/containers/httpd/neutron-api/
total 136
-rw-r--r--. 1 root root   400 Nov 15 17:43 error_log
-rw-r--r--. 1 root root 72784 Nov 15 17:53 neutron-api-proxy_access_ssl.log
-rw-r--r--. 1 root root  2748 Nov 15 17:43 neutron-api-proxy_error_ssl.log
[root@controller-0 ~]#

We backport only the logging bit because this needs to be fixed all the
way to queens which did not have the ovn-tls work from Kamil.
(I should have split this neutron api TLS fixes in two commits in the
first place, but it's too late for that)

(cherry-picked from 0aecbc7723)
Change-Id: Id9b9a15d40467507bdeace56be55b63a6298b560
(cherry picked from commit 0aaae842be)
This commit is contained in:
Michele Baldessari 2019-12-04 18:51:43 +01:00
parent bc0bd3f151
commit 3c1f10d331
1 changed files with 1 additions and 0 deletions

View File

@ -178,6 +178,7 @@ outputs:
volumes: volumes:
list_concat: list_concat:
- {get_attr: [ContainersCommon, volumes]} - {get_attr: [ContainersCommon, volumes]}
- {get_attr: [NeutronLogging, volumes]}
- -
- /var/lib/kolla/config_files/neutron_server_tls_proxy.json:/var/lib/kolla/config_files/config.json:ro - /var/lib/kolla/config_files/neutron_server_tls_proxy.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro - /var/lib/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro