We are happy to announce the release of: ironic-inspector 5.1.0: Hardware introspection for OpenStack Bare Metal This release is part of the pike release series. The source is available from: http://git.openstack.org/cgit/openstack/ironic-inspector Download the package from: https://tarballs.openstack.org/ironic-inspector/ Please report issues through launchpad: http://bugs.launchpad.net/ironic-inspector For more details, please see below. 5.1.0 ^^^^^ Bug Fixes * The POST /v1/introspection/<Node ID>/data/unprocessed API updates the started_at time when ironic inspector begins processing the node. * Exception CalledProcessError is raised when running *iptables* cmd on start up. The issue is caused by eventlet bug, see: https://github.com/eventlet/eventlet/issues/357 The issue affects *ironic-inspector* only if it manages firewall - configured with "manage_firewall = True" configuration option. * Wrong provision state name 'inspectfail' in *ironic-inspector* valid states for node inspection. This issue leads to state inconsistency between *ironic* and *ironic-inspector*. For example, if *ironic* inspection timeout is lower than *ironic-inspector*'s, and inspection timeout occurs, *ironic* will transition node into 'inspect failed' provision state. In such case when node inspection finishes without errors the node will be in 'inspect failed' provision state with inspection in 'finished' state. Changes in ironic-inspector 5.0.0..5.1.0 ---------------------------------------- a509edd Don't pass sqlite_db in db_options.set_defaults() 1e6b689 Remove translation of log messages Part-2 c06a9a7 Remove translation of log messages Part-1 672ec0e Fix some reST field lists in docstrings 402769f Use eventlet version of subprocess d03a8cc Mention state machine diagram generation in contrib guide 8f02034 Updated from global requirements 6161081 Fix inconsistent service naming in install guide 62dbe13 Update broken alembic links in contributing guide 166d26a Updated from global requirements 43c89ef Reapply doesn't update started_at time 5b97e40 Fix tox test failed because timezone is CST 36ac6a3 Python 3.4 (py34) is removed from tox envlist 490cad0 Fix valid provision states for introspection d25cda3 Updated from global requirements 886d05e Add fsm dot diagram generator ab78e0c Updated from global requirements 762c404 Update HTTP API docs with missing 1.9 API microversion f35ab5d Functional tests: set introspection_delay to 0 8ef07db Update the Version Support Matrix in install guide ae882c5 Use IRONIC_VM_NETWORK_BRIDGE ea97d2b Use flake8-import-order c05a353 Use specific end version since liberty is EOL 4bd2a72 Trivial: mock sleep in introspection tests 83e94c2 Minor update to CONTRIBUTING.rst 51b2feb Update hardware inventory in docs d81b035 Update release notes for Ocata release c56e43b Update documentation to deploy Ironic Inspector with DevStack 5b54f66 Updated from global requirements 794fbcf Grenade: don't enable tempest plugins in settings Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 84 ++++++++-- devstack/example.local.conf | 52 +++++- devstack/plugin.sh | 2 +- devstack/upgrade/settings | 3 - ironic_inspector/common/i18n.py | 10 -- ironic_inspector/common/ironic.py | 6 +- ironic_inspector/common/lldp_parsers.py | 21 +-- ironic_inspector/db.py | 3 +- ironic_inspector/dbsync.py | 2 +- ironic_inspector/firewall.py | 16 +- ironic_inspector/introspect.py | 24 +-- ironic_inspector/main.py | 50 +++--- ironic_inspector/migrations/env.py | 3 +- ironic_inspector/node_cache.py | 33 ++-- ironic_inspector/plugins/base.py | 6 +- ironic_inspector/plugins/capabilities.py | 12 +- ironic_inspector/plugins/discovery.py | 12 +- ironic_inspector/plugins/extra_hardware.py | 15 +- ironic_inspector/plugins/lldp_basic.py | 7 +- ironic_inspector/plugins/local_link_connection.py | 17 +- ironic_inspector/plugins/pci_devices.py | 17 +- ironic_inspector/plugins/raid_device.py | 16 +- ironic_inspector/plugins/standard.py | 30 ++-- ironic_inspector/process.py | 62 ++++---- ironic_inspector/rules.py | 26 +-- ironic_inspector/test/base.py | 13 +- ironic_inspector/test/functional.py | 22 ++- ironic_inspector/test/unit/test_common_ironic.py | 2 +- ironic_inspector/test/unit/test_firewall.py | 5 +- ironic_inspector/test/unit/test_introspect.py | 25 ++- ironic_inspector/test/unit/test_migrations.py | 5 +- ironic_inspector/test/unit/test_node_cache.py | 2 +- .../test/unit/test_plugins_discovery.py | 1 + ironic_inspector/test/unit/test_process.py | 10 +- ironic_inspector/utils.py | 10 +- ...Reapply_update_started_at-8af8cf254cdf8cde.yaml | 4 + ...edProcessError-on-startup-28d9dbed85a81542.yaml | 9 ++ ...rong-provision-state-name-150c91c48d471bf9.yaml | 11 ++ releasenotes/source/current-series.rst | 5 - releasenotes/source/index.rst | 19 +-- releasenotes/source/liberty.rst | 6 +- releasenotes/source/mitaka.rst | 6 +- releasenotes/source/newton.rst | 6 +- releasenotes/source/ocata.rst | 6 + releasenotes/source/unreleased.rst | 6 +- requirements.txt | 12 +- setup.py | 2 +- test-requirements.txt | 3 +- tools/states_to_dot.py | 94 +++++++++++ tox.ini | 9 +- 55 files changed, 781 insertions(+), 366 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 938790f..852e512 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17 +17 @@ netaddr!=0.7.16,>=0.7.13 # BSD -pbr>=1.8 # Apache-2.0 +pbr>=2.0.0 # Apache-2.0 @@ -22 +22 @@ oslo.concurrency>=3.8.0 # Apache-2.0 -oslo.config!=3.18.0,>=3.14.0 # Apache-2.0 +oslo.config>=3.22.0 # Apache-2.0 @@ -26 +26 @@ oslo.log>=3.11.0 # Apache-2.0 -oslo.middleware>=3.0.0 # Apache-2.0 +oslo.middleware>=3.10.0 # Apache-2.0 @@ -29 +29 @@ oslo.serialization>=1.10.0 # Apache-2.0 -oslo.utils>=3.18.0 # Apache-2.0 +oslo.utils>=3.20.0 # Apache-2.0 @@ -31,2 +31,2 @@ six>=1.9.0 # MIT -stevedore>=1.17.1 # Apache-2.0 -SQLAlchemy<1.1.0,>=1.0.10 # MIT +stevedore>=1.20.0 # Apache-2.0 +SQLAlchemy>=1.0.10 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 69a1b29..e628054 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,0 +6 @@ doc8 # Apache-2.0 +flake8-import-order==0.11 # LGPLv3 @@ -8 +9 @@ mock>=2.0 # BSD -sphinx!=1.3b1,<1.4,>=1.2.1 # BSD +sphinx>=1.5.1 # BSD