ironic-inspector/ironic_inspector/plugins
Anton Arefiev 3fe42b53fd SQLAlchemy 2.0 Support
Primarily remove the workaround added in
Ia6d512ff2ae417bab938cb095fbb0884d195010a which added
continued use of autocommit, which is incompatible with
SQLAlchemy 2.0.

Also set the environment for unit tests to report compatability
warnings, although it appears none are being reported at this time.

Also cuts out the db upgrade cruft to only use the online database
migration code through oslo_db's enginefacade, which has the smarts
to handle online or offline migrations.

And then, retools unit/functional test data storage to utlize sqlite,
and in that re-tooled the queries to prevent locking conditions
which could exist with queries, and some additional refactoring/cleanup.

Also, don't mock and test time.sleep().

Additionally, it looks like we have discovered the root cause of the
memory/connection leakage issue which has been observed, due to the
way lists of nodes are processed/returned.

This change was based upon the work in
I506da42a9891a245831f325e34bec92e0a3f33f0 which is included in
this commit as the entire database structure and interaction
has been modified for ironic-inspector.

Co-Authored-By: aarefiev <aarefiev@mirantis.com>
Story: 2009727
Task: 44132
Change-Id: Ic88eb9dec5fddc924a72d9a23c17a304954ebf46
2022-12-15 09:28:55 -08:00
..
__init__.py Rename discoverd -> inspector 2015-05-29 09:06:56 +02:00
accel_device.py Identify accelerator devices during introspection 2020-08-20 14:03:37 +08:00
base_physnet.py Use port.id instead of port.uuid 2021-03-24 00:42:47 +01:00
base.py Stop using six library 2019-12-17 09:23:01 +01:00
capabilities.py Centralize config options 2018-01-04 20:43:58 -08:00
discovery.py Allow setting other fields on discovery 2020-06-29 09:57:37 +02:00
example.py Officially deprecate rollback for introspection rules 2016-03-08 15:12:47 +01:00
extra_hardware.py Trivial: better guard against malformed data in extra_hardware 2021-05-03 15:41:40 +02:00
introspection_data.py SQLAlchemy 2.0 Support 2022-12-15 09:28:55 -08:00
lldp_basic.py Use latest version of python construct 2020-05-14 10:37:07 +02:00
local_link_connection.py Use port.id instead of port.uuid 2021-03-24 00:42:47 +01:00
pci_devices.py Remove pci_devices config option 2019-06-06 01:37:19 +00:00
physnet_cidr_map.py Port physical network CIDR map hook 2020-04-17 16:31:40 +02:00
raid_device.py Remove translation of log messages Part-1 2017-03-24 21:45:04 +00:00
rules.py Use openstacksdk for ironic module 2020-03-23 14:28:09 +01:00
standard.py Introduce skip list to inspector 2022-09-20 11:18:36 +01:00