cinder/cinder/tests/unit/volume/flows
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 entry create and cast tasks to manage workflow 2015-07-27 19:20:22 +03:00
fake_volume_api.py Fix A/A 'resource_backend' when scheduling volumes 2018-12-13 09:56:34 -05:00
test_create_volume_flow.py Fix A/A 'resource_backend' when scheduling volumes 2018-12-13 09:56:34 -05:00
test_manage_snapshot_flow.py Add test coverage to manage existing flow 2018-11-02 23:22:14 -03:00
test_manage_volume_flow.py Add test coverage to manage existing flow 2018-11-02 23:22:14 -03:00