← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1800948] [NEW] ERROR django.request Internal Server Error: /horizon

 

Public bug reported:

When I try log into openstack horizon, i see the below error in the
apache2 error logs, and the following message in the browser "Something
went wrong! An unexpected error has occurred. Try refreshing the page.
If that doesn't help, contact your local administrator."


tail -f /var/log/apache2/error.log
[Wed Oct 31 22:34:05.165720 2018] [wsgi:error] [pid 32328:tid 139659763197696] [remote ::1:36776] INFO openstack_auth.forms Login successful for user "admin" using domain "Default", remote address ::1.
[Wed Oct 31 22:34:05.855084 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] ERROR django.request Internal Server Error: /horizon/
[Wed Oct 31 22:34:05.855137 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] Traceback (most recent call last):
[Wed Oct 31 22:34:05.855152 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner
[Wed Oct 31 22:34:05.855166 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     response = get_response(request)
[Wed Oct 31 22:34:05.855178 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 244, in _legacy_get_response
[Wed Oct 31 22:34:05.855191 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     response = middleware_method(request)
[Wed Oct 31 22:34:05.855203 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/share/openstack-dashboard/horizon/middleware/base.py", line 52, in process_request
[Wed Oct 31 22:34:05.855215 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     if not hasattr(request, "user") or not request.user.is_authenticated():
[Wed Oct 31 22:34:05.855227 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] TypeError: 'bool' object is not callable

Openstack version: Queens

Any suggestions to resolve it? Thanks in advance for your help

** 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/1800948

Title:
  ERROR django.request Internal Server Error: /horizon

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  When I try log into openstack horizon, i see the below error in the
  apache2 error logs, and the following message in the browser
  "Something went wrong! An unexpected error has occurred. Try
  refreshing the page. If that doesn't help, contact your local
  administrator."

  
  tail -f /var/log/apache2/error.log
  [Wed Oct 31 22:34:05.165720 2018] [wsgi:error] [pid 32328:tid 139659763197696] [remote ::1:36776] INFO openstack_auth.forms Login successful for user "admin" using domain "Default", remote address ::1.
  [Wed Oct 31 22:34:05.855084 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] ERROR django.request Internal Server Error: /horizon/
  [Wed Oct 31 22:34:05.855137 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] Traceback (most recent call last):
  [Wed Oct 31 22:34:05.855152 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/exception.py", line 41, in inner
  [Wed Oct 31 22:34:05.855166 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     response = get_response(request)
  [Wed Oct 31 22:34:05.855178 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 244, in _legacy_get_response
  [Wed Oct 31 22:34:05.855191 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     response = middleware_method(request)
  [Wed Oct 31 22:34:05.855203 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]   File "/usr/share/openstack-dashboard/horizon/middleware/base.py", line 52, in process_request
  [Wed Oct 31 22:34:05.855215 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776]     if not hasattr(request, "user") or not request.user.is_authenticated():
  [Wed Oct 31 22:34:05.855227 2018] [wsgi:error] [pid 32329:tid 139659712841472] [remote ::1:36776] TypeError: 'bool' object is not callable

  Openstack version: Queens

  Any suggestions to resolve it? Thanks in advance for your help

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


Follow ups