Display quotas per Cinder volume type

Registered by Arne Wiebalck

Summary
=======

Cinder supports different volume types with the possibility of setting specific quotas for the different volume types . Horizon needs to provide support at least for the end-users: they should be able to see the volume-type quotas assigned to their projects on the dashboard.

Motivation
========
Right now users can see the quotas assigned to the different volume types using the OpenStack CLI, but this information is missing in the OpenStack dashboard.
This information should be displayed also on the dashboard since:
Most of end-users don’t use the OpenStack CLI, since they can perform all the needed operations using the OpenStack dashboard
When a volume is created using a volume type for which the relevant quota is exceeded, a generic “Unable to create volume” error message is reported; in such scenario for the user is difficult to understand the root cause of the problem if he/she doesn’t know the different quotas assigned to the different types

Description
=========
When creating a volume, the user should be able to see not only the overall project information
(quota and resources already used) but also the relevant information for each configured volume type.

UX
===

In the “Create volume” window, under “Volume limits”, besides displaying the overall information (“Total Gibibytes” and “Number of volumes”), the information (on GB and volumes) should be displayed also for the currently selected volume type.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Mateusz Kowalski
Direction:
Needs approval
Assignee:
Mateusz Kowalski
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Gerrit topic: https://review.openstack.org/#q,topic:bug/1717342,n,z

Addressed by: https://review.openstack.org/511472
    Display quotas per Cinder volume type

Addressed by: https://review.opendev.org/660250
    Display quotas per Cinder volume type

Addressed by: https://review.opendev.org/660567
    Display quotas per Cinder volume type

Gerrit topic: https://review.opendev.org/#/q/topic:bug/1717342

Addressed by: https://review.opendev.org/511472
    Display quotas per Cinder volume type

Addressed by: https://review.opendev.org/c/openstack/horizon/+/660567
    Display quotas per Cinder volume type

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.