Comment 16 for bug 1771543

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/queens)

Reviewed: https://review.openstack.org/569806
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=f814414eda89c69c61cd48449326519be8a6bf16
Submitter: Zuul
Branch: stable/queens

commit f814414eda89c69c61cd48449326519be8a6bf16
Author: Bogdan Dobrelya <email address hidden>
Date: Thu May 17 12:53:03 2018 +0200

    Force GDPR compliance of containers logs

    After purge_after_days, defaults to a 14, forcibly remove
    any rotated and compressed logs of containerized services
    in /var/log/containers. This overrides any related
    containerized logrotate configuration used for
    containerized services.

    Allow to alter rotation interval for log files managed
    via containerized logrotate. Defaults to 'daily'
    and rotate 14 (days).

    Use sharedscripts to clean up files in the postrotate
    script only once.

    Additionally, to enforce GDPR compliance of log files
    in /var/log/containers, put them under logrotate management
    (minsize 1) and always compress. Prohibit the size option
    as it does not honor time-based contstraints required by
    GDPR. Forcibly remove all files but those rotated and
    compressed logs, via the postscript section.

    Partial-bug: #1771543

    Change-Id: Id8e4717a5ecda53bc9cd39f1c2efaa80b56bd45e
    Signed-off-by: Bogdan Dobrelya <email address hidden>
    (cherry picked from commit e13654504adb93f7313942b4d839577d3ccd072d)