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.