yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #12180
[Bug 1297620] [NEW] keystone logrotate configuration causing service disruption
Public bug reported:
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.
** Affects: keystone
Importance: Undecided
Status: New
--
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):
New
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
Follow ups
References