yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12184
[Bug 1297620] Re: keystone logrotate configuration causing service disruption
This looks like an downstream bug for RedHat? If so, I believe it should
be filed here: https://bugzilla.redhat.com/enter_bug.cgi?product=RDO
** Changed in: keystone
Status: New => Invalid
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1297620
Title:
keystone logrotate configuration causing service disruption
Status in OpenStack Identity (Keystone):
Invalid
Bug description:
Logrotate is configured to rotate the keystone logs every 24 hours.
The problem is that restart keystone is added after logrotate. This
causes a disruption in service.
/var/log/keystone/keystone.log {
daily
missingok
rotate 5
postrotate
restart keystone >/dev/null 2>&1 || true
endscript
compress
delaycompress
notifempty
}
Just removing the line "restart keystone >/dev/null 2>&1 || true"
fixes this problem. Moreover, logging also happens to keystone.log
itself rather than keystone.log.1 even when logrotate is triggered
after deleting the restart line.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1297620/+subscriptions
References