[RFE] View and modify cinder volume type quotas in horizon

Bug #1717342 reported by Andreas Karis on 2017-09-14
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Wishlist
Deividas Pranevicius
horizon (Ubuntu)
Wishlist
Unassigned

Bug Description

Description of problem:
cinder volume types are governed by their own quotas. Currently, horizon can neither display nor modify those quotas.

https://docs.openstack.org/python-openstackclient/latest/cli/command-objects/volume-type.html
https://docs.openstack.org/horizon/latest/admin/manage-volumes.html

Looking at the quotas:
~~~
[stack@undercloud-1 ~]$ cinder quota-show db2b3d12c0c644a19780132399321045
+----------------------+-------+
| Property | Value |
+----------------------+-------+
| backup_gigabytes | 1000 |
| backups | 10 |
| gigabytes | 1000 |
| gigabytes_low-iops | -1 |
| per_volume_gigabytes | -1 |
| snapshots | 10 |
| snapshots_low-iops | -1 |
| volumes | 10 |
| volumes_low-iops | -1 |
+----------------------+-------+
~~~

~~~
[stack@undercloud-1 ~]$ cinder quota-usage db2b3d12c0c644a19780132399321045
+----------------------+--------+----------+-------+
| Type | In_use | Reserved | Limit |
+----------------------+--------+----------+-------+
| backup_gigabytes | 0 | 0 | 1000 |
| backups | 0 | 0 | 10 |
| gigabytes | 8 | 0 | 1000 |
| gigabytes_low-iops | 4 | 0 | -1 |
| per_volume_gigabytes | 0 | 0 | -1 |
| snapshots | 0 | 0 | 10 |
| snapshots_low-iops | 0 | 0 | -1 |
| volumes | 2 | 0 | 10 |
| volumes_low-iops | 1 | 0 | -1 |
+----------------------+--------+----------+-------+
~~~

The only places I found for quotas or for volume types where this could possibly be are:

Which is this URL (with different IP/hostname of course):
http://10.0.0.6/dashboard/admin/defaults/

Next, there's obviously
http://10.0.0.6/dashboard/project/

None provides a way to set the per volume type quotas.

Another place where this could be possible is:
http://10.0.0.6/dashboard/admin/volumes/ and then under the Volume Types tab.

None of the above provides a way to see or edit the quotas for the new volume types.

Obviously, this would lead to completely invalid quota display in horizon if the default volume type is set to anything other than <None>, in which case the display will likely still show the global default.

no longer affects: cinder
Mateusz Kowalski (makowals) wrote :

We have local patch for showing quotas when creating volumes, however nothing for Admin panel as we don't use it at all. Bellow screenshots, feel free to let me know if there is an interest in putting this upstream

Mateusz Kowalski (makowals) wrote :

We have local patch for showing quotas when creating volumes, however nothing for Admin panel as we don't use it at all. Bellow screenshots, feel free to let me know if there is an interest in putting this upstream

Mateusz Kowalski (makowals) wrote :
Changed in horizon:
importance: Undecided → Wishlist
tags: added: cinder
Rob Cresswell (robcresswell) wrote :

Horizon doesn't use RFEs, and we don't have the development scope right now to pick up general feature requests. If you have some time / resources to work on this feature, please propose a blueprint using the template here: https://blueprints.launchpad.net/horizon/+spec/template

Changed in horizon:
status: New → Invalid

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

Changed in horizon:
assignee: nobody → Mateusz Kowalski (makowals)
status: Invalid → In Progress
Changed in horizon (Ubuntu):
importance: Undecided → Wishlist
status: New → Triaged

Change abandoned by Ivan Kolodyazhny (<email address hidden>) on branch: master
Review: https://review.openstack.org/511472
Reason: This review is > 4 months without comment, and failed Jenkins the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

Fix proposed to branch: master
Review: https://review.opendev.org/660567

Changed in horizon:
assignee: Mateusz Kowalski (makowals) → Deividas Pranevicius (deividaspran)

Change abandoned by Deividas Pranevicius (<email address hidden>) on branch: stable/rocky
Review: https://review.opendev.org/660250
Reason: Moved to master.

Changed in horizon:
assignee: Deividas Pranevicius (deividaspran) → Ivan Kolodyazhny (e0ne)
Changed in horizon:
assignee: Ivan Kolodyazhny (e0ne) → Deividas Pranevicius (deividaspran)
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers