Rocky Series Release Notes¶
2.5.4¶
Bug Fixes¶
Restore functionality when using the current release of keystoneauth by using the correct key file arguments (cacert, cert, key).
2.5.3¶
Bug Fixes¶
Prevent trying to access endpoints with
/v1/v1
when using endpoint overrides containing/v1
.
2.5.2¶
Bug Fixes¶
Fixes an issue where an endpoint_override was not considered when performing version negotiation, which would can result in the client attempting to base version negotiation off of an entry in the service catalog as opposed to an endpoint_override.
The
interface
argument was being ignored so that the HTTP client was always using the public endpoint for Ironic. This fixes it so that theinterface
argument is taken into consideration. See story 2005118.
2.5.0¶
New Features¶
Adds support for the
--conductor-group
argument to the following CLI commands:openstack baremetal node create
openstack baremetal node set
openstack baremetal node unset
openstack baremetal node list
This feature requires bare metal API 1.46.
Adds support for a node’s
deploy_step
(read-only) field. The deploy step indicates which step is being performed during the deployment/provisioning of a node. It is available starting with Bare Metal API version 1.44. For more details, see story 1753128.
Adds new family of arguments to the
openstack baremetal node set
command:--reset-XXX-interface
, whereXXX
is a name of a hardware interface. This argument resets the node’sXXX_interface
field to its calculated default (based on the node’s hardware type and the configuration).
Adds the new argument
--reset-interfaces
to theopenstack baremetal node set
command. It can be used together with--driver
to reset all interfaces to their defaults.
2.4.0¶
New Features¶
The client now supports
none
authorization method, which should be used if the Identity service is not present in the deployment that the client talks to. To use it:openstack baremetal CLI – supported starting with
osc-lib
version1.10.0
, by providing--os-auth-type none
and--os-endpoint
argument toopenstack
commandironic CLI – just specify the
--ironic-url
or--os-endpoint
argument in theironic
command (or set the corresponding environment variable)python API – specify the
endpoint_override
argument to theclient.get_client()
method (in addition to the requiredapi_version
)
Supports the node’s
fault
field, introduced in the Bare Metal API version 1.42, including displaying or querying nodes by this field.
Adds two new commands.
openstack baremetal node bios setting list <node_ident>
openstack baremetal node bios setting show <node_ident> <setting_name>
The first command returns a list of BIOS settings for a given node, the second command returns a specified BIOS setting from the given node.
Also adds support of bios_interface for the commands below.
openstack baremetal node create
openstack baremetal node show
openstack baremetal node set
openstack baremetal node unset
openstack baremetal driver list
openstack baremetal driver show
Adds support for
NodeManager.set_provision_state
,NodeManager.update
,NodeManager.get
, andNodeManager.list
to accept anos_ironic_api_version
keyword argument to override the API version for that specific call to the REST API.When overridden, the API version is not preserved, and if an unsupported version is requested from the remote API, an
UnsupportedVersion
exception is raised.
Deprecation Notes¶
common.http.HTTPClient
class is deprecated and will be removed in the Stein release. If you initialize the ironic client viav1.client.Client
class directly, please pass the keystoneauth session to the Client constructor, so thatcommon.http.SessionClient
is used instead.
As part of standardizing argument naming to the one used by keystoneauth, the following arguments to
client.get_client
method are deprecated and will be removed in Stein release:os_auth_token
: usetoken
insteados_username
: useusername
insteados_password
: usepassword
insteados_auth_url
: useauth_url
insteados_project_id
: useproject_id
insteados_project_name
: useproject_name
insteados_tenant_id
: usetenant_id
insteados_tenant_name
: usetenant_name
insteados_region_name
: useregion_name
insteados_user_domain_id
: useuser_domain_id
insteados_user_domain_name
: useuser_domain_name
insteados_project_domain_id
: useproject_domain_id
insteados_project_domain_name
: useproject_domain_name
insteados_service_type
: useservice_type
insteados_endpoint_type
: useinterface
insteadironic_url
: useendpoint
insteados_cacert
,ca_file
: usecafile
insteados_cert
,cert_file
: usecertfile
insteados_key
,key_file
: usekeyfile
instead
The
endpoint
argument to thev1.client.Client
constructor is deprecated and will be removed in Stein release. Instead, please use the standard keystoneauth argument nameendpoint_override
.
Bug Fixes¶
Waiting for a provision state to be reached (via CLI
--wait
argument or thewait_for_provision_state
function) no longer aborts when the node’slast_error
field gets populated. It can cause a normal deployment to abort if a heartbeat from the ramdisk fails because of locking - see story 2002094.
2.3.0¶
New Features¶
Adds support for rescue_interface for the commands below. They are available starting with ironic API microversion 1.38.
openstack baremetal node create
openstack baremetal node show
openstack baremetal node set
openstack baremetal node unset
openstack baremetal driver list
openstack baremetal driver show
Adds the below commands to OSC to support rescue mode for ironic available starting with API version 1.38:
openstack baremetal node rescue
openstack baremetal node unrescue