cinder_api: Export /var/log/httpd on the host

/var/log/httpd/cinder_wsgi_*.log inside the container are
not exported on the host:

This is because it only bind mounts the cinder logs and not the httpd
folder:

  { "Type": "bind", "Source": "/var/log/containers/cinder", "Destination": "/var/log/cinder", "Driver": "", "Mode": "", "Options": [ "rbind" ], "RW": true, "Propagation": "rprivate" },

Let's do the same as cinder_api_cron which does export them

Closes-Bug: #1940127
Change-Id: I1367fadb75d864dab39481500fdaa1173701cb42
This commit is contained in:
Michele Baldessari 2021-08-16 18:45:13 +02:00
parent d9026567f8
commit c73ecb196c

View File

@ -321,6 +321,7 @@ outputs:
- - /var/lib/kolla/config_files/cinder_api.json:/var/lib/kolla/config_files/config.json:ro
- /var/lib/config-data/puppet-generated/cinder:/var/lib/kolla/config_files/src:ro
- /var/log/containers/cinder:/var/log/cinder:z
- /var/log/containers/httpd/cinder-api:/var/log/httpd:z
- if:
- {get_param: EnableInternalTLS}
- - /etc/pki/tls/certs/httpd:/etc/pki/tls/certs/httpd:ro