OpenStack Block Storage (Cinder)
Go to file
John Griffith 706cbf40f5 Check type match on create from source/snap
We used to allow creating from source/snap and specifying a
different type than the originating resource when doing so.
Once we started getting more drivers and more multi-backend
configurations, we implemented a check in volume.api that
took this away (broke it).  There have been a number of
arguments about whether this should be allowed or not, and
that it could fail after the rpc call leaving the user with
nothing more than a "failed" volume and no explanation as to
why.

This patch allows the capability, but checks validity at the
API layer before issuing the create call.  There are two
requirements for the new type specification to be valid:
1. There is only one backend (cinder-volume) topic configured
2. Both types in question specify the same volume_backend_name
If neither of these requirements are met, the user will receive
an "invalid type" error explaining that the type combination is
not compatible and that they should omit the type argument altogether.

Change-Id: I08bc5e9a8800ce3b27c7db90b7bff86d7d14359a
Closes-Bug: #1289931
2015-05-12 08:41:20 -06:00
cinder Check type match on create from source/snap 2015-05-12 08:41:20 -06:00
doc Complete the doc/README.rst instructions to build docs 2015-04-16 08:13:04 +00:00
etc/cinder Move logging sample to use oslo_log 2015-04-30 15:04:48 +00:00
rally-jobs Fix configratuion of rally jobs 2015-01-29 05:02:57 +03:00
tools Add external genconfig calls 2015-04-23 13:59:22 -06:00
.coveragerc Add .coveragerc to show proper coverage statistics. As in other openstack projects. 2013-05-15 03:40:07 -07:00
.gitignore gitignore /.* 2014-10-09 15:23:48 -04:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.mailmap Fix wrong command for _rescan_multipath 2015-03-31 09:17:45 +00:00
.testr.conf Fix up the test framework 2013-06-14 14:02:17 +00:00
CONTRIBUTING.md Workflow documentation is now in infra-manual 2014-12-05 04:39:45 +00:00
HACKING.rst Merge "Add hacking check for str and unicode in exceptions" 2015-05-03 17:18:38 +00:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
MANIFEST.in Use setuptools-git. 2012-08-10 11:56:00 -04:00
README.rst Update README.rst to current state 2015-01-12 14:02:24 +01:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
openstack-common.conf Enable request-id in cinder API logs 2015-03-24 15:20:29 +02:00
pylintrc Amend unused variables to assist pylint testing 2014-10-30 16:23:57 +00:00
requirements.txt Updated from global requirements 2015-04-24 12:56:59 +00:00
run_tests.sh Use subunit-trace to enable output during unit test runs 2015-02-23 10:27:16 -05:00
setup.cfg Open Liberty development 2015-04-09 08:53:50 +00:00
setup.py Updated from global requirements 2014-05-22 07:04:39 +00:00
test-requirements.txt Updated from global requirements 2015-04-24 12:56:59 +00:00
tox.ini Enable H238 hacking rule 2015-04-02 19:37:29 +03:00

README.rst

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://github.com/openstack/cinder.git

For developer information please see HACKING.rst

You can raise bugs here http://bugs.launchpad.net/cinder

Python client

https://github.com/openstack/python-cinderclient.git