cinder/cinder/objects
Alan Bishop 541168b86e Fix A/A 'resource_backend' when scheduling volumes
Fix an issue with the 'resource_backend' included in the scheduler spec
for creating a volume associated with another volume, snapshot, or
group/cg. When running A/A, the 'resource_backend' must reference the
cluster, not the host.

Enhance the unit tests that cover this area. This includes fixing the
'expected_spec' so it copies a dictionary rather than referencing it,
so that external changes to the dictionary don't inadvertently update
the unit test's expected results.

Closes-Bug: #1808343
Change-Id: I7d414844d094945b55a094a8426687595f22de28
2018-12-13 09:56:34 -05:00
..
__init__.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
backup.py Handle migrating encryption key IDs in Backup table 2018-04-03 12:23:38 -04:00
base.py Fix A/A 'resource_backend' when scheduling volumes 2018-12-13 09:56:34 -05:00
cgsnapshot.py Fix replication freeze mechanism 2017-01-19 10:42:24 +01:00
cleanable.py Make code py3-compatible (global callable()) 2018-08-13 22:45:36 +05:30
cleanup_request.py Add cleanable base object and cleanup request VO 2016-10-04 15:17:31 +02:00
cluster.py Add support for promoting a failed over backend 2018-05-09 12:19:33 -04:00
consistencygroup.py CG API changes for migrating CGs 2016-11-22 19:08:20 -05:00
dynamic_log.py Add service dynamic log change/query 2017-05-16 13:37:35 +02:00
fields.py Keep volume's status in 'creating' when creating from backup 2018-06-30 01:40:20 +00:00
group.py Add group to cluster when init host 2017-07-12 14:08:43 +08:00
group_snapshot.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
group_type.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
manageableresources.py Switch ManageableSnaphots & ManageableVolumes list to OVO 2017-01-25 00:41:30 +00:00
qos_specs.py OVO: Remove child_versions from list classes 2017-05-25 13:00:13 +02:00
request_spec.py Support availability-zone type 2018-05-17 12:09:12 +00:00
service.py OVO: support query for disabled services 2018-03-29 11:27:49 -04:00
snapshot.py Validate volume status again when snapshot created 2017-12-29 02:56:44 +00:00
volume.py Merge "Add tests for multiattach check in cinder.objects" 2018-10-10 03:42:51 +00:00
volume_attachment.py Add online data migration routine for attachment_specs 2017-12-19 16:42:08 -05:00
volume_type.py Add tests for multiattach check in cinder.objects 2018-09-29 19:24:46 +05:30