Stop hardcoding baremetal API version in stackrc

Long time ago it was required because ironicclient defaulted to
an ancient version. It was changed back in Queens (ironicclient 2.0),
so we can drop it now to avoid confusion.

Change-Id: Icea0bdf6d5dcdd81ce9c34be7af8a241da0861bc
Closes-Bug: #1789392
This commit is contained in:
Dmitry Tantsur 2018-08-28 11:58:03 +02:00
parent a885599770
commit 9729870745
2 changed files with 7 additions and 3 deletions

View File

@ -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'

View File

@ -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.