[UI] Savanna-dashboard shows traceback on 'Upload Template'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
High
|
Nikolay Makhotkin |
Bug Description
Savanna-dashboard plugin throws an exception if user tries to upload file via 'Upload Template' button for Plugin which doesn't support convert() method.
=======
RuntimeError at /savanna/
Failed to upload template file for plugin "vanilla" and version "1.1.2"
Request Method: POST
Request URL: http://
Django Version: 1.4.5
Exception Type: RuntimeError
Exception Value:
Failed to upload template file for plugin "vanilla" and version "1.1.2"
Exception Location: /home/ubuntu/
Python Executable: /home/ubuntu/
Python Version: 2.7.3
Python Path:
['/home/
'/home/
'/home/
'/home/
'/home/
'/home/
'/home/
'/home/
'/home/
'/usr/
'/usr/
'/usr/
'/home/
'/home/
Server time: Thu, 11 Jul 2013 14:06:57 +0000
=======
Traceback:
=======
Environment:
Request Method: POST
Request URL: http://
Django Version: 1.4.5
Python Version: 2.7.3
Installed Applications:
('savannadashbo
'openstack_
'django.
'django.
'django.
'django.
'django.
'django.
'compressor',
'horizon',
'horizon.
'horizon.
'horizon.
'openstack_auth')
Installed Middleware:
('django.
'django.
'django.
'django.
'django.
'horizon.
'django.
'django.
Traceback:
File "/home/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/home/
40. return view_func(request, *args, **kwargs)
File "/home/
55. return view_func(request, *args, **kwargs)
File "/home/
40. return view_func(request, *args, **kwargs)
File "/home/
48. return self.dispatch(
File "/home/
69. return handler(request, *args, **kwargs)
File "/home/
138. return self.form_
File "/home/
69. exceptions.
File "/home/
66. handled = form.handle(
File "/home/
52. exceptions.
File "/home/
49. filecontent)
File "/home/
51. (plugin_name, hadoop_version))
Exception Type: RuntimeError at /savanna/
Exception Value: Failed to upload template file for plugin "vanilla" and version "1.1.2"
=======
description: | updated |
Changed in savanna: | |
status: | New → Triaged |
tags: | added: 0.2.1 |
Changed in savanna: | |
assignee: | nobody → Nikita Konovalov (nkonovalov) |
summary: |
- Savanna-dashboard shows traceback on 'Upload Template' + [UI] Savanna-dashboard shows traceback on 'Upload Template' |
Changed in savanna: | |
assignee: | Nikita Konovalov (nkonovalov) → Nikolay Makhotkin (nmakhotkin) |
Changed in savanna: | |
status: | Triaged → In Progress |
Changed in savanna: | |
milestone: | 0.2.1 → 0.2.1-rc1 |
Changed in savanna: | |
status: | Fix Committed → Fix Released |
Reviewed: https:/ /review. openstack. org/37249 github. com/stackforge/ savanna/ commit/ c23227411b98ab5 61a9d80b568ce93 2f073b0d46
Committed: http://
Submitter: Jenkins
Branch: master
commit c23227411b98ab5 61a9d80b568ce93 2f073b0d46
Author: Nikolay Mahotkin <email address hidden>
Date: Tue Jul 16 19:22:15 2013 +0400
REST API returns traceback fix
Fixes: bug #1200245
Change-Id: Ie23e1d6910892c 55f729153cf5a3b 238a4d3c605