Allow testing of cinder multi backends w/ tempest
This commit adds the following variables to os_tempest role: tempest_volume_backend1_name tempest_volume_backend2_name tempest_volume_multi_backend_enabled This allows you to test that using multiple cinder backends simultaneously works as expected. A deployer may, for example, set tempest_volume_backend1_name to 'lvm' and tempest_volume_backend2_name to 'ceph'. To avoid any surprises, tempest_volume_multi_backend_enabled defaults to 'False', which is the current tempest default value for multi_backend. Closes-Bug: #1493911 Change-Id: I5eeb88d3e90b6ca046be96fb61a1cb6f4e6087ee
This commit is contained in:
parent
4da86250b7
commit
ed4ed6aa20
@ -63,7 +63,10 @@ tempest_swift_discoverable_apis:
|
|||||||
- slo
|
- slo
|
||||||
- tempurl
|
- tempurl
|
||||||
|
|
||||||
|
tempest_volume_backend1_name: backend1
|
||||||
|
tempest_volume_backend2_name: backend2
|
||||||
tempest_volume_backup_enabled: False
|
tempest_volume_backup_enabled: False
|
||||||
|
tempest_volume_multi_backend_enabled: False
|
||||||
|
|
||||||
tempest_main_group: tempest_all
|
tempest_main_group: tempest_all
|
||||||
|
|
||||||
|
@ -191,9 +191,12 @@ run_validation = {{ tempest_compute_run_ssh }}
|
|||||||
|
|
||||||
[volume]
|
[volume]
|
||||||
endpoint_type = internalURL
|
endpoint_type = internalURL
|
||||||
backend1_name = lvm
|
# NOTE: These backends are only tested when multi_backend is enabled
|
||||||
|
backend1_name = {{ tempest_volume_backend1_name }}
|
||||||
|
backend2_name = {{ tempest_volume_backend2_name }}
|
||||||
|
|
||||||
|
|
||||||
[volume-feature-enabled]
|
[volume-feature-enabled]
|
||||||
backup = {{ tempest_volume_backup_enabled }}
|
backup = {{ tempest_volume_backup_enabled }}
|
||||||
snapshot = false
|
snapshot = false
|
||||||
|
multi_backend = {{ tempest_volume_multi_backend_enabled }}
|
||||||
|
Loading…
Reference in New Issue
Block a user