Queens Series Release Notes¶
2.2.1¶
Bug Fixes¶
Waiting for a provision state to be reached (via CLI
--waitargument or thewait_for_provision_statefunction) no longer aborts when the node’slast_errorfield gets populated. It can cause a normal deployment to abort if a heartbeat from the ramdisk fails because of locking - see story 2002094.
2.2.0¶
New Features¶
Allows a python API user to pass
latestto the client creation request for theos_ironic_api_versionparameter. The version utilized for REST API requests will, as a result, be the highest available version understood by both the ironicclient library and the server.
Adds base client properties to provide insight to a python API user of what the current REST API version that will be utilized, and if API version negotiation has occured. These new properties are
client.current_api_versionandclient.is_api_version_negotiatedrespectively.
Adds additional base client method to allow a python API user to trigger version negotiation and return the negotiated version. This new method is
client.negotiate_api_version().
The
os_ironic_api_versionparameter now accepts a list of REST API micro-versions to attempt to negotiate with the remote server. The highest available microversion in the list will be negotiated for the remaining lifetime of the client session.
Adds support for reading and modifying traits for a node, including adding traits to the detailed output of a node. This is available starting with Bare Metal API version 1.37.
The new commands are:
openstack baremetal node trait list <node>openstack baremetal node add trait <node> <trait> [...]openstack baremetal node remove trait <node> [<trait> [...]] [--all]
It also adds the following methods to the Python SDK:
NodeManager.get_traitsNodeManager.add_traitNodeManager.set_traitsNodeManager.remove_traitNodeManager.remove_all_traits
Bug Fixes¶
Fixes bug 1745099, which prevented a port group’s mode from being set to an integer value via the
openstack baremetal port group setcommand.
Other Notes¶
The maximum supported version supported for negotiation is now defined in the
common/http.pyfile. Any new feature added to the API client library must increment this version.
The maximum known version supported by the
OpenStackClientplugin is now defined by the maximum supported version for API negotiation as defined in thecommon/http.pyfile.
2.1.0¶
Bug Fixes¶
Replaces
openstack baremetal node power <on|off>with the two commands:openstack baremetal node power onandopenstack baremetal node power off.
There is no change to the command the user enters (the actual command line is the same). However, help (e.g. via
openstack -h baremetal) will list the two power commands (instead of the original one).
2.0.0¶
Prelude¶
The 2.0 release has three major changes:
The default API version for the
openstack baremetalandironiccommands changed from1.9tolatest.latestis the maximum version understood by both the client and the server. This change makes the CLI automatically pull in new features and changes (including potentially breaking), from servers.The
python-ironicclientpackage no longer includes thepython-openstackclient(OSC) package as a requirement.python-openstackclientis needed if using theopenstack baremetalCLI.The
ironiccommand line interface (ironiccommands) is deprecated and will be removed in the OpenStack S* release. Please use theopenstack baremetalCLI instead.
New Features¶
Adds missing
wanbootvalue to the list of supported boot devices.
The
ironiccommand now supports the specification of API version1. The actual version used will be the maximum 1.x version understood by both the client and the server. Thus, it is currently identical to thelatestvalue.
The bare metal OSC client (
openstack baremetalcommands) now supports the specification of API version1. The actual version used will be the maximum 1.x version understood by both the client and the server. Thus, it is currently identical to thelatestvalue.
Adds the ability to specify a configuration drive when rebuilding a node, via the
--config-driveoption to theopenstack baremetal node rebuildcommand. This is available starting with Bare Metal API version 1.35.
Upgrade Notes¶
The default API version for the
ironiccommand changed from1.9tolatest.latestis the maximum version understood by both the client and the server. This change makes the CLI automatically pull in new features and changes (including potentially breaking), when talking to new servers.Scripts that used the previous default API version, or that rely on some specific API behavior, should set the
IRONIC_API_VERSIONenvironment variable or use the--ironic-api-versionCLI argument.Note
This change does not affect the Python API.
The default API version for the bare metal OSC client (
openstack baremetalcommands) changed from1.9tolatest.latestis the maximum version understood by both the client and the server. This change makes the CLI automatically pull in new features and changes (including potentially breaking), when talking to new servers.Scripts that used the previous default API version, or that rely on some specific API behavior, should set the
OS_BAREMETAL_API_VERSIONenvironment variable or use the--os-baremetal-api-versionCLI argument.Note
This change does not affect the Python API.
python-ironicclientpackage no longer has thepython-openstackclientpackage (OSC) as a requirement.Users installing only the
python-ironicclientpackage will not automatically get access toopenstack baremetal ...OSC commands. To have them available, thepython-openstackclientpackage must be installed separately, or, when installingpython-ironicclientviapip, the newcliextra can be used to also install OSC:pip install python-ironicclient[cli]
These previously deprecated commands were removed and are no longer available:
openstack baremetal deleteopenstack baremetal listopenstack baremetal showopenstack baremetal setopenstack baremetal unset
Instead, use these corresponding equivalent commands:
openstack baremetal node deleteopenstack baremetal node listopenstack baremetal node showopenstack baremetal node setopenstack baremetal node unset
Support for creating a single node via
openstack baremetal createhad been previously deprecated; it is now no longer available. Instead, use the equivalent commandopenstack baremetal node create. The only valid usage ofopenstack baremetal createis to create various resources (chassis, nodes, port groups, and ports) from resource files.
Deprecation Notes¶
The
ironiccommand line interface (ironiccommands) is deprecated and will be removed in the OpenStack S* release. Please use theopenstack baremetalcommand line interface instead.
Bug Fixes¶
openstack baremetalcommands no longer fail when specifyinglatestas the API version (via--os-baremetal-api-versionorexport OS_BAREMETAL_API_VERSION=latest). For more details, see bug 1712935.
Fixes a bug where the client could not access the ironic API service when the client was instantiated with a keystone token and an ironic API endpoint that included a virtual host (such as “http://hostname/baremetal”). For more details, see bug 1721599.
Users of the
ironiccommand no longer have to specify an explicit API version to use the latest features. The default API version changed from1.9tolatest, which is the maximum version understood by both the client and the server.
Users of the
openstack baremetalcommands no longer have to specify an explicit API version to use the latest features. The default API version changed from1.9tolatest, which is the maximum version understood by both the client and the server.
When using
--os-baremetal-api-version=latest(foropenstack baremetalCLI) or--ironic-api-version=latest(forironicCLI), the resulting API version is now the maximum API version supported by both the client and the server. Previously, the maximum API version supported by the client was used, which preventedlatestfrom working with older servers.
No longer emits the incorrect warning “Please specify what to set” (or “unset”) when only the
--target-raid-configis specified in theopenstack baremetal node set(orunset) command.