yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #74304
[Bug 1787065] Re: "Delete Volume" is not available in Admin volume table
Reviewed: https://review.openstack.org/591886
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=e5d6f54e99b6252efef578bea92739e939a8e5d2
Submitter: Zuul
Branch: master
commit e5d6f54e99b6252efef578bea92739e939a8e5d2
Author: Akihiro Motoki <amotoki@xxxxxxxxx>
Date: Wed Aug 15 01:52:10 2018 +0000
Make generic group check work with admin table
Previously allowed() methods in DeleteVolume and DeleteVolumeSnapshot
actions assume that the cinder generic group is always available.
The current admin volume and volume snapshot tables do not load
generic group information, so these allowed() methods failed and
as a result these delete actions are not shown.
This commit checks if a volume belongs to a generic group in more
robust way. This change makes the project volume table work with
deployments without the generic group as well.
Change-Id: Idd887434153966d9188acaf08346fa6a0f0e6719
Closes-Bug: #1787065
** 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/1787065
Title:
"Delete Volume" is not available in Admin volume table
Status in OpenStack Dashboard (Horizon):
Fix Released
Bug description:
"Delete Volume" is not available in Admin volume table.
allowed() method of DeleteVolume action raises an exception because of missing 'group' attribute in the admin panel.
This bug was introduced during the generic group support.
http://paste.openstack.org/show/728060/
The similar thing happens in the volume snapshot table too.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1787065/+subscriptions
References