Go to file
Gorka Eguileor b50a571374 Add quota utils to cinder-manage
We have many issues with quota:

- Wrong values caused by race conditions
- Duplicated quota usage entries caused by race conditions
- Code that doesn't clean quota usage

Our current code has mechanisms to automatically refresh these values,
but there could be admins that don't want to enable it all the time, and
others that will be affected by bug #1697906 and cannot enable it.

There are a couple of scripts available online, but they all have their
issues: Not taking into account config option no_snapshot_gb_quota, not
fixing backups and groups, being racy, etc.  Moreover, they are external
tools to the OpenStack community.

We will eventually fix quotas, but in the meantime we should provide a
tool to help administrators manage the situation.

This patch adds a new 'quota' category to cinder-manage and two actions
'check' and 'sync' to allow administrators to check and fix on demand
the status of quotas (for a single or all projects).

Related-Bug: #1869749
Related-Bug: #1847791
Related-Bug: #1733179
Related-Bug: #1877164
Related-Bug: #1484343
Change-Id: Ic9323f8cfd75c0fbc425ddc9c9b35959fbe7d482
2021-03-30 16:20:35 +02:00
2021-03-30 16:20:35 +02:00
2021-03-30 16:20:35 +02:00
2020-11-03 18:53:39 +02:00
2020-10-14 08:24:13 -04:00
2019-04-19 19:26:48 +00:00
2017-10-10 00:46:42 +00:00
2020-08-19 15:00:35 +00:00
2012-05-03 10:48:26 -07:00
2021-03-25 13:15:43 -04:00
2021-02-10 12:27:47 -05:00
2020-01-22 11:44:36 +00:00
2020-10-06 13:28:45 +02:00
2021-03-25 13:15:43 -04:00
2021-01-28 08:22:13 -05:00
2020-04-17 14:47:10 +02:00
2021-03-25 13:15:43 -04:00
2021-03-17 11:08:56 +05:30

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient

Description
OpenStack Block Storage (Cinder)
Readme 963 MiB
Languages
Python 99.7%
Smarty 0.3%