Dashboard with slug "sahara" is not registered

Bug #1362325 reported by Matt Riedemann
22
This bug affects 5 people
Affects Status Importance Assigned to Milestone
devstack
Fix Released
Undecided
Sergey Lukjanov

Bug Description

Saw this in a nova patch going through the check queue:

http://logs.openstack.org/03/103703/5/check/check-tempest-dsvm-full/525cfaf/logs/horizon_error.txt.gz

[Wed Aug 27 18:07:56.251879 2014] [:error] [pid 20373:tid 140464345409280] Internal Server Error: /project/
[Wed Aug 27 18:07:56.251917 2014] [:error] [pid 20373:tid 140464345409280] Traceback (most recent call last):
[Wed Aug 27 18:07:56.251924 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 137, in get_response
[Wed Aug 27 18:07:56.251929 2014] [:error] [pid 20373:tid 140464345409280] response = response.render()
[Wed Aug 27 18:07:56.251934 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 105, in render
[Wed Aug 27 18:07:56.251940 2014] [:error] [pid 20373:tid 140464345409280] self.content = self.rendered_content
[Wed Aug 27 18:07:56.251945 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/response.py", line 82, in rendered_content
[Wed Aug 27 18:07:56.251950 2014] [:error] [pid 20373:tid 140464345409280] content = template.render(context)
[Wed Aug 27 18:07:56.251955 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Wed Aug 27 18:07:56.251960 2014] [:error] [pid 20373:tid 140464345409280] return self._render(context)
[Wed Aug 27 18:07:56.251965 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Wed Aug 27 18:07:56.251970 2014] [:error] [pid 20373:tid 140464345409280] return self.nodelist.render(context)
[Wed Aug 27 18:07:56.251974 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Wed Aug 27 18:07:56.251979 2014] [:error] [pid 20373:tid 140464345409280] bit = self.render_node(node, context)
[Wed Aug 27 18:07:56.251984 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Wed Aug 27 18:07:56.251989 2014] [:error] [pid 20373:tid 140464345409280] return node.render(context)
[Wed Aug 27 18:07:56.251994 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 123, in render
[Wed Aug 27 18:07:56.251999 2014] [:error] [pid 20373:tid 140464345409280] return compiled_parent._render(context)
[Wed Aug 27 18:07:56.252003 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Wed Aug 27 18:07:56.252009 2014] [:error] [pid 20373:tid 140464345409280] return self.nodelist.render(context)
[Wed Aug 27 18:07:56.252013 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Wed Aug 27 18:07:56.252018 2014] [:error] [pid 20373:tid 140464345409280] bit = self.render_node(node, context)
[Wed Aug 27 18:07:56.252023 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Wed Aug 27 18:07:56.252028 2014] [:error] [pid 20373:tid 140464345409280] return node.render(context)
[Wed Aug 27 18:07:56.252032 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render
[Wed Aug 27 18:07:56.252037 2014] [:error] [pid 20373:tid 140464345409280] result = block.nodelist.render(context)
[Wed Aug 27 18:07:56.252042 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Wed Aug 27 18:07:56.252047 2014] [:error] [pid 20373:tid 140464345409280] bit = self.render_node(node, context)
[Wed Aug 27 18:07:56.252053 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Wed Aug 27 18:07:56.252065 2014] [:error] [pid 20373:tid 140464345409280] return node.render(context)
[Wed Aug 27 18:07:56.252070 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 62, in render
[Wed Aug 27 18:07:56.252076 2014] [:error] [pid 20373:tid 140464345409280] result = block.nodelist.render(context)
[Wed Aug 27 18:07:56.252081 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Wed Aug 27 18:07:56.252086 2014] [:error] [pid 20373:tid 140464345409280] bit = self.render_node(node, context)
[Wed Aug 27 18:07:56.252091 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Wed Aug 27 18:07:56.252095 2014] [:error] [pid 20373:tid 140464345409280] return node.render(context)
[Wed Aug 27 18:07:56.252100 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 155, in render
[Wed Aug 27 18:07:56.252106 2014] [:error] [pid 20373:tid 140464345409280] return self.render_template(self.template, context)
[Wed Aug 27 18:07:56.252111 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/loader_tags.py", line 137, in render_template
[Wed Aug 27 18:07:56.252116 2014] [:error] [pid 20373:tid 140464345409280] output = template.render(context)
[Wed Aug 27 18:07:56.252121 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Wed Aug 27 18:07:56.252126 2014] [:error] [pid 20373:tid 140464345409280] return self._render(context)
[Wed Aug 27 18:07:56.252130 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Wed Aug 27 18:07:56.252135 2014] [:error] [pid 20373:tid 140464345409280] return self.nodelist.render(context)
[Wed Aug 27 18:07:56.252140 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 840, in render
[Wed Aug 27 18:07:56.252145 2014] [:error] [pid 20373:tid 140464345409280] bit = self.render_node(node, context)
[Wed Aug 27 18:07:56.252150 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/debug.py", line 78, in render_node
[Wed Aug 27 18:07:56.252155 2014] [:error] [pid 20373:tid 140464345409280] return node.render(context)
[Wed Aug 27 18:07:56.252159 2014] [:error] [pid 20373:tid 140464345409280] File "/usr/local/lib/python2.7/dist-packages/django/template/base.py", line 1196, in render
[Wed Aug 27 18:07:56.252164 2014] [:error] [pid 20373:tid 140464345409280] _dict = func(*resolved_args, **resolved_kwargs)
[Wed Aug 27 18:07:56.252169 2014] [:error] [pid 20373:tid 140464345409280] File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/templatetags/horizon.py", line 50, in horizon_nav
[Wed Aug 27 18:07:56.252174 2014] [:error] [pid 20373:tid 140464345409280] for dash in Horizon.get_dashboards():
[Wed Aug 27 18:07:56.252179 2014] [:error] [pid 20373:tid 140464345409280] File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 697, in get_dashboards
[Wed Aug 27 18:07:56.252184 2014] [:error] [pid 20373:tid 140464345409280] dashboard = self._registered(item)
[Wed Aug 27 18:07:56.252189 2014] [:error] [pid 20373:tid 140464345409280] File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/base.py", line 181, in _registered
[Wed Aug 27 18:07:56.252194 2014] [:error] [pid 20373:tid 140464345409280] "slug": slug})
[Wed Aug 27 18:07:56.252199 2014] [:error] [pid 20373:tid 140464345409280] NotRegistered: Dashboard with slug "sahara" is not registered.

message:"NotRegistered: Dashboard with slug \"sahara\" is not registered" AND tags:"apacheerror"

http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOlwiTm90UmVnaXN0ZXJlZDogRGFzaGJvYXJkIHdpdGggc2x1ZyBcXFwic2FoYXJhXFxcIiBpcyBub3QgcmVnaXN0ZXJlZFwiIEFORCB0YWdzOlwiYXBhY2hlZXJyb3JcIiIsImZpZWxkcyI6W10sIm9mZnNldCI6MCwidGltZWZyYW1lIjoiNjA0ODAwIiwiZ3JhcGhtb2RlIjoiY291bnQiLCJ0aW1lIjp7InVzZXJfaW50ZXJ2YWwiOjB9LCJzdGFtcCI6MTQwOTE3MjQ2NTI1NSwibW9kZSI6IiIsImFuYWx5emVfZmllbGQiOiIifQ==

There are 150 hits in the last 24 hours, check and gate, all failures.

Tags: sahara
Revision history for this message
Matt Riedemann (mriedem) wrote :
Justin Pomeroy (jpomero)
tags: added: sahara
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :

Fix for this issue is to stop installing sahara-dashboard

Revision history for this message
Sergey Lukjanov (slukjanov) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :
Revision history for this message
Matt Riedemann (mriedem) wrote :

(4:35:31 PM) SergeyLukjanov: mriedem, sdague, the reason for the https://bugs.launchpad.net/horizon/+bug/1362325 is that we removed deprecated code from the sahara-dashboard repo that is still used in the devstack code

Changed in horizon:
status: New → Confirmed
Revision history for this message
Sergey Lukjanov (slukjanov) wrote :
Changed in horizon:
assignee: nobody → Sergey Lukjanov (slukjanov)
status: Confirmed → Fix Committed
Akihiro Motoki (amotoki)
Changed in horizon:
milestone: none → juno-3
milestone: juno-3 → none
affects: horizon → devstack
Sean Dague (sdague)
Changed in devstack:
status: Fix Committed → Fix Released
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.