Fix API version in the manila tempest config

Manila's API is versioned, and each release
has a different version maximum that we want
to test with.

Change-Id: I51b799cd2adf2c38cb93727552ae750cc4d9bead
Closes-Bug: #1790857
This commit is contained in:
Goutham Pacha Ravi 2018-09-06 09:20:06 -07:00
parent 6c7340dba8
commit f132d6aae1
2 changed files with 24 additions and 0 deletions

View File

@ -65,6 +65,18 @@ tempest_extra_config: >
'object-storage-feature-enabled.discoverability': 'False',
'service_available.swift': 'False',
{%- endif -%}
{% if release in ['queens'] -%}
'share.max_api_microversion': '2.42',
{%- endif -%}
{% if release in ['pike'] -%}
'share.max_api_microversion': '2.40',
{%- endif -%}
{% if release in ['ocata'] -%}
'share.max_api_microversion': '2.32',
{%- endif -%}
{% if release in ['newton'] -%}
'share.max_api_microversion': '2.22',
{%- endif -%}
'share.multitenancy_enabled': 'False',
'share.enable_protocols': 'cephfs',
'share.capability_snapshot_support': 'False',

View File

@ -141,6 +141,18 @@ tempest_extra_config: >
'object-storage-feature-enabled.discoverability': 'False',
'service_available.swift': 'False',
{%- endif -%}
{% if release in ['queens'] -%}
'share.max_api_microversion': '2.42',
{%- endif -%}
{% if release in ['pike'] -%}
'share.max_api_microversion': '2.40',
{%- endif -%}
{% if release in ['ocata'] -%}
'share.max_api_microversion': '2.32',
{%- endif -%}
{% if release in ['newton'] -%}
'share.max_api_microversion': '2.22',
{%- endif -%}
'share.multitenancy_enabled': 'False',
'share.enable_protocols': 'cephfs',
'share.capability_snapshot_support': 'False',