We are gleeful to announce the release of: trove 10.0.0: OpenStack DBaaS This release is part of the rocky release series. Download the package from: https://tarballs.openstack.org/trove/ For more details, please see below. Changes in trove 9.0.0..10.0.0 ------------------------------ 4d358c8 Fix replication failure when Swift isn't available 474b0b3 Sync the data fields of DB* class and table fields. d2868a5 Migrate to Zuul v3 native job definitions 8057b2d More reliable gpg keys importing in DIB elements f3ca9f2 [doc] Use openstack client command to replace others ceaaf16 Raise timeout for instance resizing checking job 4860f52 Fix invalid escape sequence warnings 08d581f py3.x: Fix usage of gettext.install 4279fd2 Remove pycrypto from requirements f453a5f change pylint wrapper to let messages be prefixes 71c3caf Update Trove's README 8cec0bc Add volume_type to apischema 43b5807 Add a hook for restore process to check if successful 46a031e Switch to cryptography from pycrypto 86fbe26 Trivial: Update pypi url to new url df73627 Cleanup testrepository and os-testr requirements 0c9a4fd Run unittests under the low-constraints job cfadd2b Fix dict iteration in PropertiesCodec 48ac45d Fix lower-constraints and uncap eventlet 38a5679 Update auth_uri option to www_authenticate_uri ff5b14d fix a typo 990d24e Updated from global requirements f83a247 fix a typo in documentation 6eaa305 add lower-constraints job b248282 Mox removal for instances_resize API tests 43ce598 Revert "Fix false-negative failure report for mysqldump backup" 856824c Updated from global requirements 5ce26ec Fix os.path.join() for unittests under python 3.6 6db9740 Updated from global requirements 7ea88b0 Mox removal for MgmtInstance actions API tests 792929d Updated from global requirements 5895cf0 Avoid diverged slave when migrating MariaDB master 242761e Skip root state inherting scenario tests for Redis 36ad74c Fix client recreation in Redis root-disable test a25a290 Register all replicas in replication scenario test 172b6e0 Fix create mongodb cluster error in multi-network env 1656a20 Fix annotation info error in guestagent-api 49fea47 Fix false-negative failure report for mysqldump backup 9209d0b Use neutronclient for floatingip operations d597bb4 Return 204 instead of 200 for root-disable API 8ce9d73 Fix guestagent.test_operating_system for Python3 267138d Remove entry of policy.json from setup.cfg 579f5af Use RootHistory to check if root is ever enabled 3301a2a [api-ref] Add sections for backups. 8541170 Fix client ping in redis scenario tests 9d159fd Fix PostgreSQL non-dynamic configration tests 3519434 Fix incorrect usage of assertTrue de26c5e drop extra word to fix typo 03c5738 Only launch in-tree zuul jobs when necessary d6bd37f Remove install-guide tox env 71ebd35 Generate policy sample file automatically. 51b73cf [api-ref]: update instance creating parameters. 29362a1 Remove support of creating volume from Nova. e15fe71 Remove security.authorization option from mongos 9847ec0 Update reno for stable/queens 690aa0c Add bandit-baseline check job. 3b726f3 report_root should always use context.user 1667ad5 Allow host URL for versions to be configurable 1dcdf38 Add functionality to define different Message and Notification destination 022aa31 Improve code to reduce traverse times 39ae2ee Add default configuration files to data_files Diffstat (except docs and test files) ------------------------------------- .gitignore | 3 + .stestr.conf | 4 +- .testr.conf | 4 - .zuul.yaml | 384 ++++++++--------- README.rst | 40 +- api-ref/source/backups.inc | 254 +++++++++++ api-ref/source/database-instances.inc | 88 +++- api-ref/source/index.rst | 1 + api-ref/source/parameters.yaml | 472 ++++++++++++++++++++- .../db-disable-root-user-response-json-http.txt | 2 +- api-ref/source/user-management.inc | 2 +- blacklist-py3.txt | 3 - etc/trove/README-policy.generated.md | 19 + etc/trove/api-paste.ini.test | 2 +- etc/trove/policy.yaml.sample | 243 ----------- etc/trove/trove-conductor.conf.sample | 28 ++ etc/trove/trove-guestagent.conf.sample | 28 ++ etc/trove/trove-taskmanager.conf.sample | 31 +- etc/trove/trove.conf.sample | 28 ++ etc/trove/trove.conf.test | 3 +- .../scripts/files/elements/ubuntu-db2/README.md | 2 +- .../99-reliable-apt-key-importing.bash | 34 ++ .../pre-install.d/10-percona-apt-key | 21 - .../pre-install.d/10-mongodb-apt-key | 4 +- .../ubuntu-mysql/pre-install.d/10-percona-apt-key | 21 - .../pre-install.d/10-percona-apt-key | 21 - .../ubuntu-pxc/pre-install.d/10-percona-apt-key | 21 - .../ubuntu-trusty-mariadb/install.d/30-mariadb | 6 +- .../install.d/30-mongodb-conf | 1 - .../ubuntu-xenial-mariadb/install.d/30-mariadb | 6 +- .../install.d/30-mongodb-conf | 1 - .../files/requirements/fedora-requirements.txt | 2 +- .../files/requirements/ubuntu-requirements.txt | 2 +- integration/scripts/functions_qemu | 2 +- integration/scripts/trovestack | 37 +- lower-constraints.txt | 169 ++++++++ .../legacy/trove-functional-dsvm-mysql/post.yaml | 15 - .../legacy/trove-functional-dsvm-mysql/run.yaml | 71 ---- .../trove-scenario-dsvm-cassandra-multi/post.yaml | 15 - .../trove-scenario-dsvm-cassandra-multi/run.yaml | 73 ---- .../trove-scenario-dsvm-cassandra-single/post.yaml | 15 - .../trove-scenario-dsvm-cassandra-single/run.yaml | 73 ---- .../trove-scenario-dsvm-couchbase-single/post.yaml | 15 - .../trove-scenario-dsvm-couchbase-single/run.yaml | 73 ---- .../trove-scenario-dsvm-couchdb-single/post.yaml | 15 - .../trove-scenario-dsvm-couchdb-single/run.yaml | 72 ---- .../trove-scenario-dsvm-mariadb-multi/post.yaml | 15 - .../trove-scenario-dsvm-mariadb-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-mariadb-single/post.yaml | 15 - .../trove-scenario-dsvm-mariadb-single/run.yaml | 72 ---- .../trove-scenario-dsvm-mongodb-multi/post.yaml | 15 - .../trove-scenario-dsvm-mongodb-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-mongodb-single/post.yaml | 15 - .../trove-scenario-dsvm-mongodb-single/run.yaml | 72 ---- .../trove-scenario-dsvm-mysql-multi/post.yaml | 15 - .../trove-scenario-dsvm-mysql-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-mysql-single/post.yaml | 15 - .../trove-scenario-dsvm-mysql-single/run.yaml | 72 ---- .../trove-scenario-dsvm-percona-multi/post.yaml | 15 - .../trove-scenario-dsvm-percona-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-percona-single/post.yaml | 15 - .../trove-scenario-dsvm-percona-single/run.yaml | 72 ---- .../trove-scenario-dsvm-postgresql-multi/post.yaml | 15 - .../trove-scenario-dsvm-postgresql-multi/run.yaml | 73 ---- .../post.yaml | 15 - .../trove-scenario-dsvm-postgresql-single/run.yaml | 73 ---- .../legacy/trove-scenario-dsvm-pxc-multi/post.yaml | 15 - .../legacy/trove-scenario-dsvm-pxc-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-pxc-single/post.yaml | 15 - .../legacy/trove-scenario-dsvm-pxc-single/run.yaml | 72 ---- .../trove-scenario-dsvm-redis-multi/post.yaml | 15 - .../trove-scenario-dsvm-redis-multi/run.yaml | 72 ---- .../trove-scenario-dsvm-redis-single/post.yaml | 15 - .../trove-scenario-dsvm-redis-single/run.yaml | 72 ---- playbooks/trove-devstack-base.yaml | 4 + ...-migrating-mariadb-master-37e2429a1ea75913.yaml | 12 + ...of-use-nova-server-volume-2a334f57d8213810.yaml | 7 + ...-204-for-disable-root-api-a818fc41fd6e75eb.yaml | 5 + releasenotes/source/index.rst | 1 + releasenotes/source/queens.rst | 6 + requirements.txt | 12 +- roles/trove-devstack/README | 8 + roles/trove-devstack/defaults/main.yml | 4 + roles/trove-devstack/tasks/main.yml | 9 + setup.cfg | 10 + test-requirements.txt | 6 +- tools/install_venv.py | 2 +- tools/trove-policy-generator.conf | 3 + tools/trove-pylint.config | 12 - tools/trove-pylint.py | 16 +- tox.ini | 37 +- trove/backup/models.py | 8 +- trove/cluster/models.py | 3 +- trove/cmd/common.py | 4 - trove/cmd/guest.py | 3 - trove/cmd/manage.py | 5 - trove/common/apischema.py | 8 +- trove/common/cfg.py | 21 +- trove/common/crypto_utils.py | 58 ++- trove/common/db/cassandra/models.py | 2 +- trove/common/db/mongodb/models.py | 2 +- trove/common/db/mysql/models.py | 4 +- trove/common/exception.py | 9 + .../experimental/galera_common/taskmanager.py | 11 +- .../strategies/cluster/experimental/mongodb/api.py | 8 +- trove/common/stream_codecs.py | 57 ++- trove/common/utils.py | 2 +- trove/common/wsgi.py | 10 +- trove/conductor/api.py | 5 +- trove/conductor/manager.py | 9 +- trove/configuration/models.py | 5 +- trove/datastore/models.py | 22 +- trove/db/sqlalchemy/mappers.py | 14 +- trove/extensions/cassandra/__init__.py | 0 trove/extensions/cassandra/service.py | 28 -- trove/extensions/common/models.py | 14 +- trove/extensions/common/service.py | 21 +- trove/extensions/mysql/service.py | 10 - trove/extensions/postgresql/__init__.py | 0 trove/extensions/postgresql/service.py | 29 -- trove/extensions/redis/service.py | 13 +- trove/extensions/security_group/models.py | 21 +- trove/guestagent/api.py | 6 +- trove/guestagent/common/configuration.py | 2 +- trove/guestagent/common/guestagent_utils.py | 2 +- trove/guestagent/common/operating_system.py | 64 +-- .../datastore/experimental/cassandra/manager.py | 2 +- .../datastore/experimental/couchbase/system.py | 10 +- .../datastore/experimental/db2/system.py | 4 +- .../datastore/experimental/mongodb/manager.py | 2 +- .../datastore/experimental/postgresql/manager.py | 2 +- .../datastore/experimental/postgresql/service.py | 2 +- .../datastore/experimental/redis/service.py | 13 +- .../datastore/experimental/vertica/system.py | 2 +- trove/guestagent/datastore/mysql_common/manager.py | 2 +- trove/guestagent/datastore/service.py | 4 +- trove/guestagent/pkg.py | 6 +- .../backup/experimental/cassandra_impl.py | 4 +- .../backup/experimental/postgresql_impl.py | 4 +- trove/guestagent/strategies/backup/mysql_impl.py | 3 +- trove/guestagent/strategies/restore/base.py | 19 +- .../restore/experimental/postgresql_impl.py | 4 +- trove/guestagent/strategies/restore/mysql_impl.py | 40 +- trove/instance/models.py | 31 +- trove/module/models.py | 10 +- trove/quota/models.py | 12 +- trove/rpc.py | 16 +- trove/taskmanager/manager.py | 26 +- trove/taskmanager/models.py | 180 ++++---- trove/templates/postgresql/validation-rules.json | 3 +- .../cluster/test_cluster_pxc_controller.py | 2 +- .../cluster/test_cluster_redis_controller.py | 2 +- .../cluster/test_cluster_vertica_controller.py | 2 +- trove/versions.py | 5 +- 199 files changed, 3462 insertions(+), 3603 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 144fc1d..083ef63 100644 --- a/requirements.txt +++ b/requirements.txt @@ -6 +6 @@ SQLAlchemy!=1.1.5,!=1.1.6,!=1.1.7,!=1.1.8,>=1.0.10 # MIT -eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT +eventlet!=0.18.3,!=0.20.1,>=0.18.2 # MIT @@ -23 +23 @@ python-designateclient>=2.7.0 # Apache-2.0 -python-neutronclient>=6.3.0 # Apache-2.0 +python-neutronclient>=6.7.0 # Apache-2.0 @@ -27 +27 @@ jsonschema<3.0.0,>=2.6.0 # MIT -Jinja2!=2.9.0,!=2.9.1,!=2.9.2,!=2.9.3,!=2.9.4,>=2.8 # BSD License (3 clause) +Jinja2>=2.10 # BSD License (3 clause) @@ -29 +29 @@ pexpect!=3.3,>=3.1 # ISC License -oslo.config>=5.1.0 # Apache-2.0 +oslo.config>=5.2.0 # Apache-2.0 @@ -36 +36 @@ oslo.utils>=3.33.0 # Apache-2.0 -oslo.concurrency>=3.25.0 # Apache-2.0 +oslo.concurrency>=3.26.0 # Apache-2.0 @@ -47 +47 @@ xmltodict>=0.10.1 # MIT -pycrypto>=2.6 # Public Domain +cryptography>=2.1.4 # BSD/Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 635916e..32403d0 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -7 +7 @@ bandit>=1.1.0 # Apache-2.0 -sphinx!=1.6.6,>=1.6.2 # BSD +sphinx!=1.6.6,!=1.6.7,>=1.6.2 # BSD @@ -20 +19,0 @@ mock>=2.0.0 # BSD -mox3>=0.20.0 # Apache-2.0 @@ -22 +20,0 @@ testtools>=2.2.0 # MIT -testrepository>=0.0.18 # Apache-2.0/BSD @@ -28 +26 @@ couchdb>=0.8 # Apache-2.0 -os-testr>=1.0.0 # Apache-2.0 +stestr>=1.1.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org