Dashboard raises a ServiceCatalogException when attempting to download juju settings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When attempting to download the juju settings file from the dashboard I receive an exception¹ which displays an ugly, blank 500 error message.
It seems that the juju module is expecting an S3 endpoint in my service catalog, not finding it and throwing an exception which is not properly caught. This means that I need to reload the page to remove the blank page and continue to use the dashboard.
What I expect:
I expect the exception to be thrown (as I do not have the required endpoint) and an explanation that there was an error with the endpoint and for the user to be able to use the dashboard without having to reload the page.
Exception:
[1]: After setting DEBUG=True I see the following ServiceCatalogE
Environment:
Request Method: POST
Request URL: http://
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['openstack_
'django.
'django.
'django.
'django_nose',
'horizon',
'horizon.
'horizon.
'horizon.
Installed Middleware:
('django.
'django.
'django.
'django.
'openstack_
'horizon.
'django.
'django.
Traceback:
File "/usr/lib/
111. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/
40. return view_func(request, *args, **kwargs)
File "/usr/lib/
55. return view_func(request, *args, **kwargs)
File "/usr/lib/
40. return view_func(request, *args, **kwargs)
File "/usr/lib/
47. return self.dispatch(
File "/usr/lib/
68. return handler(request, *args, **kwargs)
File "/usr/lib/
84. return self.get(self, request, *args, **kwargs)
File "/usr/lib/
64. form, handled = self.maybe_handle()
File "/usr/lib/
59. self.form, self.handled = form.maybe_
File "/usr/lib/
101. exceptions.
File "/usr/lib/
99. return form, form.handle(
File "/usr/lib/
88. redirect=
File "/usr/lib/
81. 's3_url': api.url_
File "/usr/lib/
112. raise exceptions.
Exception Type: ServiceCatalogE
Exception Value: Invalid service catalog service: s3
System settings:
$ dpkg-query --show *dashboard*
openstack-dashboard 2012.1-0ubuntu8.1
openstack-
$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_
DISTRIB_
DISTRIB_
Changed in horizon (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in horizon (Ubuntu Precise): | |
status: | New → Confirmed |
Status changed to 'Confirmed' because the bug affects multiple users.