Murano-dashboard throws exception in Xenial

Bug #1579681 reported by György Szombathelyi
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
murano-dashboard (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Murano-dashboard throws the following exception:

[Mon May 09 09:14:25.963149 2016] [wsgi:error] [pid 30479:tid 140252105045760] Internal Server Error: /horizon/murano/environments/
[Mon May 09 09:14:25.963236 2016] [wsgi:error] [pid 30479:tid 140252105045760] Traceback (most recent call last):
[Mon May 09 09:14:25.963272 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 164, in get_response
[Mon May 09 09:14:25.963333 2016] [wsgi:error] [pid 30479:tid 140252105045760] response = response.render()
[Mon May 09 09:14:25.963359 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 158, in render
[Mon May 09 09:14:25.963382 2016] [wsgi:error] [pid 30479:tid 140252105045760] self.content = self.rendered_content
[Mon May 09 09:14:25.963404 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 133, in rendered_content
[Mon May 09 09:14:25.963427 2016] [wsgi:error] [pid 30479:tid 140252105045760] template = self._resolve_template(self.template_name)
[Mon May 09 09:14:25.963456 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 88, in _resolve_template
[Mon May 09 09:14:25.963480 2016] [wsgi:error] [pid 30479:tid 140252105045760] new_template = self.resolve_template(template)
[Mon May 09 09:14:25.963502 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 78, in resolve_template
[Mon May 09 09:14:25.963524 2016] [wsgi:error] [pid 30479:tid 140252105045760] return loader.select_template(template, using=self.using)
[Mon May 09 09:14:25.963553 2016] [wsgi:error] [pid 30479:tid 140252105045760] File "/usr/lib/python2.7/dist-packages/django/template/loader.py", line 76, in select_template
[Mon May 09 09:14:25.963576 2016] [wsgi:error] [pid 30479:tid 140252105045760] raise TemplateDoesNotExist(', '.join(template_name_list))
[Mon May 09 09:14:25.963599 2016] [wsgi:error] [pid 30479:tid 140252105045760] TemplateDoesNotExist: environments/index.html

Seems the templates are missing from the package (2.0.0-1).

After copying the missing templates to /usr/lib/python2.7/dist-packages/muranodashboard/templates, re-running manage.py collectstatic and compress, the dashboard works.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in murano-dashboard (Ubuntu):
status: New → Confirmed
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.