[Bug 1803189] Re: Error during login 'bool' object is not callable

Corey Bryant corey.bryant at canonical.com
Sat May 4 19:40:03 UTC 2019


Hello Dilip,

Thank you for reporting this. I was unfortunately unable to reproduce
it. Are you still hitting this?

Thanks,
Corey

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1803189

Title:
  Error during login 'bool' object is not callable

Status in OpenStack Dashboard (Horizon):
  Incomplete
Status in horizon package in Ubuntu:
  Incomplete

Bug description:
  I have installed Openstack horizon rocky using ubuntu apt package
  manager. But as soon as i give my login credentials, i am hitting at
  this error.

  Environment:

  
  Request Method: GET
  Request URL: http://10.10.20.10:10443/auth/login/?next=/

  Django Version: 1.11.15
  Python Version: 2.7.15
  Installed Applications:
  ['openstack_dashboard.dashboards.project',
   'heat_dashboard',
   'openstack_dashboard.dashboards.admin',
   'openstack_dashboard.dashboards.identity',
   'openstack_dashboard.dashboards.settings',
   'openstack_dashboard',
   'django.contrib.contenttypes',
   'django.contrib.auth',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django.contrib.humanize',
   'django_pyscss',
   'openstack_dashboard.django_pyscss_fix',
   'compressor',
   'horizon',
   'openstack_auth']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.middleware.csrf.CsrfViewMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'horizon.middleware.OperationLogMiddleware',
   'django.contrib.messages.middleware.MessageMiddleware',
   'django.contrib.auth.middleware.SessionAuthenticationMiddleware',
   'horizon.middleware.HorizonMiddleware',
   'horizon.themes.ThemeMiddleware',
   'django.middleware.locale.LocaleMiddleware',
   'django.middleware.clickjacking.XFrameOptionsMiddleware',
   'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerClientMiddleware',
   'openstack_dashboard.contrib.developer.profiler.middleware.ProfilerMiddleware')


  Traceback:

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/exception.py" in inner
    41.             response = get_response(request)

  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in _legacy_get_response
    244.             response = middleware_method(request)

  File "/usr/share/openstack-dashboard/horizon/middleware/base.py" in process_request
    52.         if not hasattr(request, "user") or not request.user.is_authenticated():

  Exception Type: TypeError at /auth/login/
  Exception Value: 'bool' object is not callable


  Any idea about the error ?

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



More information about the Ubuntu-openstack-bugs mailing list