cinder/cinder/objects
Gorka Eguileor e07bf3787a 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
2021-09-15 16:58:09 +02:00
..
__init__.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
backup.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
base.py Improve quota usage for temporary resources 2021-08-26 18:47:27 +02:00
cgsnapshot.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
cleanable.py Remove collections.abc backwards compatibility 2020-10-16 07:52:36 -05:00
cleanup_request.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
cluster.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
consistencygroup.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
dynamic_log.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
fields.py Adding missing Volume states to VolumeStatus enum 2018-12-06 22:58:55 +05:30
group.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
group_snapshot.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
group_type.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
manageableresources.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
qos_specs.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
request_spec.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
service.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
snapshot.py Improve quota usage for temporary resources 2021-08-26 18:47:27 +02:00
volume.py Expose volume_attachments in Volume OVO 2021-09-15 16:58:09 +02:00
volume_attachment.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00
volume_type.py Clear OVO history and compatibility 2021-08-25 17:50:48 +02:00