Reviewed: https://review.opendev.org/662721 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=f0149ee0dbeb20779fc2af2e2f1be11ad2216493 Submitter: Zuul Branch: master
commit f0149ee0dbeb20779fc2af2e2f1be11ad2216493 Author: pengyuesheng <[email protected]> Date: Mon Jun 3 16:57:06 2019 +0800 Add the group_snapshot attribute to the snapshot in UpdateRow On snpashot panel in admin dashboards, The group_snapshot attribute is required in the snapshot table, but it does not exist in UpdateRow. This patch Add the group_snapshot attribute to the snapshot Change-Id: I00fc431fa3c5b8da40e5b24507165a2f3dfead47 Closes-Bug: #1831435 ** Changed in: horizon Status: In Progress => Fix Released -- 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): Fix Released 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 -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

