TypeError when trying to delete an unnamed volume via dashboard
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Gabriel Hurley | ||
Essex |
Fix Released
|
Undecided
|
Unassigned | ||
horizon (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When you create an unnamed volume and try to delete it via the dashboard, you get a TypeError.
To reproduce:
1. create a volume with 'nova volume-create 1'
2. delete the volume with the dashboard
Deleting via the command line works fine.
Here are the errors:
TypeError at /nova/instances
sequence item 0: expected string, NoneType found
Request Method: POST
Request URL: http://
Django Version: 1.3.1
Exception Type: TypeError
Exception Value:
sequence item 0: expected string, NoneType found
Exception Location: /usr/lib/
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
'/usr/
Server time: Tue, 31 Jul 2012 07:14:38 -0500
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/
113. return self.get(request, *args, **kwargs)
File "/usr/lib/
105. handled = self.construct_
File "/usr/lib/
96. handled = self.handle_
File "/usr/lib/
71. handled = self._tables[
File "/usr/lib/
980. return self.take_
File "/usr/lib/
917. response = action.
File "/usr/lib/
203. return self.handle(
File "/usr/lib/
475. "objs": ", ".join(
Exception Type: TypeError at /nova/instances
Exception Value: sequence item 0: expected string, NoneType found
Related branches
- James Page: Approve
-
Diff: 1297 lines (+793/-322)23 files modified.bzrignore (+0/-12)
.mailmap (+0/-8)
.pc/CVE-2012-3540.patch/horizon/views/auth_forms.py (+0/-190)
.pc/applied-patches (+0/-1)
.pylintrc (+0/-42)
AUTHORS (+2/-0)
PKG-INFO (+126/-0)
debian/changelog (+17/-0)
debian/patches/CVE-2012-3540.patch (+0/-33)
debian/patches/series (+0/-1)
horizon.egg-info/PKG-INFO (+126/-0)
horizon.egg-info/SOURCES.txt (+478/-0)
horizon.egg-info/dependency_links.txt (+3/-0)
horizon.egg-info/not-zip-safe (+1/-0)
horizon.egg-info/requires.txt (+18/-0)
horizon.egg-info/top_level.txt (+2/-0)
horizon/dashboards/nova/images_and_snapshots/images/tables.py (+3/-0)
horizon/dashboards/nova/instances_and_volumes/volumes/tables.py (+1/-1)
horizon/usage/base.py (+9/-6)
horizon/version.py (+1/-1)
setup.cfg (+5/-0)
tools/pip-requires (+1/-1)
tox.ini (+0/-26)
CVE References
Changed in horizon: | |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | folsom-3 → 2012.2 |
Changed in horizon (Ubuntu): | |
status: | New → Fix Released |
Changed in horizon (Ubuntu Precise): | |
status: | New → Confirmed |
Changed in openstack-dashboard (Ubuntu): | |
status: | New → Invalid |
no longer affects: | openstack-dashboard (Ubuntu) |
no longer affects: | openstack-dashboard (Ubuntu Precise) |
I believe this is fixed in master, but it would be good to verify it.