Pike Series (6.0.0 - 6.0.x) Release Notes¶
6.0.3-5¶
Security Issues¶
Fixes insufficient input filtering when looking up a node by information from the introspection data. It could potentially allow SQL injections via the
/v1/continueAPI endpoint. See story 2005678 for details.
6.0.2¶
Bug Fixes¶
Fixes bug in which the
switch_idfield in a port’slocal_link_connectioncan be set to a non-MAC address if the processed LLDP has a value other than a MAC address forChassisID. The Bare Metal API requires theswitch_idfield to be a MAC address, and will return an error otherwise. See bug 1748022 for details.
6.0.1¶
Bug Fixes¶
The older
ipmi_addressfield in the introspection data no longer has priority over the newerbmc_addressinventory field during lookup. This fixes lookup based on MAC addresses, when the BMC address is reported as0.0.0.0for any reason (see bug 1714944).
6.0.0¶
New Features¶
Querying ironic-inspector rules API now also returns the
invertandmultipleattributes of the associated conditions.
Add
disabledoption toadd_ports, so discovered nodes can be created without creating ports.
Add a check from the
link_local_connectionplugin to use data stored by thelldp_basic; this avoids parsing the LLDP packets twice.
Adds node state to the
GET /v1/introspection/<node UUID or name>andGET /v1/introspectionAPI response data.
Processing hooks can now define dependencies on other processing hooks. ironic-inspector start up fails when required hooks are not enabled before the hook that requires them.
Update
pxe_enabledfield on ports. It is set toTruefor the PXE-booting port andFalsefor the remaining ports. Both newly discovered and existing ports are affected.
Upgrade Notes¶
Experimental setting IPMI credentials support was removed from all versions of the API. The current ironic-inspector API version was bumped to 1.12 to mark this change.
The default API version was synchronised with the current API version again after removal of the IPMI credentials setting.
Ports creating logic was moved from core processing code to the
validate_interfacesprocessing hook. This may affect deployments that disable this hook or replace it with something else. Also make sure to place this hook before any hooks expecting ports to be created.
Bare metal API version 1.19 is now required.
Removes deprecated configuration options:
introspection_delay_driversfrom the default section andlog_bmc_addressfrom theprocessingsection.
Support for rollback actions in introspection rules was removed.
Old status records are no longer removed by default. They are still removed if a node is removed from Ironic.
Deprecation Notes¶
The
node_status_keep_timeconfiguration option is deprecated. Now that we can remove status information about nodes removed from ironic, this option does not make much sense, and may be confusing
Bug Fixes¶
Timeout in an active state led to an undefined transition error. This is fixed and an introspection finishes now with
Timeouterror.
0.0.0.0and an empty string in thebmc_addressinventory field are now correctly treated as missing BMC address.
For postgreSQL, the database migration command
ironic-inspector-dbsync upgradealways failed (with enum NODE_STATE does not exist). This is fixed and the migration now works.
Do not fail the whole introspection due to a value formatting error during introspection rules rollback. See bug 1686942 for an example and detailed investigation.