OpenStack Block Storage (Cinder)
Go to file
j-griffith 64612cdbfb Check for outstanding attachments during reserve
There are a number of places on the Nova side where we need to do things
with volume connections like remove an attachment and immediately
reserve a new one. This introduces a potential race where bad things
can happen. To deal with that, we actually want to to create a new
attachment to do a reserve, BEFORE we delete the current attachment.

The problem is that the new Attachment code currently will toggle the
volume status and attach status such that you will then not be able to
remove the attachment in the future, and it also makes things such that
the true state of the volume is not reflected properly.

This patch adds a check on reserve for additional attachments and if
there are attachments for a volume that have the volume as in-use we
don't clear that status during the new reserve call.

Change-Id: I8062897bd3d4fe20de9a5660eac6fec856cc3c1e
Closes-Bug: #1717564
2017-09-25 13:57:40 -06:00
api-ref/source Merge "api-ref: Clarify os-host GET behavior" 2017-09-19 08:16:55 +00:00
cinder Check for outstanding attachments during reserve 2017-09-25 13:57:40 -06:00
contrib/block-box Remove API v1 2017-09-06 07:39:10 -05:00
doc Switch to use key_manager.backend 2017-09-20 12:17:14 -05:00
etc/cinder Merge "Support az filter for snapshot" 2017-09-08 18:10:30 +00:00
rally-jobs Fix rally "volume_type" parameter 2017-06-29 20:19:46 +03:00
releasenotes Switch to use key_manager.backend 2017-09-20 12:17:14 -05:00
tools Add another hack from NOVA_GROUP to generate_cinder_opts.py 2017-09-14 10:19:17 +02:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Add driver list to doc build 2016-07-26 11:09:05 -05:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.testr.conf Move integrated tests to 'functional' directory 2016-02-09 23:28:27 +02:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
driver-requirements.txt Merge "IBM storage: check pyxcli version on initialize" 2017-08-17 16:48:51 +00:00
HACKING.rst Fix wrong links in Cinder 2017-09-07 11:55:44 +08:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
README.rst Update Documentation link 2017-07-13 12:12:20 +00:00
requirements.txt Updated from global requirements 2017-09-12 13:59:36 +00:00
setup.cfg [Doc] Handle Sphinx warnings as errors 2017-08-29 16:00:09 -05:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Updated from global requirements 2017-09-12 13:59:36 +00:00
tox.ini Move config-generator to tools 2017-08-16 16:18:48 -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