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
2018-10-23 09:28:14 +08:00
2017-10-13 08:37:57 +00:00
2018-09-06 10:00:07 -04:00
2018-07-10 14:20:53 +08:00
2012-05-03 10:48:26 -07:00
2018-10-10 13:01:06 +00:00
2017-10-10 00:46:42 +00:00
2018-10-12 10:03:06 +02:00
2012-05-03 10:48:26 -07:00
2017-04-08 15:03:44 +08:00
2018-07-16 08:36:07 -04:00
2012-05-03 10:48:26 -07:00
2017-03-02 23:53:29 +00:00
2018-10-15 10:22:20 -04:00

Team and repository tags

image

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.

Getting Started

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

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

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
OpenStack Block Storage (Cinder)
Readme 905 MiB
Languages
Python 99.7%
Smarty 0.3%