2017-06-04 10:12:26 |
wei.ying |
description |
Env: devstack master branch
Steps to reproduce:
1. Go to project/volumes/snapshots panel
2. Click snapshot name and redirect to detail page
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' |
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' |
|