Ask Your Question
0

Dashboard error "ImproperlyConfigured"

asked 2011-10-25 16:59:48 -0500

Hello, I've got this error when I try run the dashboard:

Exception Type: ImproperlyConfigured Exception Value: Module "django_openstack.context_processors" does not define a "object_store" callable request processor

Here is the traceback: Environment:

Request Method: GET Request URL: http://0.0.0.0:8000/auth/login/?next=/dash/ (http://0.0.0.0:8000/auth/login/?next=...)

Django Version: 1.3 Python Version: 2.7.2 Installed Applications: ['dashboard', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'django_openstack', 'django_openstack.templatetags', 'mailer'] Installed Middleware: ('django.middleware.common.CommonMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.sessions.middleware.SessionMiddleware', 'django.contrib.messages.middleware.MessageMiddleware', 'django_openstack.middleware.keystone.AuthenticationMiddleware', 'django.middleware.doc.XViewMiddleware', 'django.middleware.locale.LocaleMiddleware', 'dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware')

Traceback: File "/opt/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/core/handlers/base.py" in get_response 111. response = callback(request, callback_args, *callback_kwargs) File "/opt/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django_openstack/auth/views.py" in login 130. }, context_instance=template.RequestContext(request)) File "/opt/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/template/context.py" in __init__ 176. for processor in get_standard_processors() + processors: File "/opt/horizon/openstack-dashboard/.dashboard-venv/local/lib/python2.7/site-packages/django/template/context.py" in get_standard_processors 158. raise ImproperlyConfigured('Module "%s" does not define a "%s" callable request processor' % (module, attr))

Exception Type: ImproperlyConfigured at /auth/login/ Exception Value: Module "django_openstack.context_processors" does not define a "object_store" callable request processor

regards,

edit retag flag offensive close merge delete

5 answers

Sort by ยป oldest newest most voted
0

answered 2011-10-25 18:16:29 -0500

gabriel-hurley gravatar image

That context processor was added/renamed in this commit to master: https://github.com/4P/horizon/commit/c597348d6db8366a3b4d3d181e80ae5eddc415dd (https://github.com/4P/horizon/commit/...)

It sounds like somehow you got the updated settings.py from the reference openstack_dashboard half of the codebase without getting the updated django_openstack module half of the codebase...

Can you look in openstack-dashboard/django-openstack/django_openstack/context_processors.py and see if your code there includes the updates "object_store" processor?

This also may be a PYTHONPATH problem.

Debugging any further would require knowing how you installed openstack, dashboard, etc.

All the best,

- Gabriel
edit flag offensive delete link more
0

answered 2011-10-25 18:25:23 -0500

Thanks Gabriel. I've solved the problem. It was a version incompatibilities.

Best regards Em 25-10-2011 15:20, Gabriel Hurley escreveu:

Your question #176186 on OpenStack Dashboard (Horizon) changed: https://answers.launchpad.net/horizon/+question/176186 (https://answers.launchpad.net/horizon...)

Gabriel Hurley posted a new comment: That context processor was added/renamed in this commit to master: https://github.com/4P/horizon/commit/c597348d6db8366a3b4d3d181e80ae5eddc415dd (https://github.com/4P/horizon/commit/...)

It sounds like somehow you got the updated settings.py from the reference openstack_dashboard half of the codebase without getting the updated django_openstack module half of the codebase...

Can you look in openstack-dashboard/django- openstack/django_openstack/context_processors.py and see if your code there includes the updates "object_store" processor?

This also may be a PYTHONPATH problem.

Debugging any further would require knowing how you installed openstack, dashboard, etc.

All the best,

 - Gabriel
edit flag offensive delete link more
0

answered 2011-10-27 20:28:51 -0500

Looks like Gabriel solved this one for you.

edit flag offensive delete link more
0

answered 2011-10-28 16:47:39 -0500

Thanks Devin Carlen, that solved my question.

edit flag offensive delete link more
0

answered 2011-10-28 16:55:43 -0500

Ops! Sorry gabriel! I`ve put devin like the solver of this question. How do I pass the 'solved by' to your name?

Thanks!

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-10-25 16:59:48 -0500

Seen: 83 times

Last updated: Oct 28 '11