manila-ui does not report quota.type for usage limits

Bug #1717203 reported by Mateusz Kowalski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
manila-ui
Fix Released
Undecided
Mateusz Kowalski

Bug Description

In manila_ui/dashboards/project/shares/__init__.py L367 share usage limits are reported back to "Overview" panel in Horizon main page, but the values reported are (name, used, max, text).

In horizon base we have more field, ie. (type, name, used, max, text) what allows us to format the values correctly on pie charts based on quota type, for example totalShareGigabytesUsed can be formatted as "GB" whereas totalSharesUsed is just an integer.

affects: python-manilaclient → manila-ui
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to manila-ui (master)

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

Changed in manila-ui:
assignee: nobody → Mateusz Kowalski (makowals)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to manila-ui (master)

Reviewed: https://review.openstack.org/504001
Committed: https://git.openstack.org/cgit/openstack/manila-ui/commit/?id=9b012bd8798c5b767b2e493ddb057922469e6a15
Submitter: Jenkins
Branch: master

commit 9b012bd8798c5b767b2e493ddb057922469e6a15
Author: Mateusz Kowalski <email address hidden>
Date: Thu Sep 14 10:05:19 2017 +0200

    Add quota.type field when reporting share usage

    Adding field "type" will allow correct formatting of reported
    values in "Overview" panel in Horizon. It will also make the fields
    consistent with what's available in standard Horizon quotas.

    Change-Id: Iecfdaddaaf457aea776a5f8f13eaeb02bc741222
    Closes-bug: #1717203

Changed in manila-ui:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/manila-ui 2.11.0

This issue was fixed in the openstack/manila-ui 2.11.0 release.

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.