Error during login 'bool' object is not callable

Bug #1803189 reported by Dilip Renkila
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
horizon (Ubuntu)
Expired
Undecided
Unassigned

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 ?

Revision history for this message
Akihiro Motoki (amotoki) wrote :

This report is about ubuntu package, so I added it to the affected project.

As upstream horizon, I could not reproduce this... so I mark it as Incomplete.

Changed in horizon:
status: New → Incomplete
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Dilip,

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

Thanks,
Corey

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Marking as incomplete now, but if this is still an issue please feel free to move back to New.

Changed in horizon (Ubuntu):
status: New → Incomplete
Revision history for this message
Akihiro Motoki (amotoki) wrote :

Launchpad does not expire a bug if the bug is associated with multiple projects, so (as horizon upstream) I am removing 'horizon' from the affected projects. If this can be reproduced, please re-add 'horizon'.

no longer affects: horizon
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for horizon (Ubuntu) because there has been no activity for 60 days.]

Changed in horizon (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.