OpenStack Block Storage (Cinder)
Go to file
Matt Riedemann 9c0123eb70 Fix _attachment_reserve to not allow attaching an invalid status volume
It is currently possible to create a volume attachment for a server
when the volume is in error status because of the override logic
in the _attachment_reserve method. What results is that the volume
attach operation fails in nova-compute which rolls back and deletes
the volume attachment, which puts the volume into 'available' status
because it no longer has any attachments, which in fact it should
have never allowed the attachment create/reserve in the first place.

This updates the override logic such that a volume without any
attachments which is in an invalid status will result in an error
being raised.

Change-Id: Id9cf2f510684cd296ffbcaf53d11889cfe8973b9
Closes-Bug: #1785050
2018-08-08 16:44:33 -04:00
api-ref/source Improve messages api-ref description 2018-08-03 15:21:05 -05:00
cinder Fix _attachment_reserve to not allow attaching an invalid status volume 2018-08-08 16:44:33 -04:00
contrib/block-box Merge "Update "auth_url"" 2018-07-25 09:25:44 +00:00
doc Merge "Add sphinx-feature-classification based support matrix" 2018-08-08 20:00:49 +00:00
etc/cinder Merge "Remove tee from volume.filters" 2018-07-16 19:18:31 +00:00
playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican Disable failing backup tests in LIO/Barbican job 2018-06-06 10:45:40 -04:00
rally-jobs Switch Rally Task To format V2 2017-10-13 08:37:57 +00:00
releasenotes Merge "Fix typo on Storwize release note" 2018-08-08 00:00:04 +00:00
tools Add keystoneauth options to list_opts 2018-07-23 12:02:08 +08:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Change blockbox to block-box 2018-07-10 14:20:53 +08:00
.gitreview Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Revert "Use Tempest scenario job to run all scenario tests" 2018-07-30 01:32:55 +00:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Remove note about mox 2018-07-16 08:36:07 -04:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Add blueprints and releasenotes link to README 2018-06-30 11:36:53 +08:00
babel.cfg Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
bindep.txt Do not explicitly list thin provisioning tools for RPM 2018-01-02 10:52:44 -06:00
driver-requirements.txt Unity: add thick volume support 2018-07-13 11:02:01 +08:00
lower-constraints.txt Merge "Add sphinx-feature-classification based support matrix" 2018-08-08 20:00:49 +00:00
pylintrc Use six to fix imports on Python 3 2015-06-11 17:19:19 +02:00
requirements.txt Add sphinx-feature-classification based support matrix 2018-08-07 09:35:32 -05:00
setup.cfg Follow the new PTI for document build [Updated] 2018-03-22 17:29:28 +09:00
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Add reno to test-requirements 2018-04-27 09:21:06 -05:00
tox.ini Enable running py36 unit tests 2018-06-28 11:11:27 -05:00

README.rst

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