*** This bug is a duplicate of bug 1941186 ***
https://bugs.launchpad.net/bugs/1941186
Hi, it is fixed by https://review.opendev.org/c/openstack/horizon/+/808517 in
the master branch.
I can purpose a cherry-pick to stable/wallaby and stable/xena branches.
** This bug has been marked a duplicate of bug 1941186
Admin Volume table doesn't work if you use 'Project' filter
--
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/1957056
Title:
project fliter of admin volumes
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Hello,
Release Wallaby and Xena
When we use filter "project" in Admin -> Volumes, Horizon crushes with
error:
```
ERROR horizon.tables.base Error while rendering table rows.
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 1932,
in get_rows
row = self._meta.row_class(self, datum)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 589,
in __init__
self.load_cells()
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 618,
in load_cells
cell = table._meta.cell_class(datum, column, self)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 739,
in __init__
self.data = self.get_data(datum, column, row)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 783,
in get_data
data = column.get_data(datum)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 423,
in get_data
data = self.get_raw_data(datum)
File
"/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/volumes/tables.py",
line 432, in get_raw_data
group = volume.group
File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line
139, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'Volume' object has no attribute 'group'
ERROR django.request Internal Server Error: /dashboard/admin/volumes/
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 1932,
in get_rows
row = self._meta.row_class(self, datum)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 589,
in __init__
self.load_cells()
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 618,
in load_cells
cell = table._meta.cell_class(datum, column, self)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 739,
in __init__
self.data = self.get_data(datum, column, row)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 783,
in get_data
data = column.get_data(datum)
File "/usr/lib/python3.6/site-packages/horizon/tables/base.py", line 423,
in get_data
data = self.get_raw_data(datum)
File
"/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/volumes/tables.py",
line 432, in get_raw_data
group = volume.group
File "/usr/share/openstack-dashboard/openstack_dashboard/api/base.py", line
139, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'Volume' object has no attribute 'group'
```
After that, this page opens only after clearing the cache.
Thank you
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1957056/+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