OpenStack Block Storage (Cinder)
Go to file
Gorka Eguileor daa803b8ee LVM: terminate_connection fails if no initiator
The LVM driver assumes that all connecting hosts will have the iSCSI
initiator installed and configured. If they don't, then there won't be
an "initiator" key in the connector properties dictionary and the call
to terminate connection will always fail with a KeyError exception on
the 'initiator' key.

This is the case if we don't have iSCSI configured on the computes
because we are only using NVMe-oF volumes with the nvmet target.

This patch starts using the dictionary ``get`` method so there is no
failure even when the keys don't exist, and it also differentiates by
target type so they target the identifier they care about, which is the
``initiator`` for iSCSI and ``nqn`` for NVMe-oF.

Closes-Bug: #1966513
Related-Bug: #1786327
Change-Id: Ie967a42188bd020178cb7af527e3dd3ab8975a3d
2023-02-03 14:56:19 +01:00
api-ref/source api-ref: Add docs for clusters 2022-08-31 10:02:20 +01:00
cinder LVM: terminate_connection fails if no initiator 2023-02-03 14:56:19 +01:00
doc Merge "Remove reference to 'all-plugin' tox environment" 2023-01-21 01:23:18 +00:00
etc/cinder Add Cinder NFS driver for Dell PowerStore 2022-07-28 01:27:22 -07:00
playbooks Handle the case when tempest fails 2022-05-03 17:22:27 +02:00
rally-jobs Remove Block Storage API v2 2021-06-04 17:21:28 -04:00
releasenotes LVM: terminate_connection fails if no initiator 2023-02-03 14:56:19 +01:00
roles Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
tools Merge "Support os-brick specific lock_path" 2022-09-10 00:04:36 +00:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore db: Enable auto-generation of database migrations 2022-02-20 19:06:01 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:26:48 +00:00
.pylintrc pylint: Add additional ignored-modules 2022-06-06 16:09:53 -04:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Add tempest integrated storage job to run on ubuntu focal 2022-11-23 13:39:16 +00:00
bindep.txt Add libcgroup related packages in bindep.txt 2021-06-15 00:54:55 +00:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
driver-requirements.txt setup.cfg: [extras] for pip-installable driver requirement 2022-08-31 15:50:31 +05:30
HACKING.rst Use LOG.warning instead of deprecated LOG.warn 2022-02-09 08:29:02 +09:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
mypy-files.txt Merge "mypy: cmd/manage.py" 2022-11-18 17:00:55 +00:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
reno.yaml Update release note info 2021-04-16 11:11:41 -04:00
requirements.txt Support os-brick specific lock_path 2022-09-09 19:47:00 +00:00
setup.cfg Merge "Update metadata in setup.cfg" 2022-11-09 10:21:19 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Update mypy to 0.981 2022-10-03 14:09:51 +00:00
tox.ini tox: Remove [testenv] basepython setting 2023-01-04 10:12:47 -05:00

OpenStack Cinder

image

OpenStack Cinder is a storage service for an open cloud computing service.

You can learn more about Cinder at:

Getting Started

If you'd like to run from the master branch, you can clone the git repo:

git clone https://opendev.org/openstack/cinder

If you'd like to contribute, please see the information in CONTRIBUTING.rst

You can raise bugs on Launchpad

Python client

Python Cinderclient