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
2021-06-04 17:21:28 -04:00
2019-04-19 19:26:48 +00:00
2017-10-10 00:46:42 +00:00
2012-05-03 10:48:26 -07:00
2022-11-18 17:00:55 +00:00
2020-01-22 11:44:36 +00:00
2021-04-16 11:11:41 -04:00
2022-11-09 10:21:19 +00:00
2020-04-17 14:47:10 +02:00
2022-10-03 14:09:51 +00: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

Description
OpenStack Block Storage (Cinder)
Readme 915 MiB
Languages
Python 99.7%
Smarty 0.3%