Despite having the src_type paremeter for the storage_pool dictionary as a mandatory parameter, the value is not being used to filter the volumes to migrate, using only 'src_pool'. This change makes 'src_type' optional, since it was ignored until this point, making it optional keeps the same behaviour by default. If 'src_type' is in the audit parameters, the strategy uses both 'src_pool' and 'src_type' to filter the volumes to migrate. Closes-Bug: 2111507 Change-Id: Id83a96de85ada1ae6c0e25f8b7fcf54034604911 Signed-off-by: jgilaber <jgilaber@redhat.com>
11 lines
451 B
YAML
11 lines
451 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Currently, the zone migration strategy has a ``src_type`` parameter in the ``storage_pools``
|
|
input parameter which is ignored, even though it's required when storage_pools is defined.
|
|
|
|
This patch makes the src_type parameter optional in the zone migration strategy, and when
|
|
passed by the user, will use its values to filter the volumes which can be migrated.
|
|
|
|
For more details: https://launchpad.net/bugs/2111507
|