[new][ironic] ironic-inspector 4.0.0 release (newton)
We are tickled pink to announce the release of: ironic-inspector 4.0.0: Hardware introspection for OpenStack Bare Metal This release is part of the newton release series. With source available at: http://git.openstack.org/cgit/openstack/ironic-inspector Please report issues through launchpad: http://bugs.launchpad.net/ironic-inspector For more details, please see below. 4.0.0 ^^^^^ Starting with this release only ironic-python-agent (IPA) is supported as an introspection ramdisk. New Features ************ * Added a new "capabilities" processing hook detecting the CPU and boot mode capabilities (the latter disabled by default). * File name for stored ramdisk logs can now be customized via "ramdisk_logs_filename_format" option. Upgrade Notes ************* * The default file name for stored ramdisk logs was change to contain only node UUID (if known) and the current date time. A proper ".tar.gz" extension is now appended. * API "POST /v1/rules" returns 201 response code instead of 200 on creating success. API version was bumped to 1.6. API less than 1.6 continues to return 200. * Default API version was changed from minimum to maximum which Inspector can support. * Support for the old bash-based ramdisk was removed. Please switch to IPA before upgrading. * Removed the deprecated "root_device_hint" alias for the "raid_device" hook. Bug Fixes ********* * Fixed "/v1/continue" to return HTTP 500 on unexpected exceptions, not HTTP 400. * Fix response return code for rule creating endpoint, it returns 201 now instead of 200 on success. * The "size" root device hint is now always converted to an integer for consistency with IPA. Changes in ironic-inspector 3.3.0..4.0.0 ---------------------------------------- cd08d79 remove unused LOG 604cdd3 Updated from global requirements 54cfca7 Skip test_init_failed_processing_hook test 39644db Make Ironic variables visible inside exercise.sh ba0075e [devstack] Do not hardcode coreos ramdisk when building from source c98d3f4 Allow customizing ramdisk logs file names and simplify the default 99c81d9 Introduce upgrade testing with Grenade ca655b5 Updated from global requirements a8cb6bf Use run_process in the devstack plugin 6e458b6 Create devstack/example.local.conf and include it in the docs 7cbdd5d Updated from global requirements 0662054 Updated from global requirements 33dea6b devstack/plugin.sh: use screen_stop d3f96f2 Updated from global requirements fb6bcbe Fix tempest tests 0d9c0cd Fix response code for rule creating API d2eec55 Tempest: don't rely on tempest ironic client aa01aa7 Update terribly outdated installation instructions 21230ba Add config fixture to functional tests 223ff38 Return HTTP 500 from /v1/continue on unexpected exceptions 457c127 Remove deprecated alias "root_device_hint" for "raid_device" hook b2c2767 Add a plugin for capabilities detection 0b58e31 Remove support for the old bash ramdisk 6e39b63 Updated from global requirements 52991a1 Remove iterated form of side effects to simplify code c13cbd3 Updated from global requirements 1369235 Updated from global requirements c2569c3 Tempest: add basic test f66592b Updated from global requirements 1d8cfe9 Updated from global requirements e33d60e Fix py3 issue in functional tests ace6a5b Updated from global requirements 8fe0344 Always convert the size root device hints to an integer 80730ac Update Introspection API Docs from UUID to Node ID e3a3577 Updated from global requirements Diffstat (except docs and test files) ------------------------------------- CONTRIBUTING.rst | 79 +------ config-generator.conf | 1 + devstack/example.local.conf | 26 +++ devstack/exercise.sh | 11 +- devstack/plugin.sh | 55 ++--- devstack/upgrade/resources.sh | 77 +++++++ devstack/upgrade/settings | 11 + devstack/upgrade/shutdown.sh | 29 +++ devstack/upgrade/upgrade.sh | 136 +++++++++++ example.conf | 172 ++++++++------ ironic_inspector/common/swift.py | 3 - ironic_inspector/conf.py | 10 +- ironic_inspector/main.py | 28 ++- ironic_inspector/plugins/capabilities.py | 101 ++++++++ ironic_inspector/plugins/raid_device.py | 7 - ironic_inspector/plugins/rules.py | 3 - ironic_inspector/plugins/standard.py | 141 +++++------- ironic_inspector/process.py | 24 +- ironic_inspector/test/base.py | 61 ++++- ironic_inspector/test/functional.py | 101 ++------ .../test/inspector_tempest_plugin/config.py | 39 ++++ .../test/inspector_tempest_plugin/exceptions.py | 25 ++ .../test/inspector_tempest_plugin/plugin.py | 11 +- .../rules/basic_ops_rule.json | 25 ++ .../services/introspection_client.py | 70 ++++++ ironic_inspector/test/unit/test_introspect.py | 6 +- ironic_inspector/test/unit/test_main.py | 39 +++- .../test/unit/test_plugins_capabilities.py | 77 +++++++ .../test/unit/test_plugins_raid_device.py | 9 +- .../test/unit/test_plugins_standard.py | 249 +++++++------------- ironic_inspector/test/unit/test_process.py | 87 +++---- ironic_inspector/utils.py | 19 ++ .../notes/capabilities-15cc2268d661f0a0.yaml | 4 + .../notes/continue-http-500-62f33d425aade9d7.yaml | 4 + .../custom-ramdisk-log-name-dac06822c38657e7.yaml | 8 + ...x-rules-endpoint-response-d60984c40d927c1f.yaml | 10 + .../notes/no-old-ramdisk-095b05e1245131d8.yaml | 7 + .../no-root_device_hint-0e7676d481d503bb.yaml | 3 + releasenotes/notes/size-hint-ea2a264468e1fcb7.yaml | 4 + requirements.txt | 12 +- setup.cfg | 4 +- test-requirements.txt | 8 +- 51 files changed, 1667 insertions(+), 820 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index fe6f250..3101760 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7 +7 @@ eventlet!=0.18.3,>=0.18.2 # MIT -Flask<1.0,>=0.10 # BSD +Flask!=0.11,<1.0,>=0.10 # BSD @@ -11,2 +11,2 @@ jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT -keystoneauth1>=2.1.0 # Apache-2.0 -keystonemiddleware!=4.1.0,>=4.0.0 # Apache-2.0 +keystoneauth1>=2.7.0 # Apache-2.0 +keystonemiddleware!=4.1.0,!=4.5.0,>=4.0.0 # Apache-2.0 @@ -17,2 +17,2 @@ python-swiftclient>=2.2.0 # Apache-2.0 -oslo.concurrency>=3.5.0 # Apache-2.0 -oslo.config>=3.9.0 # Apache-2.0 +oslo.concurrency>=3.8.0 # Apache-2.0 +oslo.config>=3.12.0 # Apache-2.0 @@ -24 +24 @@ oslo.rootwrap>=2.0.0 # Apache-2.0 -oslo.utils>=3.5.0 # Apache-2.0 +oslo.utils>=3.15.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 166089b..fad950e 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,2 +7,2 @@ hacking<0.11,>=0.10.0 -mock>=1.2 # BSD -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD +mock>=2.0 # BSD +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD @@ -10,2 +10,2 @@ oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 -reno>=1.6.2 # Apache2 -fixtures<2.0,>=1.3.1 # Apache-2.0/BSD +reno>=1.8.0 # Apache2 +fixtures>=3.0.0 # Apache-2.0/BSD
participants (1)
-
no-reply@openstack.org