We are happy to announce the release of: trove 22.0.0 This release is part of the dalmatian release series. The source is available from: https://opendev.org/openstack/trove Download the package from: https://tarballs.openstack.org/trove/ Please report issues through: https://bugs.launchpad.net/trove/+bugs For more details, please see below. Changes in trove 21.0.0.0rc1..22.0.0 ------------------------------------ 67cf0675 Drop centos8-stream jobs 0759d681 Remove outdated migration script b1c74bf6 guestagent: implement 'rebuild' for postgres manager 27778a90 Add UID/GID configurations for each datastore 3f521cb7 [CI] fix trove gate be9bd3f3 Use policy to determine admin context 114601ed Introduces Alembic database migration tool 7d2ed80c reno: Update master for unmaintained/zed 3a69bd35 Remove extras and enum34 78088c57 Imported Translations from Zanata 397d948a Imported Translations from Zanata 421721a3 Enable network_isolation by default 2aff5571 fix error when build mariadb backup docker image 93f35c7f Get rid of nose and Proboscis c59d54c4 db: add commit action after querying b127068c Add Datastore Version Registry Extension 3367c25e stop using passlib dbb18bea Fix error can't detach the configuration group binding bb260949 Bump hacking cb0cd5b4 Imported Translations from Zanata c5adc4fb Update master for stable/2024.1 86a870cc Establish consistency on db_info.addresses between taskmanager and instance a2447137 Retire TripleO: remove the TripleO jobs/ref e6ba9ce0 tox: Drop envdir Diffstat (except docs and test files) ------------------------------------- backup/drivers/xtrabackup.py | 12 +- backup/install.sh | 2 +- devstack/plugin.sh | 2 +- devstack/settings | 6 +- etc/trove/trove.conf.test | 3 - generate_examples.py | 42 - integration/README.md | 230 --- .../files/requirements/fedora-requirements.txt | 6 - .../files/requirements/ubuntu-requirements.txt | 6 - integration/scripts/functions | 2 +- integration/scripts/image-projects-list | 1 - integration/scripts/trovestack | 1 - ...uild-postgresql-instances-2b5204492fac5d78.yaml | 6 + ...tore_registry_external_to_datastore_verion.yaml | 5 + .../deprecate-admin-roles-4c42d4be4e8ee950.yaml | 5 + .../enable-network-isolation-67fc4de3356aa682.yaml | 7 + ...c-database-migration-tool-4e02523e22cc62fa.yaml | 10 + ...ng-uid-gid-each-datastore-1afd2b76832b716e.yaml | 7 + releasenotes/source/2024.1.rst | 6 + releasenotes/source/index.rst | 1 + .../locale/en_GB/LC_MESSAGES/releasenotes.po | 227 ++- .../source/locale/fr/LC_MESSAGES/releasenotes.po | 92 ++ .../source/locale/ja/LC_MESSAGES/releasenotes.po | 36 + releasenotes/source/zed.rst | 2 +- requirements.txt | 10 +- test-requirements.txt | 13 +- tox.ini | 4 +- trove/cmd/guest.py | 37 +- trove/cmd/manage.py | 31 +- trove/common/apischema.py | 4 + trove/common/cfg.py | 80 +- trove/common/constants.py | 27 + trove/common/models.py | 2 +- trove/common/policies/base.py | 6 + trove/common/policy.py | 8 + trove/common/stream_codecs.py | 4 +- trove/common/utils.py | 4 +- trove/common/wsgi.py | 13 +- trove/datastore/models.py | 23 +- trove/datastore/views.py | 13 +- trove/db/sqlalchemy/alembic.ini | 117 ++ trove/db/sqlalchemy/api.py | 130 +- trove/db/sqlalchemy/mappers.py | 136 +- trove/db/sqlalchemy/migrate_repo/README | 4 - trove/db/sqlalchemy/migrate_repo/__init__.py | 0 trove/db/sqlalchemy/migrate_repo/manage.py | 21 - trove/db/sqlalchemy/migrate_repo/migrate.cfg | 21 - trove/db/sqlalchemy/migrate_repo/schema.py | 79 - .../migrate_repo/versions/001_base_schema.py | 45 - .../migrate_repo/versions/002_service_images.py | 36 - .../migrate_repo/versions/003_service_statuses.py | 40 - .../migrate_repo/versions/004_root_enabled.py | 38 - .../migrate_repo/versions/005_heartbeat.py | 37 - .../migrate_repo/versions/006_dns_records.py | 35 - .../migrate_repo/versions/007_add_volume_flavor.py | 33 - .../versions/008_add_instance_fields.py | 29 - .../versions/009_add_deleted_flag_to_instances.py | 30 - .../migrate_repo/versions/010_add_usage.py | 45 - .../sqlalchemy/migrate_repo/versions/011_quota.py | 61 - .../sqlalchemy/migrate_repo/versions/012_backup.py | 47 - .../versions/013_add_security_group_artifacts.py | 89 -- .../versions/014_update_instance_flavor_id.py | 34 - .../migrate_repo/versions/015_add_service_type.py | 28 - .../versions/016_add_datastore_type.py | 62 - .../migrate_repo/versions/017_update_datastores.py | 48 - .../versions/018_datastore_versions_fix.py | 25 - .../migrate_repo/versions/019_datastore_fix.py | 131 -- .../migrate_repo/versions/020_configurations.py | 59 - .../versions/021_conductor_last_seen.py | 35 - .../versions/022_add_backup_parent_id.py | 28 - .../versions/023_add_instance_indexes.py | 42 - .../versions/024_add_backup_indexes.py | 42 - .../versions/025_add_service_statuses_indexes.py | 35 - .../versions/026_datastore_versions_unique_fix.py | 43 - .../versions/027_add_datastore_capabilities.py | 55 - .../versions/028_recreate_agent_heartbeat.py | 55 - .../versions/029_add_backup_datastore.py | 30 - .../migrate_repo/versions/030_add_master_slave.py | 32 - .../031_add_timestamps_to_configurations.py | 28 - .../migrate_repo/versions/032_clusters.py | 59 - .../versions/033_datastore_parameters.py | 54 - .../versions/034_change_task_description.py | 25 - .../versions/035_flavor_id_int_to_string.py | 28 - .../versions/036_add_datastore_version_metadata.py | 55 - .../migrate_repo/versions/037_modules.py | 78 - .../migrate_repo/versions/038_instance_faults.py | 50 - .../sqlalchemy/migrate_repo/versions/039_region.py | 36 - .../migrate_repo/versions/040_module_priority.py | 49 - .../migrate_repo/versions/041_instance_keys.py | 30 - .../versions/042_add_cluster_configuration_id.py | 38 - .../versions/043_instance_ds_version_nullable.py | 50 - ...e_datastore_configuration_parameters_deleted.py | 67 - .../versions/045_add_backup_strategy.py | 46 - .../versions/046_add_access_to_instance.py | 28 - .../versions/047_image_tag_in_datastore_version.py | 29 - .../048_add_version_to_datastore_version.py | 71 - .../sqlalchemy/migrate_repo/versions/__init__.py | 0 trove/db/sqlalchemy/migrations/README | 1 + trove/db/sqlalchemy/migrations/env.py | 101 ++ trove/db/sqlalchemy/migrations/script.py.mako | 38 + ...cd1_add_datastore_version_registry_extension.py | 100 ++ .../versions/906cffda7b29_init_trove_db.py | 654 ++++++++ .../cee1bcba3541_drop_migrate_version_table.py | 42 + trove/db/sqlalchemy/session.py | 4 +- trove/extensions/mgmt/datastores/service.py | 26 +- trove/extensions/mgmt/datastores/views.py | 2 + trove/guestagent/datastore/mysql/service.py | 13 +- trove/guestagent/datastore/mysql_common/manager.py | 21 +- trove/guestagent/datastore/mysql_common/service.py | 49 +- trove/guestagent/datastore/postgres/manager.py | 60 +- trove/guestagent/datastore/postgres/service.py | 24 +- trove/guestagent/datastore/service.py | 10 + trove/guestagent/dbaas.py | 34 +- .../guestagent/strategies/replication/__init__.py | 6 + .../strategies/replication/postgresql.py | 18 +- trove/guestagent/utils/mysql.py | 2 + trove/hacking/checks.py | 11 +- trove/instance/models.py | 44 +- trove/instance/service.py | 14 +- trove/taskmanager/models.py | 5 +- .../scenario/groups/database_actions_group.py | 179 --- .../scenario/groups/instance_actions_group.py | 126 -- .../scenario/groups/instance_error_create_group.py | 105 -- .../scenario/groups/instance_force_delete_group.py | 64 - .../scenario/groups/instance_upgrade_group.py | 120 -- .../scenario/runners/configuration_runners.py | 580 ------- .../scenario/runners/database_actions_runners.py | 228 --- .../scenario/runners/instance_actions_runners.py | 115 -- .../scenario/runners/instance_create_runners.py | 339 ----- .../scenario/runners/instance_delete_runners.py | 49 - .../runners/instance_error_create_runners.py | 129 -- .../runners/instance_force_delete_runners.py | 59 - .../scenario/runners/instance_upgrade_runners.py | 68 - .../runners/negative_cluster_actions_runners.py | 101 -- .../extensions/mgmt/datastores/test_service.py | 15 +- .../extensions/mgmt/instances/test_models.py | 4 +- .../extensions/mgmt/instances/test_service.py | 1 - .../extensions/mgmt/quota/test_service.py | 1 - trove/volume_type/models.py | 2 +- zuul.d/deprecated_jobs.yaml | 3 +- zuul.d/jobs.yaml | 36 - zuul.d/nodesets.yaml | 6 - zuul.d/projects.yaml | 2 - 246 files changed, 2265 insertions(+), 27005 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 4e1d65a1..6a2ea703 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,3 +1 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. +alembic>=1.8.0 @@ -5 +2,0 @@ pbr!=2.1.0,>=2.0.0 # Apache-2.0 -SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT @@ -6,0 +4 @@ eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT +SQLAlchemy>=1.4.0 # MIT @@ -12 +9,0 @@ Paste>=2.0.2 # MIT -sqlalchemy-migrate>=0.11.0 # Apache-2.0 @@ -16 +12,0 @@ lxml!=3.7.0,>=3.4.1 # BSD -passlib>=1.7.0 # BSD @@ -57 +53 @@ pyroute2>=0.7.7;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2) -gunicorn>=20.1.0 # MIT \ No newline at end of file +gunicorn>=20.1.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index e88a34ea..d01d7501 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,3 +0,0 @@ -# The order of packages is significant, because pip processes them in the order -# of appearance. Changing the order has an impact on the overall integration -# process, which may cause wedges in the gate later. @@ -5 +2 @@ -hacking>=3.0.1,<3.1.0 # Apache-2.0 +hacking<6.0.0 # Apache-2.0 @@ -8,3 +4,0 @@ coverage!=4.4,>=4.0 # Apache-2.0 -nose>=1.3.7 # LGPL -nosexcover>=1.0.10 # BSD -openstack.nose-plugin>=0.7 # Apache-2.0 @@ -13 +6,0 @@ wsgi-intercept>=1.4.1 # MIT License -proboscis>=1.2.5.3 # Apache-2.0 @@ -16,4 +8,0 @@ testtools>=2.2.0 # MIT -pymongo!=3.1,>=3.0.2 # Apache-2.0 -redis>=2.10.0 # MIT -cassandra-driver!=3.6.0,>=2.1.4 # Apache-2.0 -couchdb>=0.8 # Apache-2.0
participants (1)
-
no-reply@openstack.org