yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78719
[Bug 1831435] [NEW] Access the snapshot page under the admin panel. If the snapshot is in the middle state, an error log will appear.
Public bug reported:
Access the snapshot page under the admin panel. If the snapshot is in the middle state, an error log will appear.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 113, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, in get
handled = self.construct_tables()
File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 209, in construct_tables
preempted = table.maybe_preempt()
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1698, in maybe_preempt
error = exceptions.handle(request, ignore=True)
File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 348, in handle
six.reraise(exc_type, exc_value, exc_traceback)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1694, in maybe_preempt
new_row.load_cells(datum)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 619, in load_cells
cell = table._meta.cell_class(datum, column, self)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 741, in __init__
self.data = self.get_data(datum, column, row)
File "/usr/lib/python2.7/site-packages/mistraldashboard/default/smart_cell.py", line 70, in get_data
data = column.get_data(datum)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 424, in get_data
data = self.get_raw_data(datum)
File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/snapshots/tables.py", line 191, in get_raw_data
group_snapshot = snapshot.group_snapshot
File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 120, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute 'group_snapshot'
** Affects: horizon
Importance: Undecided
Assignee: pengyuesheng (pengyuesheng)
Status: In Progress
** Changed in: horizon
Assignee: (unassigned) => pengyuesheng (pengyuesheng)
--
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/1831435
Title:
Access the snapshot page under the admin panel. If the snapshot is in
the middle state, an error log will appear.
Status in OpenStack Dashboard (Horizon):
In Progress
Bug description:
Access the snapshot page under the admin panel. If the snapshot is in the middle state, an error log will appear.
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/django/core/handlers/exception.py", line 41, in inner
response = get_response(request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 187, in _get_response
response = self.process_exception_by_middleware(e, request)
File "/usr/lib/python2.7/site-packages/django/core/handlers/base.py", line 185, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 52, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 36, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 113, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/decorators.py", line 84, in dec
return view_func(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 68, in view
return self.dispatch(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/django/views/generic/base.py", line 88, in dispatch
return handler(request, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 223, in get
handled = self.construct_tables()
File "/usr/lib/python2.7/site-packages/horizon/tables/views.py", line 209, in construct_tables
preempted = table.maybe_preempt()
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1698, in maybe_preempt
error = exceptions.handle(request, ignore=True)
File "/usr/lib/python2.7/site-packages/horizon/exceptions.py", line 348, in handle
six.reraise(exc_type, exc_value, exc_traceback)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1694, in maybe_preempt
new_row.load_cells(datum)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 619, in load_cells
cell = table._meta.cell_class(datum, column, self)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 741, in __init__
self.data = self.get_data(datum, column, row)
File "/usr/lib/python2.7/site-packages/mistraldashboard/default/smart_cell.py", line 70, in get_data
data = column.get_data(datum)
File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 424, in get_data
data = self.get_raw_data(datum)
File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/snapshots/tables.py", line 191, in get_raw_data
group_snapshot = snapshot.group_snapshot
File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line 120, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute 'group_snapshot'
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1831435/+subscriptions
Follow ups