Containerize Logrotate with cron
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Triaged
|
High
|
Bogdan Dobrelya |
Bug Description
This is a dependency for the containerized services logs rotation issue https:/
A logrotate config for /var/log/containers should be configured with a tripleo docker service template for logrotate, based on the Kolla cron container image. Alternatively, but not necessary, It should be managing generic logrotation jobs for the host as well.
We have no better option to ship that logrotation config, plus the lsof package dependency, as the tripleo-common package is only installed for containers, not for hosts. And installing it for hosts defeats the very purpose of containerization.
Crond should be running in the logrotate container, like nova-api docker services does. Alternatively, but not necessary, it can be managing the entire host as well. This would require to shutdown cron/logrotate at the host OS as the host prep steps and delegate those functions to a containerized service.
Changed in tripleo: | |
importance: | Undecided → High |
milestone: | none → pike-3 |
assignee: | nobody → Bogdan Dobrelya (bogdando) |
status: | New → Triaged |
tags: | added: containers |
description: | updated |
Changed in tripleo: | |
milestone: | pike-3 → pike-rc1 |
Related bug https:/ /bugs.launchpad .net/tripleo/ +bug/1701254