Bug 1328187

Summary: journalctl generates an excess amount of logs
Product: Red Hat OpenStack Reporter: Udi Kalifon <ukalifon>
Component: rhosp-directorAssignee: Angus Thomas <athomas>
Status: CLOSED WONTFIX QA Contact: Arik Chernetsky <achernet>
Severity: medium Docs Contact:
Priority: medium    
Version: 8.0 (Liberty)CC: aschultz, bnemec, dbecker, jschluet, mburns, morazi, rhel-osp-director-maint
Target Milestone: ---Keywords: Triaged
Target Release: 8.0 (Liberty)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-12 14:32:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Udi Kalifon 2016-04-18 15:47:44 UTC
Description of problem:
My instack machine ran out of disk space. I wanted to clean up under /var/logs and saw that the journal directory already grew to 3GB size. The machine was up for only 1 day. This was a 7.3 install which was upgraded to 8.0, but I also checked on a bare metal machine with a clean 8.0 install and the journal directory there was on 4GB as well.


How reproducible:
100%


Steps to Reproduce:
1. Install an undercloud and deploy an overcloud.
2. Run 'sudo du /var/log -h' to see how much space each sub-directory is taking there


Actual results:
/var/log/journal is huge


Expected results:
More reasonable logging

Comment 3 Alex Schultz 2018-03-12 14:32:55 UTC
This can be tuned in systemd if necessary, but we won't fix this as part of the Director Deployment configuration.