OpenStack Block Storage (Cinder)
Go to file
Lee Yarwood 4910ca4d73 lvm: Only use initiators when comparing connector dicts
Ib5aa1b7578f7d3200185566ff5f8634dd519d020 previously fixed the premature
termination of multi attached iSCSI/LVM volumes by comparing the
provided connector dict against that stored with any remaining active
attachments. Only allowing the termination to proceed if a single active
attachment remained using the provided connector.

However this check fails if two instances on the same host are connected
to the same multi attach volume using different mountpoints as these are
now stored within the connector. This behaviour was introduced during
Queens by If3afe8d8bd6b8c327ccc7d1140053bccaf7e1ad7 and
I11ba269c3f7a2e7707b2b7e27d26eb7a2c948a82 to workaround differences
between the cinderv2 and cinderv3 APIs.

This change corrects this by only comparing the initiator key of the
connectors ensuring terminate connection is only called when a single
attachment remains on a given host using a specific initiator.

Closes-Bug: #1825957
Change-Id: Icabc4a67d3f5462fe24e4027e84e56a001e1b2b8
(cherry picked from commit c1388ce1c0)
2019-05-21 11:08:58 -06:00
api-ref/source Merge "Automate generation of snapshots api-ref samples" 2019-03-16 21:48:21 +00:00
cinder lvm: Only use initiators when comparing connector dicts 2019-05-21 11:08:58 -06:00
contrib/block-box Use new target_* options in documentation 2019-03-01 09:52:41 +00:00
doc Merge "Add upgrade checker for backup driver path" into stable/stein 2019-05-14 04:07:07 +00:00
etc/cinder Handling filters in Generalized Filtering API 2019-03-27 16:14:08 +00:00
playbooks/legacy/cinder-tempest-dsvm-lvm-lio-barbican OpenDev Migration Patch 2019-04-19 19:27:16 +00:00
rally-jobs Switch Rally Task To format V2 2017-10-13 08:37:57 +00:00
releasenotes Merge "Add upgrade checker for backup driver path" into stable/stein 2019-05-14 04:07:07 +00:00
tools Remove scanning upgrade checker from opts generation 2019-04-04 13:32:49 +00: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 OpenDev Migration Patch 2019-04-19 19:27:16 +00:00
.pylintrc Pylint: Filter out cinder.objects and requests E1101 2019-02-21 13:28:44 -05:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml OpenDev Migration Patch 2019-04-19 19:27:16 +00:00
CONTRIBUTING.rst Optimize the link address 2017-04-08 15:03:44 +08:00
HACKING.rst Doc8: Stop skipping D001: Line too long 2019-02-19 16:51:56 -06: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 Make lower constraints CI works well 2018-11-06 20:29:53 +08:00
driver-requirements.txt Add new LINSTOR volume driver 2019-01-04 14:59:41 -08:00
lower-constraints.txt Gate Fix: Bumping versions in lower-constraints.txt 2019-03-15 16:12:24 +05:30
requirements.txt Gate Fix: Bumping versions in lower-constraints.txt 2019-03-15 16:12:24 +05:30
setup.cfg Remove py35 from setup.cfg 2019-02-28 10:54:58 +05:30
setup.py Updated from global requirements 2017-03-02 23:53:29 +00:00
test-requirements.txt Gate Fix: Bumping versions in lower-constraints.txt 2019-03-15 16:12:24 +05:30
tox.ini Make sure we install cinder requirements during the correct tox phase 2019-05-10 10:27:38 +02: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