b77fb72aa9
Both volumes and snapshots have a volume_type_id field in the DB, but when we migrate a volume we leave the snapshots with the old type. This can only happen for retypes that don't do migration, since we cannot do a retype with migration if the volume has snapshots. Leaving the snapshots with the old time makes a mess of the quota usage when we do the retype as well as when we delete the snapshots. This patch fixes the quota issue by making sure the snapshots are retyped as well. This means that we will check quotas for the snapshots when retyping a volume that have them and we will properly reserve and set the quota on retype. Closes-Bug: #1877164 Change-Id: I90e9f85d192e1f2fee4ec8615a5bc95851a90f8e |
||
---|---|---|
api-ref/source | ||
cinder | ||
contrib/block-box | ||
doc | ||
etc/cinder | ||
playbooks | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.pylintrc | ||
.stestr.conf | ||
.zuul.yaml | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
README.rst | ||
bindep.txt | ||
driver-requirements.txt | ||
lower-constraints.txt | ||
mypy-files.txt | ||
reno.yaml | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
OpenStack Cinder
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