From d286b7fb753c381d0ddc5ed74fcf594488bbd273 Mon Sep 17 00:00:00 2001 From: Dmitry Tantsur Date: Thu, 9 Feb 2017 12:15:55 +0100 Subject: [PATCH] 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: I4d5ea005dfce403b21143a9bab42960950c43b36 Depends-On: I285178d0b7384956eb151ca66007d7354566574d Partial-Bug: #1663203 (cherry picked from commit a57eef23204df7903f08e8060d178d69a4572deb) --- .../undercloud-install/os-apply-config/root/stackrc | 5 ++++- .../notes/ironic-api-version-d2b4ec1474918f12.yaml | 10 ++++++++++ 2 files changed, 14 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/ironic-api-version-d2b4ec1474918f12.yaml diff --git a/elements/undercloud-install/os-apply-config/root/stackrc b/elements/undercloud-install/os-apply-config/root/stackrc index 663c756e9..64dcc2416 100644 --- a/elements/undercloud-install/os-apply-config/root/stackrc +++ b/elements/undercloud-install/os-apply-config/root/stackrc @@ -19,12 +19,15 @@ export OS_AUTH_URL OS_USERNAME=admin OS_TENANT_NAME=admin COMPUTE_API_VERSION=1.1 -OS_BAREMETAL_API_VERSION=1.15 +# 1.29 is the latest API version in Ironic Ocata supported by ironicclient +IRONIC_API_VERSION=1.29 +OS_BAREMETAL_API_VERSION=$IRONIC_API_VERSION OS_NO_CACHE=True OS_CLOUDNAME=undercloud export OS_USERNAME export OS_TENANT_NAME export COMPUTE_API_VERSION +export IRONIC_API_VERSION export OS_BAREMETAL_API_VERSION export OS_NO_CACHE export OS_CLOUDNAME diff --git a/releasenotes/notes/ironic-api-version-d2b4ec1474918f12.yaml b/releasenotes/notes/ironic-api-version-d2b4ec1474918f12.yaml new file mode 100644 index 000000000..b7245b19f --- /dev/null +++ b/releasenotes/notes/ironic-api-version-d2b4ec1474918f12.yaml @@ -0,0 +1,10 @@ +--- +fixes: + - | + The default ``IRONIC_API_VERSION`` in ``stackrc`` is now set to the same + value as ``OS_BAREMETAL_API_VERSION`` for consistency between two clients. +other: + - | + The default ``OS_BAREMETAL_API_VERSION`` in ``stackrc`` was bumped to 1.29, + which corresponds to Ocata final and allows using all recent features + without specifying and explicit version.