diff options
author | Flavio Percoco <flaper87@gmail.com> | 2017-03-07 17:12:36 +0100 |
---|---|---|
committer | Bogdan Dobrelya <bdobreli@redhat.com> | 2017-05-05 12:30:17 +0200 |
commit | 58a8b282c2f244b2675a6da7aac161a53f58c288 (patch) | |
tree | c8bd16110e8ef42e3b3d25ee518a76a96f614c56 /puppet/services/network | |
parent | 840a5dd7713de5fde67bc76a7753657cca00e794 (diff) |
Mount hostpath logs on /var/log
Some containers are using the logs named volume for collecting logs
written to `/var/log`. We should make this consistent for all the
containers.
This patch also cleans up some mounts that weren't needed for some
services. For example, glance-api doesn't need `/run` to be mounted.
Other changes:
* Rework log volumes to hostpath mounts to omit slow COW writes.
* Add kolla_config's permission and host_prep_tasks create and
manage hostpath mounted log dirs permissions.
* Rework data owning init containers to kolla_config permissions
* When a step wants KOLLA_BOOTSTRAP or DB sync, use logs data owning
init containers to set permissions for logs. This is required
because kolla bootsrap and DB sync runs before the kolla config
stage and there is yet permissions set for logs.
* In order to address hybrid cases for host services vs containerized
ones to access logs having different UIDs, persist containerized
services' logs into separate directories (an upgrade impact)
* Ensure host prep tasks to create /var/log/containers/ and /var/lib/
sub-directories for services
* Fix missing /etc/httpd, /var/www config-data mounts for zaqar/ironic
* Fix YAML indentation and drop strings quotation.
Co-authored-by: Bogdan Dobrelya <bdobreli@redhat.com>
Partial blueprint containerized-services-logs
Change-Id: I53e737120bf0121bd28667f355b6f29f1b2a6b82
Diffstat (limited to 'puppet/services/network')
0 files changed, 0 insertions, 0 deletions