Yikun Jiang
bfc27c9aba
Forbidden to revert volume to a different size snapshot
As mentioned from original design: "As we support extend volumes at present, we could meet the case that snapshot is smaller than volume when reverting to snapshot and it's obviously safe to revert in that case. But we will still restrict to revert the volume which current volume size is equal to snapshot, cause we don't support shrink volume yet (that ability will be used in the generic method, if the driver don't support revert to snapshot)." So, we need add a size check before we revert a volume to a snapshot. If the volume size is not equal to its latest snapshot size, it will be raise a HTTPBadRequest(400). Change-Id: Ib3cc95a10870822b9f597d66007699fb40908b61 Closes-bug: #1798503
Team and repository tags
CINDER
You have come across a storage service for an open cloud computing service. It has identified itself as Cinder. It was abstracted from the Nova project.
- Wiki: https://wiki.openstack.org/Cinder
- Developer docs: https://docs.openstack.org/cinder/latest/
- Blueprints: https://blueprints.launchpad.net/cinder
- Release notes: https://docs.openstack.org/releasenotes/cinder/
Getting Started
If you'd like to run from the master branch, you can clone the git repo:
For developer information please see HACKING.rst
You can raise bugs here https://bugs.launchpad.net/cinder
Python client
https://git.openstack.org/cgit/openstack/python-cinderclient
Description
Languages
Python
99.7%
Smarty
0.3%