Bump OS_BAREMETAL_API_VERSION to 1.29
This way the CLI and OSC users can use the latest features without specifying
the version explicitly. The final Ocata version is 1.31, but 1.29 is the most
recent version supported by ironicclient Ocata.
Change-Id: I8e0818eff079a802e7c2023749ff3824958dbd7d
Depends-On: I285178d0b7384956eb151ca66007d7354566574d
Partial-Bug: #1663203
(cherry picked from commit 6180c2cdf6
)
This commit is contained in:
parent
f2a78d4b03
commit
c4c3499490
|
@ -0,0 +1,6 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
The default ``OS_BAREMETAL_API_VERSION`` and ``IRONIC_API_VERSION`` in
|
||||
``overcloudrc`` were bumped to 1.29, which corresponds to Ocata final and
|
||||
allows using all recent features without specifying an explicit version.
|
|
@ -101,3 +101,7 @@ 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'
|
||||
|
|
|
@ -16,6 +16,8 @@ import socket
|
|||
|
||||
from six.moves import urllib
|
||||
|
||||
from tripleo_common import constants
|
||||
|
||||
|
||||
def get_service_ips(stack):
|
||||
service_ips = {}
|
||||
|
@ -89,6 +91,8 @@ def create_overcloudrc(stack, no_proxy, admin_password):
|
|||
'OS_AUTH_TYPE': 'password',
|
||||
'OS_PASSWORD': admin_password,
|
||||
'OS_AUTH_URL': overcloud_endpoint,
|
||||
'OS_BAREMETAL_API_VERSION': constants.DEFAULT_BAREMETAL_API_VERSION,
|
||||
'IRONIC_API_VERSION': constants.DEFAULT_BAREMETAL_API_VERSION,
|
||||
}
|
||||
|
||||
overcloudrc = CLEAR_ENV
|
||||
|
|
Loading…
Reference in New Issue