[Bug 1717342] Re: [RFE] View and modify cinder volume type quotas in horizon

OpenStack Infra 1717342 at bugs.launchpad.net
Wed May 22 06:16:23 UTC 2019


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

** Changed in: horizon
     Assignee: Mateusz Kowalski (makowals) => Deividas Pranevicius (deividaspran)

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/1717342

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

Status in OpenStack Dashboard (Horizon):
  In Progress
Status in horizon package in Ubuntu:
  Triaged

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 at 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 at 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1717342/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list