We are psyched to announce the release of:
trove 12.0.0: OpenStack DBaaS
This release is part of the train 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.
12.0.0 ^^^^^^
New Features
* Trove now publishes images of some specific databases on http://tarballs.openstack.org/trove/images/ for testing purpose.
Changes in trove 11.0.0..12.0.0 -------------------------------
6bfa5101 Remove all the resources when the Nova VM creation failed e45b6a63 Use correct Swift credential for instance backup e8a6a60f Fix the stable branch image build job 97779411 Fix the periodic image build job 319e5249 Build images for Train f4a7ea94 Add release note for public images 950712d6 Doc: Add public trove guest images info ced017e1 Update TOX/UPPER_CONSTRAINTS_FILE for stable/train cd6ca3e1 Update .gitreview for stable/train 59be66ce Change imag build job to the periodic pipeline 757a8739 Some clean up 0cdf8b20 Add image build experimental CI job f771e939 Fix Trove CI failure 38efc972 Fix issue with pip2 command and update pip3 for mongodb b43248be [doc] Create instance in user guide 19d192e5 Release note for public instance 94dd0bd2 API doc: 'access' support for creating trove instance c33fa670 Support to create public trove instance 3c09e617 Improve guest image creation in devstack 6c50dec1 Add periodic logs during database mechanism 89386032 Fix MariaDB image build 1d3db54f fix bug report url 875a6fd4 Modify CreateInstanceTest setUp to initially be OK c23c1b9d Improve image build a1aa1528 Support management security group e739ef6e Minor change to image build guide 0ef474a7 Support keypair in devstack ab20d4c9 Mark the instance ERROR when Nova VM creation fails 7b9a752e Support python3 in guest agent 2ee891dd Make volume type optional 858be706 Release note for backup filtering f32c6f81 Filtering description for backup API dfa5ce93 Improve devmode=flase when building the image 652180aa Fix all_projects filtering for backups 9b215e6c Fix backup tests d43b4209 Support backup filtering 9cf00dfb Fix python3 failure inside guest when doing restore 86299525 [train][goal] Run 'trove-tempest-ipv6-only' job 73fc73a3 Support new mysql8.0 utf8mb4 character and collation sets 7d2e9867 Fix 31-fix-init-script for Postgresql e85c8434 Refactor variables in plugin.sh to simplify setting a datastore 62a23857 Add a designate V2 API dns driver 69e6652c Remove invalid assert state 5ca55e48 Update api-ref location cc16d3b3 Add Python 3 Train unit tests 7b348372 Fix Trove CI jobs dae5bc1b Re-define the 'nics' parameter for creating database 0dba070d Support renamed postgresql log functions 8c951069 Use newer style mysql syntax for users/passwords aaff2b48 Fix incorrect use of raise in template test ca351598 Ignore new 'sys' mysql database by default 4bcb8a02 Update the outdated content 49a11dd9 trovestack guide 2e052b02 Enable service tenant deployment model by default in DevStack f8389986 Remove flavor operations from API doc 35301fa8 Fix the structure in releasenotes folder 37e8deda Remove the trove-tox-apiexamples CI job c37ab5f3 docs: fix build failure on html_last_updated_fmt 4823dd2f Add releasenotes for Redis upgrade 2fd32435 Add Redis datastore upgrade 85d2b17c Fix tox debug mode 59e8cb7e Extend cluster events b51f371d Update Python 3 test runtimes for Train c704af6e Fix syntax error 27cf3256 Instead of deprecated keystone cli in docs 687cd4be Fix error URL d9a63f7c Update min tox version to 2.0 4e635402 Dropping the py35 testing 0969d53c Add Cassandra datastore upgrade aa836df3 Skip image building in DevStack for functional tests a1df0dbb Changing file owner when upgrading mariadb 6a5afea4 Move to opendev eafd303e Use opendev.org instead of git.openstack.org 13711bd5 OpenDev Migration Patch 7f7ae90e Fix cloudinit mariadb scenario test error 74370e8c Pass kwargs to exception to get better format of error message a3de34db Nova keypair support 798af4d0 Improve trove guest agent image building 99b30c37 Add error handling when Swift is not installed 4fe95fba Disable devstack image building for trove-scenario-mariadb-single CI job 603c5114 Fix mariadb status after upgrade fe4c7280 Remove SecurityGroup API extension 97d9c34b Add new Galera Cluster bootstraping method d98edf67 Migrate legacy jobs to Ubuntu Bionic 6ea81631 Fix tests for Ubuntu Bionic migration of CI jobs 0c8a5ee9 Fix poll_until exception type 8133390c Fix redis expected parameter type 71b09bae User guide update to use Openstack client syntax 4309c728 add python 3.7 unit test job 44fbcfaa Deprecate the config option default_neutron_networks 4a85d9b7 Fix the way to get localhost IP in devstack 007821e8 Replace openstack.org git:// URLs with https:// 2884110f Update master for stable/stein ddafb0e4 Share networks created by Trove Devstack plugin f8d5ece8 Fix Mariadb replication config 26635039 Add documentation for managing databases and users aa714928 Additional logs for Mariadb restore strategy
Diffstat (except docs and test files) -------------------------------------
.gitreview | 3 +- .zuul.yaml | 109 +- CONTRIBUTING.rst | 24 +- README.rst | 12 +- api-ref/source/backups.inc | 31 +- api-ref/source/conf.py | 8 +- api-ref/source/configurations.inc | 28 +- api-ref/source/database-instance-actions.inc | 20 +- api-ref/source/database-instance-logs.inc | 24 +- api-ref/source/database-instances.inc | 120 ++- api-ref/source/databases.inc | 12 +- api-ref/source/datastores.inc | 12 +- api-ref/source/flavors.inc | 81 -- api-ref/source/index.rst | 1 - api-ref/source/parameters.yaml | 41 +- .../source/samples/db-create-instance-request.json | 57 +- .../samples/db-flavors-by-id-request-json-http.txt | 7 - .../db-flavors-by-id-response-json-http.txt | 5 - .../source/samples/db-flavors-by-id-response.json | 21 - .../samples/db-flavors-request-json-http.txt | 7 - .../samples/db-flavors-response-json-http.txt | 5 - api-ref/source/samples/db-flavors-response.json | 251 ----- api-ref/source/user-management.inc | 24 +- ...efault-instance-configuration-response-json.txt | 5 - bindep.txt | 30 + contrib/trove-guestagent | 2 +- devstack/README.rst | 14 +- devstack/plugin.sh | 659 ++++++------ devstack/settings | 18 +- etc/trove/trove-conductor.conf.sample | 58 -- etc/trove/trove-taskmanager.conf.sample | 248 ----- etc/trove/trove.conf.sample | 2 +- etc/trove/trove.conf.test | 8 +- integration/README.md | 190 ++-- integration/scripts/conf/test_begin.conf | 84 +- .../fedora-guest/extra-data.d/15-trove-dep | 6 +- .../scripts/files/elements/guest-agent/README.rst | 4 + .../files/elements/guest-agent/element-deps | 5 + .../99-reliable-apt-key-importing.bash | 34 + .../files/elements/guest-agent/install.d/50-user | 22 + .../75-guest-agent-install | 45 + .../guest-agent-source-install/guest-agent.conf | 18 + .../guest-agent-source-install/guest-agent.init | 67 ++ .../guest-agent.logrotate | 14 + .../guest-agent-source-install/guest-agent.service | 15 + .../elements/guest-agent/package-installs.yaml | 53 + .../scripts/files/elements/guest-agent/pkg-map | 26 + .../post-install.d/11-enable-guest-agent-systemd | 11 + .../guest-agent/post-install.d/99-clean-apt | 9 + .../guest-agent/source-repository-guest-agent | 3 + .../scripts/files/elements/guest-agent/svc-map | 3 + .../files/elements/no-resolvconf/README.rst | 8 + .../finalise.d/99-disable-resolv-conf | 19 + .../ubuntu-guest/extra-data.d/15-trove-dep | 8 +- .../elements/ubuntu-guest/extra-data.d/62-ssh-key | 10 +- .../elements/ubuntu-guest/install.d/15-trove-dep | 16 +- .../elements/ubuntu-guest/install.d/62-ssh-key | 25 +- .../pre-install.d/10-percona-apt-key | 26 - .../pre-install.d/10-mongodb-apt-key | 2 +- .../ubuntu-mysql/pre-install.d/10-percona-apt-key | 4 +- .../pre-install.d/20-apparmor-mysql-local | 1 + .../install.d/25-trove-mongo-dep | 2 +- .../ubuntu-xenial-mariadb/install.d/30-mariadb | 38 +- .../install.d/25-trove-mongo-dep | 2 +- .../ubuntu-xenial-mysql/install.d/30-mysql | 66 +- .../install.d/31-fix-init-script | 2 +- integration/scripts/files/trove-guest.upstart.conf | 2 +- integration/scripts/functions_qemu | 253 ++--- integration/scripts/trovestack | 163 ++- integration/scripts/trovestack.rc | 17 +- lower-constraints.txt | 1 + playbooks/image-build/post.yaml | 10 + playbooks/image-build/run.yaml | 19 + playbooks/legacy/grenade-dsvm-trove/run.yaml | 8 +- ...d-designate-v2-dns-driver-8d1be56ab2c71b83.yaml | 5 + .../cluster-notifications-fd205f5f0148b052.yaml | 8 + ...-default_neutron_networks-84cd00224d6b7bc1.yaml | 4 + .../notes/redis-upgrade-63769ddb1b546cb9.yaml | 4 + ...t-used-with-single-tenant-f3e8b0f2807a026d.yaml | 6 - .../support-nova-keypair-a2cdb2da5c1511e9.yaml | 13 + ...train-01-backup-filtering-90ff6deac7b411e9.yaml | 5 + .../notes/train-02-management-security-group.yaml | 11 + ...-03-public-trove-instance-8ec456bed46411e9.yaml | 7 + ...in-04-public-trove-images-127300c0df6c11e9.yaml | 4 + releasenotes/source/index.rst | 1 + releasenotes/source/stein.rst | 6 + requirements.txt | 2 +- roles/trove-devstack/tasks/main.yml | 2 + setup.cfg | 5 +- test-requirements.txt | 3 +- test-upper-constraints.txt | 2 +- tools/test-setup.sh | 57 -- tox.ini | 14 +- trove/backup/models.py | 34 +- trove/backup/service.py | 17 +- trove/cluster/models.py | 4 +- trove/cluster/service.py | 6 +- trove/common/apischema.py | 31 +- trove/common/cfg.py | 77 +- trove/common/db/mysql/data.py | 2 + trove/common/exception.py | 26 +- trove/common/glance_remote.py | 2 +- trove/common/limits.py | 2 +- trove/common/neutron.py | 106 +- trove/common/notification.py | 33 +- trove/common/policies/backups.py | 10 + trove/common/policy.py | 2 +- trove/common/remote.py | 8 +- trove/common/server_group.py | 15 +- trove/common/single_tenant_remote.py | 57 +- .../cluster/experimental/cassandra/api.py | 10 +- .../cluster/experimental/cassandra/taskmanager.py | 25 +- .../cluster/experimental/galera_common/api.py | 4 +- .../strategies/cluster/experimental/mongodb/api.py | 8 +- .../strategies/cluster/experimental/redis/api.py | 7 +- .../cluster/experimental/redis/taskmanager.py | 3 + .../strategies/cluster/experimental/vertica/api.py | 4 +- trove/common/trove_remote.py | 4 +- trove/common/utils.py | 29 +- trove/common/views.py | 2 +- trove/common/wsgi.py | 3 +- trove/configuration/models.py | 6 +- trove/configuration/service.py | 6 +- trove/db/models.py | 4 +- .../migrate_repo/versions/019_datastore_fix.py | 19 +- .../migrate_repo/versions/040_module_priority.py | 3 +- trove/dns/designate/driver.py | 85 +- trove/extensions/account/__init__.py | 0 trove/extensions/account/models.py | 58 -- trove/extensions/account/service.py | 48 - trove/extensions/account/views.py | 37 - trove/extensions/mgmt/host/__init__.py | 0 trove/extensions/mgmt/host/instance/__init__.py | 0 trove/extensions/mgmt/host/instance/service.py | 60 -- trove/extensions/mgmt/host/models.py | 102 -- trove/extensions/mgmt/host/service.py | 47 - trove/extensions/mgmt/host/views.py | 51 - trove/extensions/mgmt/instances/service.py | 9 +- trove/extensions/mgmt/volume/__init__.py | 0 trove/extensions/mgmt/volume/models.py | 50 - trove/extensions/mgmt/volume/service.py | 39 - trove/extensions/mgmt/volume/views.py | 40 - trove/extensions/routes/account.py | 44 - trove/extensions/routes/mgmt.py | 23 - trove/extensions/routes/security_group.py | 60 -- trove/extensions/security_group/models.py | 98 +- trove/extensions/security_group/service.py | 160 --- trove/extensions/security_group/views.py | 123 --- trove/guestagent/common/operating_system.py | 26 + trove/guestagent/common/sql_query.py | 2 +- .../datastore/experimental/cassandra/manager.py | 57 ++ .../datastore/experimental/cassandra/service.py | 14 +- .../datastore/experimental/mariadb/service.py | 11 +- .../datastore/experimental/postgresql/service.py | 24 +- .../datastore/experimental/redis/manager.py | 45 + trove/guestagent/datastore/manager.py | 16 + trove/guestagent/datastore/mysql_common/manager.py | 18 +- trove/guestagent/datastore/mysql_common/service.py | 34 +- trove/guestagent/datastore/service.py | 3 +- trove/guestagent/guest_log.py | 6 +- trove/guestagent/pkg.py | 9 +- trove/guestagent/strategies/backup/mysql_impl.py | 2 +- .../strategies/replication/mysql_gtid.py | 5 +- .../strategies/restore/experimental/redis_impl.py | 4 +- trove/guestagent/strategies/restore/mysql_impl.py | 14 +- trove/instance/models.py | 178 +++- trove/instance/service.py | 30 +- trove/instance/tasks.py | 3 + trove/module/models.py | 17 +- trove/network/base.py | 14 - trove/network/neutron.py | 91 -- trove/network/nova.py | 25 - trove/taskmanager/api.py | 4 +- trove/taskmanager/manager.py | 48 +- trove/taskmanager/models.py | 451 ++++----- trove/templates/mariadb/replica.config.template | 4 +- .../scenario/groups/instance_upgrade_group.py | 15 +- .../scenario/runners/instance_create_runners.py | 4 +- .../runners/instance_error_create_runners.py | 7 + .../scenario/runners/instance_upgrade_runners.py | 27 +- .../domain-name-service/test_designate_driver.py | 181 +--- 272 files changed, 4969 insertions(+), 8720 deletions(-)
Requirements updates --------------------
diff --git a/requirements.txt b/requirements.txt index a386515f..35bddbc9 100644 --- a/requirements.txt +++ b/requirements.txt @@ -26 +26 @@ iso8601>=0.1.11 # MIT -jsonschema<3.0.0,>=2.6.0 # MIT +jsonschema>=2.6.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index 5c5f643d..99db0dce 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +6,0 @@ bandit>=1.1.0 # Apache-2.0 -sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD @@ -29,0 +29,2 @@ pylint==1.9.2 # GPLv2 +oslotest>=3.2.0 # Apache-2.0 +tenacity>=4.9.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org