RETIRED, further work has moved to Debian project infrastructure
4eaf8f5909
Initially we had setup replication V2.1 (Cheesecake) to NOT do fail-back at least in the initial version. It turns out that fail-back in the Cinder code is rather easy, we just enable calling failover-host on a host that's already failed-over and use the *special* keyword of "default" as the backend_id argument which signifies we want to switch back to whatever is configured as the default in the cinder.conf file. To do this we just add some logic that checks the secondary_backend_id param in volume.manager:failover_host and set service fields appropriately. Note that we're sending the call to the driver first and giving it a chance to raise an exception if it can't satisfy the request at the current time. We also needed to modify the volume.api:failover_host to allow failed-over as a valid transition state, and again update the Service query to include disabled services. It's up to drivers to figure out if they want to require some extra admin steps and document exactly how this works. It's also possible that during an initial failover that you might want to return a status update for all volumes NOT replicated and mark their volume-status to "error". Expected behavior is depicted in the service output here: http://paste.openstack.org/show/488294/ Change-Id: I4531ab65424a7a9600b2f93ee5b5e1a0dd47d63d |
||
---|---|---|
cinder | ||
doc | ||
etc/cinder | ||
rally-jobs | ||
releasenotes | ||
tools | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
babel.cfg | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
openstack-common.conf | ||
pylintrc | ||
README.rst | ||
requirements.txt | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
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