yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #36781
[Bug 1483955] [NEW] Horizon homepage shows internal server error
Public bug reported:
I created a devstack today having Sahara installed. And when I login, Horizon report a 500 internal server error as below:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at [no address given] to inform
them of the time this error occurred, and the actions you performed just
before this error.
More information about this error may be available in the server error
log.
--------------------------------------------------------------------------------
Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80
I checked the horizon_error.log and it showed:
2015-08-12 03:25:56.402471 Internal Server Error: /admin/
2015-08-12 03:25:56.402502 Traceback (most recent call last):
2015-08-12 03:25:56.402507 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 137, in get_response
2015-08-12 03:25:56.402511 response = response.render()
2015-08-12 03:25:56.402515 File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 103, in render
2015-08-12 03:25:56.402518 self.content = self.rendered_content
2015-08-12 03:25:56.402522 File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 80, in rendered_content
2015-08-12 03:25:56.402527 content = template.render(context)
2015-08-12 03:25:56.402531 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.402535 return self._render(context)
2015-08-12 03:25:56.402538 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402542 return self.nodelist.render(context)
2015-08-12 03:25:56.402546 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402549 bit = self.render_node(node, context)
2015-08-12 03:25:56.402553 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402556 return node.render(context)
2015-08-12 03:25:56.402559 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 126, in render
2015-08-12 03:25:56.402563 return compiled_parent._render(context)
2015-08-12 03:25:56.402566 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402570 return self.nodelist.render(context)
2015-08-12 03:25:56.402573 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402577 bit = self.render_node(node, context)
2015-08-12 03:25:56.402580 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402583 return node.render(context)
2015-08-12 03:25:56.402587 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 65, in render
2015-08-12 03:25:56.402590 result = block.nodelist.render(context)
2015-08-12 03:25:56.402593 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402597 bit = self.render_node(node, context)
2015-08-12 03:25:56.402600 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402604 return node.render(context)
2015-08-12 03:25:56.402607 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 65, in render
2015-08-12 03:25:56.402628 result = block.nodelist.render(context)
2015-08-12 03:25:56.402632 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402636 bit = self.render_node(node, context)
2015-08-12 03:25:56.402639 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402643 return node.render(context)
2015-08-12 03:25:56.402646 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 150, in render
2015-08-12 03:25:56.402650 return template.render(context)
2015-08-12 03:25:56.402653 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.402656 return self._render(context)
2015-08-12 03:25:56.402660 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402663 return self.nodelist.render(context)
2015-08-12 03:25:56.402666 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402670 bit = self.render_node(node, context)
2015-08-12 03:25:56.402673 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402676 return node.render(context)
2015-08-12 03:25:56.402680 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1207, in render
2015-08-12 03:25:56.402683 _dict = func(*resolved_args, **resolved_kwargs)
2015-08-12 03:25:56.402687 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/templatetags/horizon.py", line 56, in horizon_nav
2015-08-12 03:25:56.402690 panel_groups = dash.get_panel_groups()
2015-08-12 03:25:56.402694 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 482, in get_panel_groups
2015-08-12 03:25:56.402697 registered.pop(panel.__class__)
2015-08-12 03:25:56.402701 KeyError: <class 'openstack_dashboard.contrib.sahara.content.data_processing.wizard.panel.WizardPanel'>
2015-08-12 03:25:56.604149 mod_wsgi (pid=28641): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi'.
2015-08-12 03:25:56.604194 Traceback (most recent call last):
2015-08-12 03:25:56.604212 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
2015-08-12 03:25:56.604343 response = self.get_response(request)
2015-08-12 03:25:56.604361 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 199, in get_response
2015-08-12 03:25:56.604389 response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2015-08-12 03:25:56.604399 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 236, in handle_uncaught_exception
2015-08-12 03:25:56.604414 return debug.technical_500_response(request, *exc_info)
2015-08-12 03:25:56.604426 File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 91, in technical_500_response
2015-08-12 03:25:56.604702 html = reporter.get_traceback_html()
2015-08-12 03:25:56.604718 File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 350, in get_traceback_html
2015-08-12 03:25:56.604736 return t.render(c)
2015-08-12 03:25:56.604746 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.604761 return self._render(context)
2015-08-12 03:25:56.604770 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.604783 return self.nodelist.render(context)
2015-08-12 03:25:56.604792 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.604806 bit = self.render_node(node, context)
2015-08-12 03:25:56.604823 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.604839 return node.render(context)
2015-08-12 03:25:56.604860 File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 312, in render
2015-08-12 03:25:56.605171 return nodelist.render(context)
2015-08-12 03:25:56.605191 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.605208 bit = self.render_node(node, context)
2015-08-12 03:25:56.605218 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.605233 return node.render(context)
2015-08-12 03:25:56.605242 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 93, in render
2015-08-12 03:25:56.605255 output = force_text(output)
2015-08-12 03:25:56.605268 File "/usr/local/lib/python2.7/dist-packages/django/utils/encoding.py", line 85, in force_text
2015-08-12 03:25:56.605370 s = six.text_type(s)
2015-08-12 03:25:56.605393 TypeError: coercing to Unicode: need string or buffer, __proxy__ found
I guess it is like a unicode encoding issue.
** 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/1483955
Title:
Horizon homepage shows internal server error
Status in OpenStack Dashboard (Horizon):
New
Bug description:
I created a devstack today having Sahara installed. And when I login, Horizon report a 500 internal server error as below:
Internal Server Error
The server encountered an internal error or misconfiguration and was
unable to complete your request.
Please contact the server administrator at [no address given] to
inform them of the time this error occurred, and the actions you
performed just before this error.
More information about this error may be available in the server error
log.
--------------------------------------------------------------------------------
Apache/2.4.7 (Ubuntu) Server at 127.0.0.1 Port 80
I checked the horizon_error.log and it showed:
2015-08-12 03:25:56.402471 Internal Server Error: /admin/
2015-08-12 03:25:56.402502 Traceback (most recent call last):
2015-08-12 03:25:56.402507 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 137, in get_response
2015-08-12 03:25:56.402511 response = response.render()
2015-08-12 03:25:56.402515 File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 103, in render
2015-08-12 03:25:56.402518 self.content = self.rendered_content
2015-08-12 03:25:56.402522 File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 80, in rendered_content
2015-08-12 03:25:56.402527 content = template.render(context)
2015-08-12 03:25:56.402531 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.402535 return self._render(context)
2015-08-12 03:25:56.402538 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402542 return self.nodelist.render(context)
2015-08-12 03:25:56.402546 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402549 bit = self.render_node(node, context)
2015-08-12 03:25:56.402553 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402556 return node.render(context)
2015-08-12 03:25:56.402559 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 126, in render
2015-08-12 03:25:56.402563 return compiled_parent._render(context)
2015-08-12 03:25:56.402566 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402570 return self.nodelist.render(context)
2015-08-12 03:25:56.402573 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402577 bit = self.render_node(node, context)
2015-08-12 03:25:56.402580 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402583 return node.render(context)
2015-08-12 03:25:56.402587 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 65, in render
2015-08-12 03:25:56.402590 result = block.nodelist.render(context)
2015-08-12 03:25:56.402593 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402597 bit = self.render_node(node, context)
2015-08-12 03:25:56.402600 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402604 return node.render(context)
2015-08-12 03:25:56.402607 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 65, in render
2015-08-12 03:25:56.402628 result = block.nodelist.render(context)
2015-08-12 03:25:56.402632 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402636 bit = self.render_node(node, context)
2015-08-12 03:25:56.402639 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402643 return node.render(context)
2015-08-12 03:25:56.402646 File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 150, in render
2015-08-12 03:25:56.402650 return template.render(context)
2015-08-12 03:25:56.402653 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.402656 return self._render(context)
2015-08-12 03:25:56.402660 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.402663 return self.nodelist.render(context)
2015-08-12 03:25:56.402666 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.402670 bit = self.render_node(node, context)
2015-08-12 03:25:56.402673 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.402676 return node.render(context)
2015-08-12 03:25:56.402680 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1207, in render
2015-08-12 03:25:56.402683 _dict = func(*resolved_args, **resolved_kwargs)
2015-08-12 03:25:56.402687 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/templatetags/horizon.py", line 56, in horizon_nav
2015-08-12 03:25:56.402690 panel_groups = dash.get_panel_groups()
2015-08-12 03:25:56.402694 File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 482, in get_panel_groups
2015-08-12 03:25:56.402697 registered.pop(panel.__class__)
2015-08-12 03:25:56.402701 KeyError: <class 'openstack_dashboard.contrib.sahara.content.data_processing.wizard.panel.WizardPanel'>
2015-08-12 03:25:56.604149 mod_wsgi (pid=28641): Exception occurred processing WSGI script '/opt/stack/horizon/openstack_dashboard/wsgi/django.wsgi'.
2015-08-12 03:25:56.604194 Traceback (most recent call last):
2015-08-12 03:25:56.604212 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 187, in __call__
2015-08-12 03:25:56.604343 response = self.get_response(request)
2015-08-12 03:25:56.604361 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 199, in get_response
2015-08-12 03:25:56.604389 response = self.handle_uncaught_exception(request, resolver, sys.exc_info())
2015-08-12 03:25:56.604399 File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 236, in handle_uncaught_exception
2015-08-12 03:25:56.604414 return debug.technical_500_response(request, *exc_info)
2015-08-12 03:25:56.604426 File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 91, in technical_500_response
2015-08-12 03:25:56.604702 html = reporter.get_traceback_html()
2015-08-12 03:25:56.604718 File "/usr/local/lib/python2.7/dist-packages/django/views/debug.py", line 350, in get_traceback_html
2015-08-12 03:25:56.604736 return t.render(c)
2015-08-12 03:25:56.604746 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 148, in render
2015-08-12 03:25:56.604761 return self._render(context)
2015-08-12 03:25:56.604770 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 142, in _render
2015-08-12 03:25:56.604783 return self.nodelist.render(context)
2015-08-12 03:25:56.604792 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.604806 bit = self.render_node(node, context)
2015-08-12 03:25:56.604823 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.604839 return node.render(context)
2015-08-12 03:25:56.604860 File "/usr/local/lib/python2.7/dist-packages/django/template/defaulttags.py", line 312, in render
2015-08-12 03:25:56.605171 return nodelist.render(context)
2015-08-12 03:25:56.605191 File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 844, in render
2015-08-12 03:25:56.605208 bit = self.render_node(node, context)
2015-08-12 03:25:56.605218 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 80, in render_node
2015-08-12 03:25:56.605233 return node.render(context)
2015-08-12 03:25:56.605242 File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 93, in render
2015-08-12 03:25:56.605255 output = force_text(output)
2015-08-12 03:25:56.605268 File "/usr/local/lib/python2.7/dist-packages/django/utils/encoding.py", line 85, in force_text
2015-08-12 03:25:56.605370 s = six.text_type(s)
2015-08-12 03:25:56.605393 TypeError: coercing to Unicode: need string or buffer, __proxy__ found
I guess it is like a unicode encoding issue.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1483955/+subscriptions
Follow ups