When I upload a cluster template I encounter the following two issues:
1) The name I specify in the interface doesn't show up. Rather, a UUID shows up under the 'Name' column
2) When I click on the UUID, it causes an error in the UI (I'm presented with the dashboard error page). The following exception appears in the httpd error log:
[Mon Jul 29 14:57:43 2013] [error] DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead.DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead.DeprecationWarning: Translations in the project directory aren't supported anymore. Use the LOCALE_PATHS setting instead.DeprecationWarning: Authentication backends without a `supports_inactive_user` attribute are deprecated. Please define it in <class 'openstack_auth.backend.KeystoneBackend'>.DeprecationWarning: The syntax for the url template tag is changing. Load the `url` tag from the `future` tag library to start using the new behavior.ERROR:django.request:Internal Server Error: /dashboard/savanna/cluster_templates/4f8149f7-2786-478d-a24d-8c5251917f1a
[Mon Jul 29 14:57:43 2013] [error] Traceback (most recent call last):
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 111, in get_response
[Mon Jul 29 14:57:43 2013] [error] response = callback(request, *callback_args, **callback_kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Mon Jul 29 14:57:43 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 54, in dec
[Mon Jul 29 14:57:43 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/decorators.py", line 38, in dec
[Mon Jul 29 14:57:43 2013] [error] return view_func(request, *args, **kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 48, in view
[Mon Jul 29 14:57:43 2013] [error] return self.dispatch(request, *args, **kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/django/views/generic/base.py", line 69, in dispatch
[Mon Jul 29 14:57:43 2013] [error] return handler(request, *args, **kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tabs/views.py", line 60, in get
[Mon Jul 29 14:57:43 2013] [error] context = self.get_context_data(**kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard/cluster_templates/views.py", line 52, in get_context_data
[Mon Jul 29 14:57:43 2013] [error] .get_context_data(**kwargs)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tabs/views.py", line 44, in get_context_data
[Mon Jul 29 14:57:43 2013] [error] exceptions.handle(self.request)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tabs/views.py", line 42, in get_context_data
[Mon Jul 29 14:57:43 2013] [error] context["tab_group"].load_tab_data()
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tabs/base.py", line 122, in load_tab_data
[Mon Jul 29 14:57:43 2013] [error] exceptions.handle(self.request)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/horizon/tabs/base.py", line 119, in load_tab_data
[Mon Jul 29 14:57:43 2013] [error] tab._data = tab.get_context_data(self.request)
[Mon Jul 29 14:57:43 2013] [error] File "/usr/lib/python2.6/site-packages/savannadashboard/cluster_templates/tabs.py", line 60, in get_context_data
[Mon Jul 29 14:57:43 2013] [error] ng["node_group_template_id"])
[Mon Jul 29 14:57:43 2013] [error] KeyError: 'node_group_template_id'
[Mon Jul 29 15:57:44 2013] [warn] [client 10.10.80.44] incomplete redirection target of '/dashboard/' for URI '/' modified to 'http://172.18.0.75/dashboard/', referer: http://172.18.0.75/dashboard/savanna/cluster_templates/4f8149f7-2786-478d-a24d-8c5251917f1a
Could you please add the template file, that was uploaded.