diff --git a/extraconfig/post_deploy/undercloud_post.sh b/extraconfig/post_deploy/undercloud_post.sh index ba8c7be30f..f1559fec2c 100755 --- a/extraconfig/post_deploy/undercloud_post.sh +++ b/extraconfig/post_deploy/undercloud_post.sh @@ -21,9 +21,6 @@ export COMPUTE_API_VERSION=1.1 export NOVA_VERSION=1.1 export OS_NO_CACHE=True export OS_CLOUDNAME=undercloud -# 1.34 is the latest API version in Ironic Pike supported by ironicclient -export IRONIC_API_VERSION=1.34 -export OS_BAREMETAL_API_VERSION=\$IRONIC_API_VERSION export OS_IDENTITY_API_VERSION='3' export OS_PROJECT_DOMAIN_NAME='Default' export OS_USER_DOMAIN_NAME='Default' diff --git a/releasenotes/notes/stackrc-baremetal-version-309809c01105095f.yaml b/releasenotes/notes/stackrc-baremetal-version-309809c01105095f.yaml new file mode 100644 index 0000000000..698e05e8da --- /dev/null +++ b/releasenotes/notes/stackrc-baremetal-version-309809c01105095f.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + The baremetal API version is no longer hardcoded in ``stackrc``. This + allows easy access to new features in *ironicclient* as they are + introduced. If you need to use a fixed API version, set the + ``OS_BAREMETAL_API_VERSION`` environment variable.