We are excited to announce the release of: senlin 16.0.0: OpenStack Clustering This release is part of the bobcat release series. The source is available from: https://opendev.org/openstack/senlin Download the package from: https://tarballs.openstack.org/senlin/ Please report issues through: https://bugs.launchpad.net/senlin/+bugs For more details, please see below. Changes in senlin 15.0.0..16.0.0 -------------------------------- cef004c0 Remove duplicate note for db switch f6edeaba Senlin release notes for Bobcat 4125b34e Do not use deperecated MetaData.bind a5c28aee Add volume type to bdm_v2 6eee2f41 Support create profile with subnet 79d0d1f5 Add separate non-voting Zaqar job 50cedc74 Fix old zuul gate jobs 7ba518ee Replace cover job with simpler working job 18540721 Switch Senlin to Alembic database migrations f58827e6 Revert "Re-enable Zaqar testing" 55ac1c99 Add cleanup step for orphaned health checks d0d60d60 Update master for stable/2023.1 83de2e97 Fix doc failing to build properly Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 32 ++- ...tch-to-alembic-migrations-f442d0b58c3f13a6.yaml | 4 + .../notes/health-add-cleanup-2d5143ec2bb78e55.yaml | 3 + .../notes/support-subnet-c2492ce8a377b1af.yaml | 4 + .../support-volume-type-07d608097c711460.yaml | 3 + ...tch-to-alembic-migrations-f442d0b58c3f13a6.yaml | 4 + releasenotes/source/2023.1.rst | 6 + releasenotes/source/index.rst | 1 + requirements.txt | 5 +- senlin/cmd/manage.py | 4 +- senlin/conf/health_manager.py | 3 + senlin/db/api.py | 14 +- senlin/db/sqlalchemy/alembic.ini | 105 +++++++++ senlin/db/sqlalchemy/alembic/README | 4 + .../{migrate_repo => alembic}/__init__.py | 0 senlin/db/sqlalchemy/alembic/env.py | 84 +++++++ senlin/db/sqlalchemy/alembic/legacy_utils.py | 45 ++++ senlin/db/sqlalchemy/alembic/script.py.mako | 32 +++ .../versions/004f8202c264_action_clusterid.py | 37 +++ .../versions/0c04e812f224_user_project_length.py | 70 ++++++ .../versions/3a04debb8cb1_cluster_config.py | 38 +++ .../alembic/versions/569eb0b8_first_version.py | 246 ++++++++++++++++++++ .../versions/5b7cb185e0a5_registry_enable.py | 37 +++ .../versions/662f8e74ac6f_event_column_name.py | 47 ++++ .../alembic/versions/6f73af60_service_table.py | 51 ++++ .../9dbb563afc4d_node_cluster_dependents_column.py | 39 ++++ .../alembic/versions/aaa7e7755feb_node_tainted.py | 37 +++ .../versions/ab7b23c67360_health_registry.py | 52 +++++ .../beffe13cf8e5_action_starttime_endtime_type.py | 43 ++++ .../alembic/versions/c3e2bfa76dea_action_tenant.py | 39 ++++ senlin/db/sqlalchemy/api.py | 78 ++++--- senlin/db/sqlalchemy/migrate_repo/README | 4 - senlin/db/sqlalchemy/migrate_repo/manage.py | 18 -- senlin/db/sqlalchemy/migrate_repo/migrate.cfg | 25 -- .../migrate_repo/versions/001_first_version.py | 256 --------------------- .../migrate_repo/versions/002_service_table.py | 39 ---- .../migrate_repo/versions/003_action_tenant.py | 26 --- .../migrate_repo/versions/004_health_registry.py | 41 ---- .../migrate_repo/versions/005_event_column_name.py | 23 -- .../versions/006_node_cluster_dependents_column.py | 28 --- .../migrate_repo/versions/007_placeholder.py | 15 -- .../migrate_repo/versions/008_placeholder.py | 15 -- .../migrate_repo/versions/009_placeholder.py | 15 -- .../versions/010_user_project_length.py | 26 --- .../migrate_repo/versions/011_registry_enable.py | 22 -- .../migrate_repo/versions/012_cluster_config.py | 24 -- .../versions/013_action_starttime_endtime_type.py | 22 -- .../migrate_repo/versions/014_node_tainted.py | 22 -- .../migrate_repo/versions/015_action_clusterid.py | 22 -- .../sqlalchemy/migrate_repo/versions/__init__.py | 0 senlin/db/sqlalchemy/migration.py | 45 ++-- senlin/drivers/os/cinder_v2.py | 13 ++ senlin/engine/health_manager.py | 22 +- senlin/health_manager/service.py | 15 ++ senlin/profiles/os/nova/server.py | 77 ++++++- .../unit/profiles/test_nova_server_validate.py | 1 + tools/cover.sh | 80 ------- tox.ini | 18 +- 64 files changed, 1459 insertions(+), 834 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 0dd2ecdb..bc93e0d5 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4 +4 @@ - +alembic>=1.6.5 # MIT @@ -34,2 +34 @@ Routes>=2.3.1 # MIT -SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT -sqlalchemy-migrate>=0.13.0 # Apache-2.0 +SQLAlchemy>=1.4.41 # MIT