← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1688540] [NEW] When operation log enabled, logout returns "something went wrong"

 

Public bug reported:

When operation log enabled, logout returns "something went wrong" with
the following stacktrace:

2017-05-05 14:25:11,882 16560 ERROR django.request Internal Server Error: /auth/logout/
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
    response = middleware_method(request, response)
  File "/usr/lib/python2.7/site-packages/horizon/middleware/operation_log.py", line 78, in process_response
    log_format = self._get_log_format(request)
  File "/usr/lib/python2.7/site-packages/horizon/middleware/operation_log.py", line 113, in _get_log_format
    request.user.is_authenticated()):
AttributeError: 'NoneType' object has no attribute 'is_authenticated'

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1688540

Title:
  When operation log enabled, logout returns "something went wrong"

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When operation log enabled, logout returns "something went wrong" with
  the following stacktrace:

  2017-05-05 14:25:11,882 16560 ERROR django.request Internal Server Error: /auth/logout/
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 223, in get_response
      response = middleware_method(request, response)
    File "/usr/lib/python2.7/site-packages/horizon/middleware/operation_log.py", line 78, in process_response
      log_format = self._get_log_format(request)
    File "/usr/lib/python2.7/site-packages/horizon/middleware/operation_log.py", line 113, in _get_log_format
      request.user.is_authenticated()):
  AttributeError: 'NoneType' object has no attribute 'is_authenticated'

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


Follow ups