OpenStack Block Storage (Cinder)
Go to file
Gorka Eguileor bc6585577e Expose volume_attachments in Volume OVO
In change-id Iabf9c3fab56ffef50695ce45745f193273822b39 we left the
`volume_attachment` out of the expected attributes of the Volume OVO
(even when te DB layer is providing that information) because it was
breaking some unit tests.

This means that in some cases we are unnecessarily loading the
attachments again (manually or via lazy loading) once we have the volume
OVO because that field is not set.

In this patch we populate the `volume_attachment` when we load the
Volume OVO from the DB.

Change-Id: I6576832b2c2722ab749cfe70bbc2058ead816c36
(cherry picked from commit e07bf3787a)
Conflicts:
	cinder/objects/volume.py
	cinder/tests/unit/objects/test_volume.py
(cherry picked from commit e85c22cef7)
(cherry picked from commit a5b67fd959)
Conflicts:
	cinder/tests/unit/volume/flows/test_create_volume_flow.py
2022-01-18 12:11:31 +01:00
api-ref/source Default type overrides 2020-09-16 14:05:31 +00:00
cinder Expose volume_attachments in Volume OVO 2022-01-18 12:11:31 +01:00
contrib/block-box Add note that block-box is not supported 2020-01-10 08:37:54 -06:00
doc 3PAR: Allow iSCSI driver to be enabled for Primera 4.2 onwards. 2021-12-06 22:25:43 +00:00
etc/cinder Merge "Fix outdated comment in rootwrap filter" 2020-05-18 14:01:44 +00:00
playbooks zuul: collect cinderlib logs from tempest node(s) only 2020-07-16 14:42:29 +02:00
rally-jobs Small doc updates: canonical URLs, rally doc, etc 2019-06-04 17:57:16 +02:00
releasenotes Delete attachment on remove_export failure 2022-01-18 10:35:40 +01:00
tools Make test-setup.sh compatible with mysql8 2020-06-22 14:27:34 -05:00
.coveragerc Update .coveragerc after the removal of openstack directory 2016-10-17 19:09:37 +05:30
.gitignore Tell reno to ignore the kilo branch 2020-02-15 14:15:18 -06:00
.gitreview Update .gitreview for stable/victoria 2020-09-28 09:31:30 +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 zuul: fixes for the A/A job (nodeset, variables) 2021-05-07 22:41:35 +02:00
CONTRIBUTING.rst Ussuri contrib docs community goal 2020-03-05 14:11:48 -05:00
HACKING.rst Update HACKING document to match current checks 2020-04-17 15:09:13 +00:00
LICENSE Initial fork out of Nova. 2012-05-03 10:48:26 -07:00
README.rst Merge "Refactor README links" 2020-01-22 11:44:36 +00:00
bindep.txt Add libcgroup related packages in bindep.txt 2021-08-23 00:47:12 +00:00
driver-requirements.txt 3PAR: Set the right minimum client version 2020-07-29 05:27:09 -07:00
lower-constraints.txt Require oslo.serialization 4.0.2 2021-02-09 10:10:07 -05:00
reno.yaml Tell reno to ignore the kilo branch 2020-02-15 14:15:18 -06:00
requirements.txt Require oslo.serialization 4.0.2 2021-02-09 10:10:07 -05:00
setup.cfg Merge "Fix dfs-sdk package name in extra reqs" 2020-08-18 02:36:39 +00:00
setup.py Cleanup py27 support 2020-04-17 14:47:10 +02:00
test-requirements.txt Remove oslo.versionedobjects extra install 2020-09-17 14:53:03 -05:00
tox.ini Update TOX_CONSTRAINTS_FILE for stable/victoria 2020-09-28 09:31:33 +00:00

README.rst

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