706cbf40f5
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 |
||
---|---|---|
cinder | ||
doc | ||
etc/cinder | ||
rally-jobs | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.md | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
pylintrc | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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.
- Wiki: http://wiki.openstack.org/Cinder
- Developer docs: http://docs.openstack.org/developer/cinder
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