Merge "Bump the default bare metal (ironic) API version in the overcloud to 1.34"

This commit is contained in:
Jenkins 2017-08-22 22:43:16 +00:00 committed by Gerrit Code Review
commit 51266e1c54
2 changed files with 15 additions and 2 deletions

View File

@ -0,0 +1,13 @@
---
upgrade:
- |
The default bare metal API version used by the overcloud was bumped
to 1.34, which is latest API version supported by Pike ironicclient.
deprecations:
- |
In the Queens release ironicclient will start defaulting to the latest
supported bare metal API version, instead of the lowest. After that,
we will stop pinning the bare metal API version in ``overcloudrc``.
All scripts that rely on a specific version should set it explicitly via
either ``OS_BAREMETAL_API_VERSION`` environment variable or
``--os-baremetal-api-version`` command line argument.

View File

@ -111,8 +111,8 @@ PASSWORD_PARAMETER_NAMES = (
PLAN_NAME_PATTERN = '^[a-zA-Z0-9-]+$'
# The default version of the Bare metal API to set in overcloudrc.
# 1.29 is the latest API version in Ironic Ocata supported by ironicclient.
DEFAULT_BAREMETAL_API_VERSION = '1.29'
# 1.34 is the latest API version in Ironic Pike supported by ironicclient.
DEFAULT_BAREMETAL_API_VERSION = '1.34'
# The default version of the Image API to set in overcloudrc.
DEFAULT_IMAGE_API_VERSION = '2'