OpenStack Block Storage (Cinder)
Go to file
Gorka Eguileor 68311a0794 Fix cacheable capability
When using the LVM cinder driver the cacheable capability is not being
reported by the backend to the scheduler when the transport protocol is
NVMe-oF (nvmet target driver), but it is properly reported if it's the
LIO target driver.

This also happens with other drivers that should be reporting that they
are cacheable.

This happens because even if the volume manager correctly uses the
"storage_protocol" reported by the drivers on their stats to add the
"cacheable" capability for iSCSI, FC, and NVMe-oF protocols, it isn't
taking into account all the variants these have:

- FC, fc, fibre_channel
- iSCSI, iscsi
- NVMe-oF, nvmeof, NVMeOF

Same thing happens for the shared_targets of the volumes, which are not
missing an iSCSI variant.

This patch creates constants for the different storge protocols to try
to avoid these variants (as agreed on the PTG) and also makes the
cacheable and shared_targets check against all the existing variants.

This change facilitates identifying NVMe-oF drivers (for bug 1961102)
for the shared_targets part.

Closes-Bug: #1969366
Related-Bug: #1961102
Change-Id: I1333b0471974e94eb2b3b79ea70a06e0afe28cd9
2022-04-20 18:47:46 +02:00
api-ref/source Merge "Prohibit volume manage to an encrypted volume type" 2022-03-21 20:07:22 +00:00
cinder Fix cacheable capability 2022-04-20 18:47:46 +02:00
doc Merge "Update new driver review checklist" 2022-04-01 13:40:30 +00:00
etc/cinder Merge "Sync rootwrap.conf from oslo.rootwrap" 2022-03-19 02:54:32 +00:00
playbooks Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
rally-jobs Remove Block Storage API v2 2021-06-04 17:21:28 -04:00
releasenotes Fix cacheable capability 2022-04-20 18:47:46 +02:00
roles Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02:00
tools Native multibackend-matrix Zuul v3 job 2021-09-08 01:05:44 +02: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: Fix migration E1120 no-value-for-parameter 2021-04-16 13:05:21 +02:00
.stestr.conf Add .stestr.conf configuration 2017-10-10 00:46:42 +00:00
.zuul.yaml Merge "Add grenade-skip-level irrelevant-files config" 2022-03-18 15:36:31 +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 [Pure Storage] Fix minimum SDK version required 2021-06-28 18:40:25 -04:00
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 mypy: ceph backup driver 2022-03-21 12:56:39 -04: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 Specify yoga os-brick in requirements 2022-03-07 11:39:01 -05:00
setup.cfg Updating python testing as per Yoga testing runtime 2021-12-14 02:31:27 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Specify yoga os-brick in requirements 2022-03-07 11:39:01 -05:00
tox.ini Update doc8 ignore-path 2022-03-11 13:20:26 -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