[release-announce] blazar 7.0.0 (wallaby)

no-reply at openstack.org no-reply at openstack.org
Wed Apr 14 11:07:04 UTC 2021


We are chuffed to announce the release of:

blazar 7.0.0: Reservation Service for OpenStack clouds

This release is part of the wallaby release series.

The source is available from:

    https://opendev.org/openstack/blazar

Download the package from:

    https://tarballs.openstack.org/blazar/

Please report issues through:

    https://bugs.launchpad.net/blazar/+bugs

For more details, please see below.

7.0.0
^^^^^

New Features

* A filter-based usage enforcement framework is introduced in this
  release. Enforcement filters allow operators to define lease
  constraints. The first filter introduced in this release restricts
  maximum lease duration.

Changes in blazar 6.0.0..7.0.0
------------------------------

d3f77fd Add usage enforcement framework
77cf902 Change dashes to underscore in setup.cfg
d14668b Drop unused sqlalchemy-migrate requirement
3f1c1ed [goal] Deprecate the JSON formatted policy file
7d131c9 Re-use rpc transport
37bee67 Make lower-constraints job non-voting
b1841dc Fix use of legacy Alembic API
e81bbc7 remove unicode from code
ae43ea3 Remove six
963097e Add doc/requirements
4f642c8 Fix lower-constraints job
a1ecf0d Remove misplaced return statement
ccf1727 Update TOX_CONSTRAINTS_FILE
0847f7e Remove unused DB utility functions
368403e Remove the unused coding style modules
4935706 bump py37 to py38 in tox.ini
184dbcc Reuse the docs deps to benefit from constraints
38189e1 Remove Babel requirement
021d1d7 Add Python3 wallaby unit tests
d8ddf42 Update master for stable/victoria


Diffstat (except docs and test files)
-------------------------------------

.zuul.yaml                                         |   4 +-
api-ref/source/conf.py                             |   8 +-
babel.cfg                                          |   1 -
blazar/api/app.py                                  |   3 +-
blazar/api/context.py                              |   3 +-
blazar/api/v1/utils.py                             |   8 +-
blazar/api/v2/controllers/extensions/__init__.py   |   5 +-
blazar/api/v2/controllers/extensions/host.py       |   8 +-
blazar/api/v2/controllers/extensions/lease.py      |  22 +-
blazar/api/v2/controllers/types.py                 |   6 +-
blazar/cmd/status.py                               |  10 +-
blazar/config.py                                   |  16 +
.../alembic_migrations/versions/0_1_initial.py     |   3 +-
.../2bcfe76b0474_change_tenant_to_project.py       |   4 +-
.../versions/e069c014356d_add_floatingip.py        |   2 +-
blazar/db/sqlalchemy/models.py                     |   3 +-
blazar/db/sqlalchemy/utils.py                      | 158 ++++---
blazar/db/utils.py                                 |  30 +-
blazar/enforcement/__init__.py                     |  18 +
blazar/enforcement/enforcement.py                  |  99 +++++
blazar/enforcement/exceptions.py                   |  23 +
blazar/enforcement/filters/__init__.py             |  21 +
blazar/enforcement/filters/base_filter.py          |  45 ++
.../filters/max_lease_duration_filter.py           |  80 ++++
blazar/manager/service.py                          | 277 ++++++++----
blazar/opts.py                                     |   3 +
blazar/plugins/base.py                             |  28 +-
blazar/plugins/dummy_vm_plugin.py                  |  14 +
blazar/plugins/floatingips/__init__.py             |   2 +-
blazar/plugins/floatingips/floatingip_plugin.py    |  71 ++++
blazar/plugins/instances/__init__.py               |   2 +-
blazar/plugins/instances/instance_plugin.py        |  63 ++-
blazar/plugins/oshosts/__init__.py                 |   2 +-
blazar/plugins/oshosts/host_plugin.py              |  31 +-
blazar/policy.py                                   |   9 +-
blazar/rpc.py                                      |  51 +++
.../filters/test_max_lease_duration_filter.py      | 250 +++++++++++
.../plugins/floatingips/test_floatingip_plugin.py  |  56 +--
.../plugins/instances/test_instance_plugin.py      |   3 +-
.../plugins/oshosts/test_physical_host_plugin.py   | 100 ++---
blazar/utils/plugins.py                            |  11 +-
blazar/utils/service.py                            |  17 +-
lower-constraints.txt                              |  32 +-
.../alembic-fix-alter-column-42a87657992d1e78.yaml |   5 +
...son-formatted-policy-file-5ceba2a580b69101.yaml |  19 +
.../notes/usage-enforcement-f997ce618f542104.yaml  |   6 +
releasenotes/source/conf.py                        |  14 +-
releasenotes/source/index.rst                      |   1 +
releasenotes/source/victoria.rst                   |   6 +
requirements.txt                                   |  23 +-
setup.cfg                                          |  12 +-
test-requirements.txt                              |   7 -
tox.ini                                            |  16 +-
76 files changed, 2120 insertions(+), 978 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index bf80bc7..4cf37d6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6,2 +6 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0
-alembic>=0.8.10 # MIT
-Babel!=2.4.0,>=2.3.4 # BSD
+alembic>=0.9.6 # MIT
@@ -9 +8 @@ eventlet!=0.18.3,!=0.20.1,!=0.21.0,!=0.23.0,!=0.25.0,>=0.18.2 # MIT
-Flask!=0.11,>=0.10 # BSD
+Flask>=1.0.2 # BSD
@@ -11 +10 @@ iso8601>=0.1.11 # MIT
-keystoneauth1>=3.4.0 # Apache-2.0
+keystoneauth1>=3.13.0 # Apache-2.0
@@ -13 +11,0 @@ keystonemiddleware>=4.17.0 # Apache-2.0
-kombu!=4.0.2,>=4.0.0 # BSD
@@ -16,2 +14,3 @@ oslo.concurrency>=3.26.0 # Apache-2.0
-oslo.config>=5.2.0 # Apache-2.0
-oslo.db>=4.27.0 # Apache-2.0
+oslo.config>=6.8.0 # Apache-2.0
+oslo.context>=2.22.0 # Apache-2.0
+oslo.db>=4.40.0 # Apache-2.0
@@ -22 +21 @@ oslo.middleware>=3.31.0 # Apache-2.0
-oslo.policy>=1.30.0 # Apache-2.0
+oslo.policy>=3.6.0 # Apache-2.0
@@ -24,3 +23,3 @@ oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
-oslo.service!=1.28.1,>=1.24.0 # Apache-2.0
-oslo.upgradecheck>=0.1.0 # Apache-2.0
-oslo.utils>=3.36.5 # Apache-2.0
+oslo.service>=1.34.0 # Apache-2.0
+oslo.upgradecheck>=1.3.0 # Apache-2.0
+oslo.utils>=4.5.0 # Apache-2.0
@@ -32 +30,0 @@ pecan!=1.0.2,!=1.0.3,!=1.0.4,!=1.2,>=1.0.0 # BSD
-sqlalchemy-migrate>=0.11.0 # Apache-2.0
@@ -36 +33,0 @@ Routes>=2.3.1 # MIT
-six>=1.10.0 # MIT
diff --git a/test-requirements.txt b/test-requirements.txt
index 7dfe786..08c9083 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -13,7 +12,0 @@ oslotest>=3.2.0 # Apache-2.0
-oslo.context>=2.19.2 # Apache-2.0
-
-# Documentation
-reno>=3.1.0 # Apache-2.0
-sphinx>=2.0.0,!=2.1.0 # BSD
-openstackdocstheme>=2.2.1 # Apache-2.0
-os-api-ref>=1.4.0 # Apache-2.0






More information about the Release-announce mailing list