cinder/releasenotes
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
..
notes Fix automatic quota sync for migrating volumes 2021-03-17 09:06:07 +01:00
source Imported Translations from Zanata 2021-02-12 06:11:52 +00:00
README.rst Fix release notes link 2017-07-25 14:24:18 -07:00

Release notes

The release notes for a patch should be included in the patch. The intended audience for release notes include deployers, administrators and end-users.

A release note is required if the patch has upgrade or API impact. It is also required if the patch adds a feature or fixes a long-standing or security bug.

Please see https://docs.openstack.org/cinder/latest/contributor/releasenotes.html for more details.