Comment 6 for bug 1611027

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

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 address hidden>
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