[Queens only] Correct microversion settings

The microversions aren't correct for an Queens undercloud
and a Newton overcloud, causing the workload testing to
fail with:

Creating overcloud instance instance_1742604c63
FAILURE: Instance failed to boot within 120 seconds
Version 2.60 is not supported by the API. Minimum is 2.1
and maximum is 2.38. (HTTP 406) (Request-ID: <snip>)

Change-Id: I578c13b91d5cb65229d18a87f3fcff0c28c14427
This commit is contained in:
Jesse Pretorius (odyssey4me) 2021-01-20 13:43:03 +00:00
parent 8edb5953d8
commit c704d084e0
1 changed files with 5 additions and 5 deletions

View File

@ -32,15 +32,15 @@ function prepare_env {
source ${OVERCLOUD_RC}
{% if ffu_overcloud_upgrade | bool %}
# Pin the API's to Newton max versions
export OS_COMPUTE_API_VERSION=2.38
export OS_SHARE_API_VERSION=2.22
export OS_VOLUME_API_VERSION=3
{% elif overcloud_upgrade | bool %}
# Pin the API's to Queens max versions
export OS_COMPUTE_API_VERSION=2.60
export OS_SHARE_API_VERSION=2.42
export OS_VOLUME_API_VERSION=3
{% elif overcloud_upgrade | bool %}
# Pin the API's to Train max versions
export OS_COMPUTE_API_VERSION=2.79
export OS_SHARE_API_VERSION=2.51
export OS_VOLUME_API_VERSION=3
{% endif %}
}