We are satisfied to announce the release of: ironic-inspector 11.3.0: Hardware introspection for OpenStack Bare Metal This release is part of the antelope 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. 11.3.0 ^^^^^^ Upgrade Notes ************* * The minimum version of SQLAlchemy is now "1.4.0", in preparation for the future anticipated release of SQLAlchemy "2.0.0". * The minimum version of Oslo.DB is now "12.1.0", in preparation for the future anticipated release of SQLAlchemy "2.0.0". * Database schema upgrades from versions prior to "7.3.0" are not supported. Please upgrade to an intermediate release prior to upgrading to this release. Deprecation Notes ***************** * Plugin maintainers should be aware that the Node Cache object field "version_id" filed is no longer in use. It is still returned by the data model if stored for the purposes of compatability, but Inspector will not update the field through the normal course of it's operation. Bug Fixes ********* * Fixes an issue where database responses of nodes would get orphaned in inspector process RAM, and would not be garbage collected. We were able to discover and reproduce this issue while working on database connectivity locks remaining in place. Please see story 2009727 (https://storyboard.openstack.org/#!/story/2009727) for more details. Other Notes *********** * Plugin maintainers who are directly working with the database will need to update their plugins. Specifically the Database API has been delineated into using "enginefacade" with a dedicated reader and writer model, in anticipation of support for SQLAlchemy 2.0 and an eventual merge of Inspector into Ironic at some point in the future. Database actions are now performed through the "ironic_inspector.db.api" module, where previously they were spread across "ironic_inspector.db" and "ironic_inspector.node_cache". Changes in ironic-inspector 11.2.0..11.3.0 ------------------------------------------ 20797f0 Stop gating on unit test coverage e1f3b71 Make reno ignore bugfix eol tags 84b5f8c Use new get_rpc_client API from oslo.messaging f853061 setup.py: Remove 'py_modules' cb1e856 Rename NodeInfo._lock to avoid conflict with Mock._lock in tests 0f5bbf6 Fix tox4 and setuptools errors dac7f02 Remove lib/neutron-legacy leftovers 3fe42b5 SQLAlchemy 2.0 Support Diffstat (except docs and test files) ------------------------------------- devstack/upgrade/upgrade.sh | 2 +- ironic_inspector/cmd/dbsync.py | 4 +- ironic_inspector/common/rpc.py | 2 +- ironic_inspector/conductor/manager.py | 8 +- ironic_inspector/db/__init__.py | 19 + ironic_inspector/{ => db}/alembic.ini | 0 ironic_inspector/db/api.py | 637 +++++++++++++++++++++ ironic_inspector/db/migration.py | 118 ++++ ironic_inspector/{ => db}/migrations/env.py | 36 +- .../{ => db}/migrations/script.py.mako | 0 .../18440d0834af_introducing_the_aborting_state.py | 59 ++ .../2970d2d44edc_add_manage_boot_to_nodes.py | 0 .../versions/578f84f38d_inital_db_schema.py | 0 .../882b2d84cb1b_attribute_constraints_relaxing.py | 0 ...5109d5063a_added_scope_column_to_rules_table.py | 0 .../bf8dec16023c_add_introspection_data_table.py | 0 ...d00d6e3f38c4_change_created_finished_at_type.py | 0 ...2e48801c8ef_introducing_node_state_attribute.py | 0 .../migrations/versions/d588418040d_add_rules.py | 0 ...9a4a81d88_add_invert_field_to_rule_condition.py | 0 ironic_inspector/{db.py => db/model.py} | 91 +-- .../18440d0834af_introducing_the_aborting_state.py | 43 -- ironic_inspector/node_cache.py | 311 +++++----- ironic_inspector/plugins/introspection_data.py | 8 +- ironic_inspector/process.py | 12 +- ironic_inspector/rules.py | 63 +- ironic_inspector/test/base.py | 93 ++- ironic_inspector/test/functional.py | 23 +- ironic_inspector/test/unit/db/__init__.py | 0 ironic_inspector/test/unit/db/test_api.py | 146 +++++ .../test/unit/{ => db}/test_migrations.py | 11 +- ironic_inspector/test/unit/test_db.py | 80 --- ironic_inspector/test/unit/test_introspect.py | 4 +- ironic_inspector/test/unit/test_manager.py | 7 - ironic_inspector/test/unit/test_node_cache.py | 399 +++++-------- .../test/unit/test_plugins_introspection_data.py | 15 +- ironic_inspector/test/unit/test_process.py | 24 +- ironic_inspector/test/unit/test_rules.py | 16 +- ironic_inspector/test/unit/test_utils.py | 1 + ironic_inspector/utils.py | 26 + releasenotes/config.yaml | 2 + ...qlalchemy-minimum-version-cd34a2e10d7946fd.yaml | 37 ++ requirements.txt | 6 +- setup.py | 3 +- tox.ini | 9 +- zuul.d/project.yaml | 4 +- 46 files changed, 1519 insertions(+), 800 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index d09d388..5d1c2de 100644 --- a/requirements.txt +++ b/requirements.txt @@ -27 +27 @@ oslo.context>=2.22.0 # Apache-2.0 -oslo.db>=6.0.0 # Apache-2.0 +oslo.db>=12.1.0 # Apache-2.0 @@ -30 +30 @@ oslo.log>=4.3.0 # Apache-2.0 -oslo.messaging>=5.32.0 # Apache-2.0 +oslo.messaging>=14.1.0 # Apache-2.0 @@ -40 +40 @@ stevedore>=1.20.0 # Apache-2.0 -SQLAlchemy>=1.2.19 # MIT +SQLAlchemy>=1.4.0 # MIT
participants (1)
-
no-reply@openstack.org