Containerize Logrotate with cron

Bug #1706354 reported by Bogdan Dobrelya
6
This bug affects 1 person
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://bugs.launchpad.net/bugs/1700912

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.

Tags: containers
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
Revision history for this message
Bogdan Dobrelya (bogdando) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.