error when detaching volume

Bug #928167 reported by Roman Sokolkov
0
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Committed
High
Gabriel Hurley

Bug Description

I use devstack, trunk version of horizon. When I trying to detach volume(in-use state) it raises traceback

[Tue Feb 07 13:51:46 2012] [error] CRITICAL:openstack_dashboard:Unhandled Exception in of type "<type 'exceptions.AttributeError'>" in dashboard.
[Tue Feb 07 13:51:46 2012] [error] Traceback (most recent call last):
[Tue Feb 07 13:51:46 2012] [error] File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py", line 111, in get_response
[Tue Feb 07 13:51:46 2012] [error] response = callback(request, *callback_args, **callback_kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/decorators.py", line 39, in dec
[Tue Feb 07 13:51:46 2012] [error] return view_func(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/usr/lib/pymodules/python2.7/django/contrib/auth/decorators.py", line 23, in _wrapped_view
[Tue Feb 07 13:51:46 2012] [error] return view_func(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/decorators.py", line 39, in dec
[Tue Feb 07 13:51:46 2012] [error] return view_func(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/usr/lib/pymodules/python2.7/django/views/generic/base.py", line 47, in view
[Tue Feb 07 13:51:46 2012] [error] return self.dispatch(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/usr/lib/pymodules/python2.7/django/views/generic/base.py", line 68, in dispatch
[Tue Feb 07 13:51:46 2012] [error] return handler(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/volumes/views.py", line 112, in post
[Tue Feb 07 13:51:46 2012] [error] return super(EditAttachmentsView, self).post(request, *args, **kwargs)
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/tables/views.py", line 79, in post
[Tue Feb 07 13:51:46 2012] [error] tables = self.get_tables().values()
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/tables/views.py", line 109, in get_tables
[Tue Feb 07 13:51:46 2012] [error] table = self.get_table()
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/tables/views.py", line 119, in get_table
[Tue Feb 07 13:51:46 2012] [error] self.get_data(),
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/volumes/views.py", line 87, in get_data
[Tue Feb 07 13:51:46 2012] [error] _('Unable to retrieve volume information.'))
[Tue Feb 07 13:51:46 2012] [error] File "/opt/stack/horizon/horizon/horizon/dashboards/nova/instances_and_volumes/volumes/views.py", line 83, in get_data
[Tue Feb 07 13:51:46 2012] [error] attachments = [att for att in self.object.attachments if att]
[Tue Feb 07 13:51:46 2012] [error] AttributeError: 'EditAttachmentsView' object has no attribute 'object'

Revision history for this message
Gabriel Hurley (gabriel-hurley) wrote :
Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
importance: Undecided → High
milestone: none → essex-4
status: New → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.