yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #02428
[Bug 1031291] Re: TypeError when trying to delete an unnamed volume via dashboard
This bug was fixed in the package horizon -
2012.1.3+stable-20130423-5ce39422-0ubuntu1
---------------
horizon (2012.1.3+stable-20130423-5ce39422-0ubuntu1) precise-proposed; urgency=low
* Resynchronize with stable/essex (LP: #1089488)
- [7e651d7] stable/essex horizon installs unusable version of glance
(LP: #1057125)
- [35eada8] open redirect / phishing attack via "next" parameter
(LP: #1039077)
- [8889311] TypeError when trying to delete an unnamed volume via dashboard
(LP: #1031291)
- [f862d9e] Wrong 'Download CSV Summary' link (LP: #1020555)
- [9b22d68] When adding ICMP rule, the type/code is being validated as
from/to ports (LP: #997669)
- [52bbba1] Added --only-selenium option in run_tests.sh
* Dropped patches, superseeded by new snapshot:
- debian/patches/CVE-2012-3540.patch [35eada8]
-- Yolanda <yolanda.robla@xxxxxxxxxxxxx> Wed, 24 Apr 2013 15:46:28 +0200
** Changed in: horizon (Ubuntu Precise)
Status: Fix Committed => Fix Released
** CVE added: http://www.cve.mitre.org/cgi-
bin/cvename.cgi?name=2012-3540
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1031291
Title:
TypeError when trying to delete an unnamed volume via dashboard
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in OpenStack Dashboard (Horizon) essex series:
Fix Released
Status in “horizon” package in Ubuntu:
Fix Released
Status in “horizon” source package in Precise:
Fix Released
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_and_volumes/
sequence item 0: expected string, NoneType found
Request Method: POST
Request URL: http://192.168.24.81/nova/instances_and_volumes/
Django Version: 1.3.1
Exception Type: TypeError
Exception Value:
sequence item 0: expected string, NoneType found
Exception Location: /usr/lib/python2.7/dist-packages/horizon/tables/actions.py in handle, line 475
Python Executable: /usr/bin/python
Python Version: 2.7.3
Python Path:
['/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../..',
'/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages',
'/usr/share/openstack-dashboard/',
'/usr/share/openstack-dashboard/openstack_dashboard']
Server time: Tue, 31 Jul 2012 07:14:38 -0500
Environment:
Request Method: POST
Request URL: http://192.168.24.81/nova/instances_and_volumes/
Django Version: 1.3.1
Python Version: 2.7.3
Installed Applications:
['openstack_dashboard',
'django.contrib.sessions',
'django.contrib.messages',
'django.contrib.staticfiles',
'django_nose',
'horizon',
'horizon.dashboards.nova',
'horizon.dashboards.syspanel',
'horizon.dashboards.settings']
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'openstack_dashboard.middleware.DashboardLogUnhandledExceptionsMiddleware',
'horizon.middleware.HorizonMiddleware',
'django.middleware.doc.XViewMiddleware',
'django.middleware.locale.LocaleMiddleware')
Traceback:
File "/usr/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
40. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
55. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/decorators.py" in dec
40. return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in view
47. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
68. return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in post
113. return self.get(request, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in get
105. handled = self.construct_tables()
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in construct_tables
96. handled = self.handle_table(table)
File "/usr/lib/python2.7/dist-packages/horizon/tables/views.py" in handle_table
71. handled = self._tables[name].maybe_handle()
File "/usr/lib/python2.7/dist-packages/horizon/tables/base.py" in maybe_handle
980. return self.take_action(action_name, obj_id)
File "/usr/lib/python2.7/dist-packages/horizon/tables/base.py" in take_action
917. response = action.multiple(self, self._meta.request, obj_ids)
File "/usr/lib/python2.7/dist-packages/horizon/tables/actions.py" in multiple
203. return self.handle(data_table, request, object_ids)
File "/usr/lib/python2.7/dist-packages/horizon/tables/actions.py" in handle
475. "objs": ", ".join(action_success)}
Exception Type: TypeError at /nova/instances_and_volumes/
Exception Value: sequence item 0: expected string, NoneType found
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1031291/+subscriptions