Bug 1578854 - Enable configuring journald to purge logs based on time
Summary: Enable configuring journald to purge logs based on time
Keywords:
Status: CLOSED DUPLICATE of bug 1578731
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rhosp-director
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ga
: ---
Assignee: RHOS Maint
QA Contact: Amit Ugol
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-05-16 13:46 UTC by Juan Antonio Osorio
Modified: 2018-05-17 14:13 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-17 14:13:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1771573 0 None None None 2018-05-16 13:48:36 UTC

Description Juan Antonio Osorio 2018-05-16 13:46:39 UTC
Description of problem:

Our current journald configuration in OSP Director is using the defaults, which handles rotation based off of log size and number of rotated logs.  For things such as GDPR, we need to be able to define the retention based on age as the logs may contain personally identifiable information that needs to be deleted on demand (within a window of time).  Ideally, we would only retain logs for <1M (2 weeks might be appropriate), with the option to configure the policy differently via Director.

This would be done by setting the MaxRetentionSec option in journald.conf

Comment 2 Alex Schultz 2018-05-17 14:13:59 UTC

*** This bug has been marked as a duplicate of bug 1578731 ***


Note You need to log in before you can comment on or make changes to this bug.