We are tickled pink to announce the release of: ironic-lib 4.3.0: Ironic common library This release is part of the victoria release series. The source is available from: https://opendev.org/openstack/ironic-lib Download the package from: https://pypi.org/project/ironic-lib Please report issues through: https://storyboard.openstack.org/#!/project/openstack/ironic-lib For more details, please see below. 4.3.0 ^^^^^ New Features ************ * Implement Basic HTTP authentication middleware. This middleware is added to ironic-lib so that it can eventually be used by ironic and ironic-inspector as an alternative to noauth in standalone environments. This middleware is passed a path to a file which supports the Apache htpasswd syntax[1]. This file is read for every request, so no service restart is required when changes are made. The only password digest supported is bcrypt, and the "bcrypt" python library is used for password checks since it supports "$2y$" prefixed bcrypt passwords as generated by the Apache htpasswd utility. [1] https://httpd.apache.org/docs/current/misc/password_encryptions.html Bug Fixes ********* * Fixes an py3 compatibility issue in metrics_statsd where str need be explicitly converted to bytes before send with socket. See Story 2007537 (https://storyboard.openstack.org/#!/story/2007537) for details. Changes in ironic-lib 4.2.0..4.3.0 ---------------------------------- 21572b0 Bump hacking min version to 3.0.1 a9abc56 Implement Basic HTTP authentication middleware 84d6c4f Switch to newer openstackdocstheme version 4847779 Fix DIB jobs 72d95b8 Update lower-constraints.txt bba715c Fix pep8 test 555c494 image_convert: retry resource unavailable and make RLIMIT configurable 53a6e70 Add py38 package metadata 7fd83d7 Dependencies and tox.ini clean-up 81461b5 Upgrade flake8-import-order version to 0.17.1 8d2ac29 Use unittest.mock instead of third party mock a24d703 Convert str to bytes for py3 socket compatibility 75800be Add Python3 victoria unit tests 0838b15 Convert jobs to dib a235a15 Cleanup py27 support db6bef0 Add netboot to all partition jobs Diffstat (except docs and test files) ------------------------------------- ironic_lib/auth_basic.py | 187 +++++++++++++++++++ ironic_lib/disk_utils.py | 39 +++- ironic_lib/exception.py | 13 ++ ironic_lib/metrics_statsd.py | 2 +- lower-constraints.txt | 19 +- .../basic-auth-middleware-e5af29651b2d7979.yaml | 18 ++ .../conver-str-to-bytes-11a665d0fa8828ec.yaml | 7 + requirements.txt | 3 +- setup.cfg | 17 +- setup.py | 9 - test-requirements.txt | 12 +- tox.ini | 16 +- zuul.d/ironic-lib-jobs.yaml | 17 +- zuul.d/project.yaml | 18 +- 26 files changed, 592 insertions(+), 113 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index dc388a5..53d867c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -14 +14,2 @@ oslo.log>=3.36.0 # Apache-2.0 -zeroconf>=0.24.0;python_version>='3.0' # LGPL +zeroconf>=0.24.0 # LGPL +bcrypt>=3.1.3 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 2e996f5..9b3a3bc 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7,3 +7,2 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT -flake8-import-order>=0.13 # LGPLv3 -hacking>=3.0.0,<3.1.0 # Apache-2.0 -mock>=2.0.0 # BSD +flake8-import-order>=0.17.1 # LGPLv3 +hacking>=3.0.1,<3.1.0 # Apache-2.0 @@ -12,4 +10,0 @@ oslotest>=3.2.0 # Apache-2.0 -testscenarios>=0.4 # Apache-2.0/BSD -testtools>=2.2.0 # MIT - -# Doc requirements @@ -17,2 +12 @@ doc8>=0.6.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD -openstackdocstheme>=1.20.0 # Apache-2.0 +Pygments>=2.2.0 # BSD
participants (1)
-
no-reply@openstack.org