yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #64520
[Bug 1695719] [NEW] AttributeError in project snapshot detail page
Public bug reported:
Env: devstack master branch
Steps to reproduce:
1. Go to project/volumes/snapshots panel.
2. Click a snapshot name and redirect to its detail page.
3. View the console.
Error while checking action permissions.
Traceback (most recent call last):
File "/opt/stack/horizon/horizon/tables/base.py", line 1359, in _filter_action
return action._allowed(request, datum) and row_matched
File "/opt/stack/horizon/horizon/tables/actions.py", line 136, in _allowed
self.allowed(request, datum))
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/snapshots/tables.py", line 45, in allowed
if (snapshot._volume and
File "/opt/stack/horizon/openstack_dashboard/api/base.py", line 121, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
** Affects: horizon
Importance: Undecided
Assignee: wei.ying (wei.yy)
Status: New
** Changed in: horizon
Assignee: (unassigned) => wei.ying (wei.yy)
** Description changed:
Env: devstack master branch
Steps to reproduce:
- 1. Go to project/volumes/snapshots panel
- 2. Click snapshot name and redirect to detail page
+ 1. Go to project/volumes/snapshots panel.
+ 2. Click a snapshot name and redirect to its detail page.
+ 3. View the console.
+ Error while checking action permissions.
Traceback (most recent call last):
File "/opt/stack/horizon/horizon/tables/base.py", line 1359, in _filter_action
return action._allowed(request, datum) and row_matched
File "/opt/stack/horizon/horizon/tables/actions.py", line 136, in _allowed
self.allowed(request, datum))
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/snapshots/tables.py", line 45, in allowed
if (snapshot._volume and
File "/opt/stack/horizon/openstack_dashboard/api/base.py", line 121, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
--
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/1695719
Title:
AttributeError in project snapshot detail page
Status in OpenStack Dashboard (Horizon):
New
Bug description:
Env: devstack master branch
Steps to reproduce:
1. Go to project/volumes/snapshots panel.
2. Click a snapshot name and redirect to its detail page.
3. View the console.
Error while checking action permissions.
Traceback (most recent call last):
File "/opt/stack/horizon/horizon/tables/base.py", line 1359, in _filter_action
return action._allowed(request, datum) and row_matched
File "/opt/stack/horizon/horizon/tables/actions.py", line 136, in _allowed
self.allowed(request, datum))
File "/opt/stack/horizon/openstack_dashboard/dashboards/project/snapshots/tables.py", line 45, in allowed
if (snapshot._volume and
File "/opt/stack/horizon/openstack_dashboard/api/base.py", line 121, in __getattribute__
return object.__getattribute__(self, attr)
AttributeError: 'VolumeSnapshot' object has no attribute '_volume'
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1695719/+subscriptions
Follow ups