Gorka Eguileor e55043ff00 Fix automatic quota sync for migrating volumes
When using the automatic quota refresh via `until_refresh` and `max_age`
configuration options the calculated quota usage by the refresh will not
be correct if there are volumes that are migrating, since source and
destination volumes are counted in the refresh.

Normal quota usage calculation does not work like this, it only counts
it once, and so should the automatic quota calculation.

This patch fixes this by adding a filter to the query that skips
migration destination volumes.

It also updatest the DB implementation of volume_data_get_for_project
that didn't match the signature in cinder.db.api

Closes-Bug: #1917450
Change-Id: Ifff092917abe07726367a953f5ed420626c53bb9
2021-03-17 09:06:07 +01: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-02-10 12:27:47 -05:00
2020-01-22 11:44:36 +00:00
2020-10-06 13:28:45 +02:00
2021-01-28 08:22:13 -05:00
2020-04-17 14:47:10 +02:00
2021-02-16 10:54:51 -05:00
2021-02-19 23:22:37 +01:00

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 912 MiB
Languages
Python 99.7%
Smarty 0.3%