We are happy to announce the release of: cloudkitty 22.1.0 This release is part of the epoxy release series. The source is available from: https://opendev.org/openstack/cloudkitty Download the package from: https://pypi.org/project/cloudkitty Please report issues through: https://storyboard.openstack.org/#!/project/openstack/cloudkitty For more details, please see below. 22.1.0 ^^^^^^ New Features ************ * A new module, "cloudkitty.wsgi", has been added as a place to gather WSGI "application" objects. This is intended to ease deployment by providing a consistent location for these objects. For example, if using uWSGI then instead of: [uwsgi] wsgi-file = /bin/cloudkitty-api You can now use: [uwsgi] module = cloudkitty.wsgi.api:application This also simplifies deployment with other WSGI servers that expect module paths such as gunicorn. Upgrade Notes ************* * The WSGI script "cloudkitty-api" has been removed. Deployment tooling should instead reference the Python module path for the wsgi module in CloudKitty, "cloudkitty.wsgi.api:application" if their chosen WSGI server supports this (gunicorn, uWSGI, etc.) or implement a .wsgi script themselves if not (mod_wsgi). Security Issues *************** * Previously, cloudkitty-api recorded request token in plain text format when a request does not comply with policy rules or debug log is enabled. This has been fixed and now token is masked in logs. Bug Fixes ********* * Fix request to Elasticsearch/OpenSearch that has potentially not the correct type. Changes in cloudkitty 22.0.0..22.1.0 ------------------------------------ 2fee74e Fix elasticsearch & opensearch requests 2eb9a6a Hide credentials in contexts from logs 22f6f3b Add wsgi module to cloudkitty dccd389 Update TOX_CONSTRAINTS_FILE for stable/2025.1 0a40a71 Update .gitreview for stable/2025.1 Diffstat (except docs and test files) ------------------------------------- .gitreview | 1 + cloudkitty/common/policy.py | 15 +++++++---- cloudkitty/storage/v2/elasticsearch/client.py | 3 +++ cloudkitty/storage/v2/opensearch/client.py | 3 +++ cloudkitty/wsgi/__init__.py | 0 cloudkitty/wsgi/api.py | 24 ++++++++++++++++++ devstack/plugin.sh | 2 +- .../notes/fix-elasticsearch-a9a37443f81b3a79.yaml | 5 ++++ .../hide-token-from-log-e29066d6c93f3ed4.yaml | 6 +++++ .../remove-wsgi-scripts-27d0da6926c2127c.yaml | 29 ++++++++++++++++++++++ tox.ini | 4 +-- 13 files changed, 98 insertions(+), 8 deletions(-)
participants (1)
-
no-reply@openstack.org