Red Hat Bugzilla – Bug 1271816
keystone logrotate configuration should use size configuration
Last modified: 2017-02-24 13:44:41 EST
The keystone logrotate configuration should use a "size" configuration in /etc/logrotate.d/openstack-keystone instead of the "weekly" configuration. Without the size config, the logs can grow quite big, and are only rotated once per week.
We're getting osp-director bug reports (bug 1267957) of /var/log/keystone growing to over 1GB in size.
Note that heat and nova are both configured with configured with:
Created attachment 1140320 [details]
proposed openstack-keystone.logrotate file
Please confirm that this is the desired values for openstack-keystone.logrotate
Please confirm that the attached file represents what should be in the logrotate configuration.
How do we want to proceed with this issue?
(In reply to Adam Young from comment #3)
> Please confirm that the attached file represents what should be in the
> logrotate configuration.
it's up to the keystone team to determine the correct logrotate configuration for keystone
Fixed in at least Ocata. My pre-OSP11-based undercloud config includes the proposed size: