Templates missing from manila-ui package

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

Bug Description

After installing python-manila-ui, Horizon throws an exception:
TemplateDoesNotExist at /project/shares/

project/shares/index.html

Seems the templates are missing from the package.

Revision history for this message
Daniel (zinv) wrote :
Download full text (10.3 KiB)

Observed the same issue after new deployment. Happens for both admin and project console:

[Wed May 25 19:09:37.704117 2016] [wsgi:error] [pid 1884:tid 140612165875456] Internal Server Error: /horizon/admin/shares/
[Wed May 25 19:09:37.704192 2016] [wsgi:error] [pid 1884:tid 140612165875456] Traceback (most recent call last):
[Wed May 25 19:09:37.704197 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 132, in get_response
[Wed May 25 19:09:37.704201 2016] [wsgi:error] [pid 1884:tid 140612165875456] response = wrapped_callback(request, *callback_args, **callback_kwargs)
[Wed May 25 19:09:37.704203 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Wed May 25 19:09:37.704206 2016] [wsgi:error] [pid 1884:tid 140612165875456] return view_func(request, *args, **kwargs)
[Wed May 25 19:09:37.704209 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec
[Wed May 25 19:09:37.704211 2016] [wsgi:error] [pid 1884:tid 140612165875456] return view_func(request, *args, **kwargs)
[Wed May 25 19:09:37.704214 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 52, in dec
[Wed May 25 19:09:37.704216 2016] [wsgi:error] [pid 1884:tid 140612165875456] return view_func(request, *args, **kwargs)
[Wed May 25 19:09:37.704218 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 36, in dec
[Wed May 25 19:09:37.704221 2016] [wsgi:error] [pid 1884:tid 140612165875456] return view_func(request, *args, **kwargs)
[Wed May 25 19:09:37.704223 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/decorators.py", line 84, in dec
[Wed May 25 19:09:37.704225 2016] [wsgi:error] [pid 1884:tid 140612165875456] return view_func(request, *args, **kwargs)
[Wed May 25 19:09:37.704228 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 71, in view
[Wed May 25 19:09:37.704230 2016] [wsgi:error] [pid 1884:tid 140612165875456] return self.dispatch(request, *args, **kwargs)
[Wed May 25 19:09:37.704232 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py", line 89, in dispatch
[Wed May 25 19:09:37.704235 2016] [wsgi:error] [pid 1884:tid 140612165875456] return handler(request, *args, **kwargs)
[Wed May 25 19:09:37.704237 2016] [wsgi:error] [pid 1884:tid 140612165875456] File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../horizon/tabs/views.py", line 147, in get
[Wed May 25 19:09:37.704239 2016] [wsgi:error] [pid 1884:tid 140612165875456] return self.handle_tabbed_response(context["tab_group"], context)
[Wed May 25 19:09:37.704242 2016] [wsgi:error] [pi...

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

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

Changed in manila-ui (Ubuntu):
status: New → Confirmed
Revision history for this message
Daniel (zinv) wrote :

also noticed the following:

root@controller:/usr/lib/python2.7/dist-packages/openstack_dashboard/enabled# ls
_90_manila_admin_shares.py _90_manila_admin_shares.pyc _90_manila_project_shares.py _90_manila_project_shares.pyc
root@controller:/usr/lib/python2.7/dist-packages/openstack_dashboard/enabled# pwd
/usr/lib/python2.7/dist-packages/openstack_dashboard/enabled
root@controller:/usr/lib/python2.7/dist-packages/openstack_dashboard/enabled#

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.