yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #52699
[Bug 1595513] [NEW] keystone spamming logs with stacktraces for non critical errors
Public bug reported:
Several api's dump errors with full stack traces into the logs, although
it usually is perfectly OK that someone issues a api-request for an
object that does not exist.
This log spam makes it hard to filter between real issues and simple
'record not found' situations..
Some examples:
https://github.com/openstack/keystone/blob/master/keystone/auth/controllers.py#L193
https://github.com/openstack/keystone/blob/master/keystone/auth/controllers.py#L457
https://github.com/openstack/keystone/blob/master/keystone/auth/plugins/core.py#L150
https://github.com/openstack/keystone/blob/master/keystone/auth/plugins/core.py#L180
Suggest to use LOG.error with some meaningful error message instead.
** Affects: keystone
Importance: Undecided
Assignee: Rudolf Vriend (rudolf-vriend)
Status: New
** Changed in: keystone
Assignee: (unassigned) => Rudolf Vriend (rudolf-vriend)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1595513
Title:
keystone spamming logs with stacktraces for non critical errors
Status in OpenStack Identity (keystone):
New
Bug description:
Several api's dump errors with full stack traces into the logs,
although it usually is perfectly OK that someone issues a api-request
for an object that does not exist.
This log spam makes it hard to filter between real issues and simple
'record not found' situations..
Some examples:
https://github.com/openstack/keystone/blob/master/keystone/auth/controllers.py#L193
https://github.com/openstack/keystone/blob/master/keystone/auth/controllers.py#L457
https://github.com/openstack/keystone/blob/master/keystone/auth/plugins/core.py#L150
https://github.com/openstack/keystone/blob/master/keystone/auth/plugins/core.py#L180
Suggest to use LOG.error with some meaningful error message instead.
To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1595513/+subscriptions
Follow ups