Browse Source

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
changes/34/697334/1
Michele Baldessari 2 months ago
parent
commit
0aaae842be
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      docker/services/neutron-api.yaml

+ 1
- 0
docker/services/neutron-api.yaml View File

@@ -190,6 +190,7 @@ outputs:
volumes:
list_concat:
- {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/config-data/puppet-generated/neutron/:/var/lib/kolla/config_files/src:ro

Loading…
Cancel
Save