← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1454968] Re: hard to understand the uri printed in the log

 

** Changed in: keystone/juno
       Status: In Progress => Won't Fix

-- 
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/1454968

Title:
  hard to understand the uri printed in the log

Status in OpenStack Identity (keystone):
  Fix Released
Status in OpenStack Identity (keystone) juno series:
  Won't Fix
Status in OpenStack Identity (keystone) kilo series:
  Fix Released

Bug description:
  In keystone's log file, we can easily find some uri printed like this:
  http://127.0.0.1:35357/v3/auth/tokens/auth/tokens/auth/tokens/auth/tokens/auth/tokens/auth/tokens/auth/tokens/auth/tokens/auth/tokens

  seems there is something wrong when we are trying to log the uri in the log file.
          LOG.info('%(req_method)s %(uri)s', {
              'req_method': req.environ['REQUEST_METHOD'].upper(),
              'uri': wsgiref.util.request_uri(req.environ),
          })

  code is here:
  https://github.com/openstack/keystone/blob/0debc2fbf448b44574da6f3fef7d457037c59072/keystone/common/wsgi.py#L232
  but seems it has already been wrong when the req is passed in.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1454968/+subscriptions


References