Reviewed: https://review.openstack.org/353173 Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=212e8b889cb6430dd8ac8aba7abd8ad84d78fdbe Submitter: Jenkins Branch: master
commit 212e8b889cb6430dd8ac8aba7abd8ad84d78fdbe Author: Rebecca Finn <[email protected]> Date: Tue Aug 9 23:38:38 2016 +0000 Fix volume storage usage value When calculating the used volume storage value to compare against "Total Size of Volumes and Snapshots", only the size of volumes was being used while volume snapshots were ignored. This allows a user to update the "Total Size of Volumes and Snapshots" quota to a value that is below what was currently being used without the expected error. This patch updates _get_tenant_volume_usages to use both volumes and volume snapshots. It also updates a test to reflect the correct "used" value. Change-Id: Ifb2586b048edbabfe9740a5c72b7abfbcf12576d Closes-Bug: #1611027 ** 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/1611027 Title: when I reduce the volume of the quota does not validate the snapshot Status in OpenStack Dashboard (Horizon): Fix Released Bug description: Steps to test: > Access the admin user in painel horizon > New or edit your project > Go "Total Size of Volumes and Snapshots (GiB)" > Set to 2GB. > To access a user of this project. > Create Volume with 1 GB > Create a snapshot > Check in overview the quota "Volume Storage" if quota is exceeded > Logout this session and login with user admin > Change the quota in "Total Size of Volumes and Snapshots (GiB)" to 1GB > Logout of the admin user and login with the user 1GB quota. > Check in overview the quota "Volume Storage", if used 2GB of 1GB Erro description: The horizon does not consider the value busy snapshot to decrease the volume quota in GB. To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1611027/+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

