← Back to team overview

openstack team mailing list archive

Re: horizon dashboard error 500

 

I'm getting this error:

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, webmaster@localhost and inform
them of the time the error occurred, and anything you might have done that
may have caused the error.

More information about this error may be available in the server error log.


and here is the apache error.log:


[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] mod_wsgi
(pid=4001): Exception occurred processing WSGI script
'/usr/share/openstack-dashboard/openstack_dashboard/wsgi/django.wsgi'.,
referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1] Traceback (most
recent call last):, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 241,
in __call__, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     response =
self.get_response(request), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 179,
in get_response, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     response =
self.handle_uncaught_exception(request, resolver, sys.exc_info()), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 228,
in handle_uncaught_exception, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
callback(request, **param_dict), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/utils/decorators.py", line 91, in
_wrapped_view, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     response =
view_func(request, *args, **kwargs), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/views/defaults.py", line 33, in
server_error, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
http.HttpResponseServerError(t.render(Context({}))), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self._render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self.nodelist.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     bit =
self.render_node(node, context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in
render_node, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
node.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
123, in render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
compiled_parent._render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self.nodelist.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     bit =
self.render_node(node, context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in
render_node, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
node.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
155, in render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self.render_template(self.template, context), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line
137, in render_template, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     output =
template.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self._render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in
_render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self.nodelist.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 823, in
render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     bit =
self.render_node(node, context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 837, in
render_node, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
node.render(context), referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py",
line 147, in render, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     return
self.render_compressed(context, self.kind, self.mode, forced=forced),
referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py",
line 88, in render_compressed, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     cached_offline
= self.render_offline(context, forced=forced), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]   File
"/usr/lib/python2.7/dist-packages/compressor/templatetags/compress.py",
line 72, in render_offline, referer: http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]     'You may need
to run "python manage.py compress".' % key), referer:
http://192.168.3.1/horizon
[Wed May 08 19:48:01 2013] [error] [client 192.168.3.1]
OfflineGenerationError: You have offline compression enabled but key
"3ddd89d27fa2e162d4efd30c103a072b" is missing from offline manifest. You
may need to run "python manage.py compress"., referer:
http://192.168.3.1/horizon

I made the upgrade from Folsom to Grizzly, maybe I'm missing something?

Regards.

Guilherme.


2013/5/8 Guilherme Russi <luisguilherme.cr@xxxxxxxxx>

> But where is the path that I can find this file?
>
>
> 2013/5/8 Gabriel Hurley <Gabriel.Hurley@xxxxxxxxxx>
>
>> There's something very wrong is "false" doesn't raise an exception. In
>> Python "False" is a Boolean value, "false" is a variable name which should
>> be undefined.
>>
>> That aside, you should set COMPRESS_OFFLINE=False in your
>> openstack_dashboard/local/local_settings.py file.
>>
>>     - Gabriel
>>
>> > -----Original Message-----
>> > From: Openstack [mailto:openstack-
>> > bounces+gabriel.hurley=nebula.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of
>> > Rajesh Upadhayay
>> > Sent: Friday, May 03, 2013 10:18 AM
>> > To: Julie Pichon
>> > Cc: openstack@xxxxxxxxxxxxxxxxxxx
>> > Subject: Re: [Openstack] horizon dashboard error 500
>> >
>> > This has issue has been fixed by changing False as false.
>> > COMPRESS_OFFLINE = false
>> >
>> > -----Original Message-----
>> > From: Julie Pichon [mailto:jpichon@xxxxxxxxxx]
>> > Sent: Friday, May 03, 2013 8:29 PM
>> > To: Rajesh Upadhayay
>> > Cc: openstack@xxxxxxxxxxxxxxxxxxx
>> > Subject: Re: [Openstack] horizon dashboard error 500
>> >
>> > Hi,
>> >
>> > "Rajesh Upadhayay" <rupadhayay@xxxxxxxxxxx> wrote:
>> > > I have just installed Openstack Grizzly on Ubuntu 12.04 LTS..
>> > > Everything was fine but after server reboot, I lost dashboard and
>> > > getting error 500 "Internal Server Error".
>> > >
>> > > I have verified all configuration but didn't get any idea.
>> >
>> > Have a look in the Apache error logs, there should be more information
>> > about the error.
>> >
>> > If this is a dev or test environment (not production), you could also
>> set
>> > DEBUG to True in your local_settings.py to display more information when
>> > the error occurs.
>> >
>> > Regards,
>> >
>> > Julie
>> > _______________________________________________
>> > Mailing list: https://launchpad.net/~openstack
>> > Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> > Unsubscribe : https://launchpad.net/~openstack
>> > More help   : https://help.launchpad.net/ListHelp
>>
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>

References