Volume quotas missing from project overview

Bug #1244875 reported by Kieran Spear
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Kieran Spear

Bug Description

Commit d4b0ab4 replaced the volume quota display from the project overview with floating IPs and security group charts:

https://github.com/openstack/horizon/commit/d4b0ab4aa395bf4df2964efcc358100117efdaa0#diff-9a60f07bda6c010bebed55ca2f256006L26

We need to bring this back.

Julie Pichon (jpichon)
Changed in horizon:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Leandro Ignacio Costantino (leandro-i-costantino) wrote :

Cinder limit is not returning snapshot information.
Currently response: {"limits": {"rate": [], "absolute": {"totl": 0, "maxTotalVolumeGigabytes": 1000, "totalGigabytesUsed": 0, "maxTotalVolumes": 10}}}

Volume & GB Usage can be included again with current limit information.
Fetching the snapshot data from quota seems to defeat the purpose of the original commit to fix https://bugs.launchpad.net/horizon/+bug/1178694 ( impacting nova mainly ), of replacing quotas for limits.

New names on _limits_summary for Volume & GB usage:
usage.limits.totalVolumesUsed
usage.limits.maxTotalVolumes

usage.limits.totalGigabytesUsed|diskgbformat
usage.limits.maxTotalVolumeGigabytes|diskgbformat

Snapshot limits shall be provided by BP (https://blueprints.launchpad.net/cinder/+spec/add-volume-usages-to-limits).
See partial fix below ( note that is not replacing ip/security groups but appending it instead)

Changed in horizon:
assignee: nobody → Leandro Ignacio Costantino (leandro-i-costantino)
status: Confirmed → In Progress
Revision history for this message
Julie Pichon (jpichon) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/56488
Committed: http://github.com/openstack/horizon/commit/9bca5d3680ee21d2b92ba6766f13b5d216fc477f
Submitter: Jenkins
Branch: master

commit 9bca5d3680ee21d2b92ba6766f13b5d216fc477f
Author: Leandro I. Costantino <email address hidden>
Date: Thu Nov 14 19:48:42 2013 -0500

    Add volume limits to project overview.

    Commit d4b0ab4aa395bf4df2964efcc358100117efdaa0 fixing
    bug #1178694 removed volume quotas from project overview.
    Cinder is not reporting Snapshot limits today, so that info
    can't be added without including quotas again, defeating the
    purpose of the original fix.
    This fix will only add Volume Qty & Total Storage GB used (including
    snapshot size, if any ).
    Information is hidden if volume list is empty.

    Partial-Bug: #1244875
    Change-Id: Ia72e40329ecf08b57fb26cd847f02cececc53579

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

Fix proposed to branch: master
Review: https://review.openstack.org/59608

Changed in horizon:
assignee: Leandro Ignacio Costantino (leandro-i-costantino) → Kieran Spear (kspear)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/59608
Committed: http://github.com/openstack/horizon/commit/9f1da374af2e6780e8b9e767052285e1d20b04fe
Submitter: Jenkins
Branch: master

commit 9f1da374af2e6780e8b9e767052285e1d20b04fe
Author: Kieran Spear <email address hidden>
Date: Tue Dec 3 14:25:50 2013 +1100

    Show volume quota graphs if totalVolumesUsed >= 0

    commit 9bca5d3680ee21d2b92ba6766f13b5d216fc477f fixed the
    volume quota display, but quotas are hidden if a project has a used
    quota of 0. I don't think we should hide the quotas in this case,
    as users still need to know how much quota is available, even if they
    haven't used any of it yet.

    Change-Id: I72c0fae1a51cafabfcde8970c94097069083dd06
    Partial-Bug: #1244875

Thai Tran (tqtran)
Changed in horizon:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in horizon:
milestone: none → icehouse-3
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.