Reviewed:  https://review.openstack.org/334742
Committed: 
https://git.openstack.org/cgit/openstack/keystone/commit/?id=ba1a07f2c386ec1db55933ea25b244aa230661e5
Submitter: Jenkins
Branch:    master

commit ba1a07f2c386ec1db55933ea25b244aa230661e5
Author: Steve Martinelli <s.martine...@gmail.com>
Date:   Mon Jun 27 22:59:34 2016 -0400

    Do not spam the log with uncritical stacktraces
    
    This change reduces the amount of stacktrace spam in the
    keystone logs due to authentication attempts with identifiers
    that point to non-existent objects (users, domains, projects).
    
    Closes-Bug #1595513
    Co-Authored-By: Rudolf Vriend <rudolf.vri...@sap.com>
    
    Change-Id: I4a8e572fe31ecda45de2e80425e22714fdd4403a


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
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):
  Fix Released

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to