We are overjoyed to announce the release of: ironic-inspector 9.1.0: Hardware introspection for OpenStack Bare Metal This release is part of the train release series. The source is available from: https://opendev.org/openstack/ironic-inspector Download the package from: https://tarballs.openstack.org/ironic-inspector/ Please report issues through: https://storyboard.openstack.org/#!/project/944 For more details, please see below. 9.1.0 ^^^^^ New Features ************ * Adds the capability for introspection data to be posted to the API when a baremetal node is in "active" or "rescue" states. This feature may be useful for data center operators who wish to update introspection data periodically. To enable this feature, set "[processing]permit_active_introspection" to "True". When this is set, the value of "[processing]power_off" is overridden for nodes in "active" or "rescue" states. * Adds support to enroll node with IPv6 BMC address. Introduces a configuration option "[discovery]enabled_bmc_address_version" to specify the order of preferred IP version of the BMC address. Upgrade Notes ************* * The deprecated options from the "ironic" section "os_region", "auth_strategy", "ironic_url", "os_service_type" and "os_endpoint_type" have been removed. Please use **keystoneauth** options instead. * The deprecation configuration options "os_service_type", "os_region" and "os_endpoint_type" from the "[swift]" section have been removed. Deprecation Notes ***************** * The configuration option "[swift]max_retries" is deprecated. It has been doing nothing for a few releases already. Bug Fixes ********* * No longer fails introspection if memory or CPU information is not provided in the inventory. These are no longer required for scheduling, introspection should not require them either. Changes in ironic-inspector 9.0.0..9.1.0 ---------------------------------------- 59a4c64 Move dbsync to the correct path 9d1c6a4 Use oslo_db.sqlalchemy.test_fixtures 46a90d6 Enable processing of active nodes a6509ba Revert "Lets temporarily disable broken templates so we can fix gate" da7d3bb Lets temporarily disable broken templates so we can fix gate f3fd8e9 Comment out race prone sqlite db model sync test b7bb387 add local bindep.txt 30a4e09 Adds bandit template and exclude some of tests 85a3186 Use openstacksdk for accessing Swift fcb0ca8 Use bmc ipv6 address while processing introspection data 40450dc Remove deprecated authentication options for accessing ironic 48d5d56 Document storage backends and migrating between them ca044c9 Remove deprecated options for accessing Swift 463d0a2 Stop failing on missing memory or CPU 686a64b Update Python 3 test runtimes for Train d571794 Simplify locking code f53cbe3 Remove pci_devices config option 52349c6 Incorporate bandit support in CI Diffstat (except docs and test files) ------------------------------------- bindep.txt | 6 + ironic_inspector/{ => cmd}/dbsync.py | 4 +- ironic_inspector/common/ironic.py | 65 ++-- ironic_inspector/common/swift.py | 42 +-- ironic_inspector/conf/discovery.py | 10 + ironic_inspector/conf/ironic.py | 35 -- ironic_inspector/conf/opts.py | 1 - ironic_inspector/conf/processing.py | 10 +- ironic_inspector/conf/swift.py | 22 +- ironic_inspector/introspect.py | 2 +- ironic_inspector/node_cache.py | 75 ++-- ironic_inspector/plugins/discovery.py | 13 +- ironic_inspector/plugins/pci_devices.py | 17 - ironic_inspector/plugins/standard.py | 32 +- ironic_inspector/process.py | 16 +- ironic_inspector/test/base.py | 4 +- ironic_inspector/test/functional.py | 2 +- ironic_inspector/test/unit/test_common_ironic.py | 20 +- ironic_inspector/test/unit/test_introspect.py | 12 +- ironic_inspector/test/unit/test_migrations.py | 100 ++---- ironic_inspector/test/unit/test_node_cache.py | 41 ++- .../test/unit/test_plugins_discovery.py | 34 +- .../test/unit/test_plugins_standard.py | 36 +- ironic_inspector/test/unit/test_process.py | 47 ++- ironic_inspector/test/unit/test_swift.py | 144 +++----- ironic_inspector/utils.py | 23 +- lower-constraints.txt | 4 +- .../active-introspection-949f4a50c9d5218a.yaml | 11 + .../notes/cpu-memory-cfdc72b625780871.yaml | 6 + .../notes/deprecated-ironic-1751ceec6295917d.yaml | 7 + ...-nodes-with-bmc-v6address-ba224f4a8a151c53.yaml | 6 + .../notes/swift-deprecations-d7680b867fae7f3d.yaml | 5 + .../notes/swift-max-retries-dfaecb74bd3aba9a.yaml | 5 + requirements.txt | 2 +- setup.cfg | 5 +- test-requirements.txt | 1 + tools/bandit.yml | 400 +++++++++++++++++++++ tox.ini | 6 + zuul.d/ironic-inspector-jobs.yaml | 21 ++ zuul.d/project.yaml | 5 +- 42 files changed, 894 insertions(+), 432 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d750d33..ae6ea25 100644 --- a/requirements.txt +++ b/requirements.txt @@ -19 +18,0 @@ python-ironicclient>=2.3.0 # Apache-2.0 -python-swiftclient>=3.2.0 # Apache-2.0 @@ -20,0 +20 @@ pytz>=2013.6 # MIT +openstacksdk>=0.30.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 2507ea4..ce3392e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -3,0 +4 @@ +bandit!=1.6.0,>=1.1.0,<2.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org