We are thrilled to announce the release of: trove 13.0.0: OpenStack DBaaS This release is part of the ussuri 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. 13.0.0 ^^^^^^ Bug Fixes * Fixed the issue that datastore version cannot be deleted because of dependency of deleted instances. Now, when instance or backup is deleted, the datastore version attribute is set to NULL in database. When datastore configuration parameter is deleted, the record is deleted from database rather than only set 'deleted' field to 1. Changes in trove 12.0.0.0rc1..13.0.0 ------------------------------------ a4057b10 Added checks for deleting datastore version f3186733 Change @property usage to function f33c2130 Update hacking for Python3 9d8fb455 Add innodb configuration parameters log_file_size and flush_method b11e8187 Devstack should install the trove-dashboad module by default bcda317f Release note for XFS disk format support 2547e4ef Support XFS disk format 9e588c04 Fixes "a2ensite" command arg and adds mod_wsgi package installation 94af8337 Fix devstack installation guide dc0bfe1d Improve the doc 2f7f2c74 Fixes the following syntax error of etc/apache2/trove apache conf 513e0dd3 Delete error volumes when deleting instance c952838a Support to test non-dev guest image in CI 7d78c741 Add python-troveclient in requirements.txt ae2709dc Small cleanups 6f1a351f [Community goal] Add contributor and PTL guide cc1ccae6 Cleanup docs building 602c4d42 Improve the function tests af5eea5c Add 'Quota Management' in production guide dfe82640 Config admin clients as default d5735494 Add running trove in production guide eb6cea16 Fix missing parameter in log message 263339b4 Check network conflict 4551a6cd Delete datastore a5f6c9b8 Fix duplicated words issume like "object of of the instance" 35f989a8 Fix unmount path for instance upgrade 81edd0b6 Fix an invalid assertIsNotNone statement dacb400e Improve API doc 52c5646a Fix trovestack tox job 75b9b686 Show service_status_updated in instance API 72524f9d Support PostgreSQL 12 5472d8a5 Fix the log related tests e0a2d8cc About Trove datastore image e048feb1 Remove some unrelated code a0a10f0b Support HEALTHY status for db instance f1602039 Add quotas resource operation in API doc d93a4109 Fix delete instance 5a149be4 Add trove-tempest CI job 4c848209 Fix Trove periodic CI jobs 16f6cd5a Fix some issues with replicate with mysql 605ff346 Support incremental backup for MariaDB 4c551947 Move the iptable change from trovestack to devstack 637c900b Mark CI job trove-scenario-mariadb-single voting e6f55c57 [ussuri][goal] Drop python 2.7 support and testing d5549f30 Support pip3 and run on guest-agent service for redis 1d314fdf Support pip3-virtualenv during image creation 11b0b8d6 Fix mariadb CI - trove-scenario-mariadb-single 52bfbd64 Add CI job to build Ubuntu Xenial based Trove guest image for dev 8fc0b769 Build reusable Trove guest image for dev fc0c4fff Rename devstack variable TROVE_DISABLE_IMAGE_SETUP e5637f00 Release note for service_credentials config 619967e0 Improve image building doc d244c9d6 Support to specify branch when building the image f3bb4654 Use dedicated service credential config 650794ea Remove all the resources when the Nova VM creation failed 32de39fa Use correct Swift credential for instance backup 17885d9e Remove the annoying debug logs 062871b7 Add branch param for image building 73211dd5 Doc: Add public trove guest images info ad19d37b Update master for stable/train 8f4bad30 Add release note for public images 86f0ace3 Fix Trove periodic job e84718c7 Fix an error when generate root password during DB initialization Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 168 +++-- api-ref/source/api-versions.inc | 36 +- api-ref/source/backups.inc | 125 +--- api-ref/source/conf.py | 48 +- api-ref/source/configurations.inc | 164 ++--- api-ref/source/database-instance-actions.inc | 221 ------- api-ref/source/databases.inc | 155 +++-- api-ref/source/datastore-versions.inc | 391 ++++++++++++ api-ref/source/datastores.inc | 83 +-- api-ref/source/index.rst | 14 +- api-ref/source/instance-actions.inc | 311 +++++++++ ...atabase-instance-logs.inc => instance-logs.inc} | 97 +-- .../{database-instances.inc => instances.inc} | 290 +++++---- api-ref/source/parameters.yaml | 67 +- api-ref/source/quotas.inc | 109 ++++ ...ate-request.json => backup-create-request.json} | 0 ...e-response.json => backup-create-response.json} | 0 ...-get-response.json => backup-get-response.json} | 0 ...ist-response.json => backup-list-response.json} | 0 ...quest.json => config-group-create-request.json} | 0 ...onse.json => config-group-create-response.json} | 0 ...n => config-group-list-instances-response.json} | 0 ...equest.json => config-group-patch-request.json} | 0 ...-request.json => config-group-put-request.json} | 0 ...sponse.json => config-group-show-response.json} | 0 ...ponse.json => config-groups-list-response.json} | 0 ...-request.json => databases-create-request.json} | 6 +- ...s-request.json => databases-list-response.json} | 3 + .../source/samples/datastore-list-response.json | 96 +++ .../source/samples/datastore-show-response.json | 32 + .../samples/datastore-version-create-request.json | 11 + .../samples/datastore-version-list-response.json | 19 + .../datastore-version-mgmt-list-response.json | 30 + .../datastore-version-mgmt-patch-request.json | 4 + .../datastore-version-mgmt-show-response.json | 15 + ...datastore-version-parameter-create-request.json | 9 + ...atastore-version-parameter-create-response.json | 12 + .../datastore-version-parameter-list-response.json | 36 ++ .../datastore-version-parameter-show-response.json | 8 + ...datastore-version-parameter-update-request.json | 9 + ...atastore-version-parameter-update-response.json | 10 + .../samples/datastore-version-show-response.json | 17 + .../db-attach-config-group-request-json-http.txt | 7 - .../db-attach-config-group-response-json-http.txt | 5 - ...backup-create-incremental-request-json-http.txt | 7 - .../db-backup-create-incremental-request.json | 9 - ...ackup-create-incremental-response-json-http.txt | 5 - .../db-backup-create-incremental-response.json | 19 - .../samples/db-backup-create-request-json-http.txt | 7 - .../db-backup-create-response-json-http.txt | 5 - .../samples/db-backup-delete-request-json-http.txt | 7 - .../db-backup-delete-response-json-http.txt | 5 - .../samples/db-backup-get-request-json-http.txt | 7 - .../samples/db-backup-get-response-json-http.txt | 5 - .../samples/db-backup-list-request-json-http.txt | 7 - .../samples/db-backup-list-response-json-http.txt | 5 - .../db-backup-restore-request-json-http.txt | 7 - .../source/samples/db-backup-restore-request.json | 12 - .../db-backup-restore-response-json-http.txt | 5 - .../source/samples/db-backup-restore-response.json | 41 -- .../db-backups-by-instance-request-json-http.txt | 7 - .../db-backups-by-instance-response-json-http.txt | 5 - .../samples/db-backups-by-instance-response.json | 38 -- ...db-change-user-attributes-request-json-http.txt | 7 - .../samples/db-change-user-attributes-request.json | 6 - ...b-change-user-attributes-response-json-http.txt | 5 - .../db-change-users-password-request-json-http.txt | 6 - .../samples/db-change-users-password-request.json | 12 - ...db-change-users-password-response-json-http.txt | 4 - .../db-check-root-user-request-json-http.txt | 7 - .../db-check-root-user-response-json-http.txt | 5 - .../db-config-group-details-request-json-http.txt | 6 - .../db-config-group-details-response-json-http.txt | 4 - ...db-config-group-instances-request-json-http.txt | 6 - ...b-config-group-instances-response-json-http.txt | 4 - ...ration-attach-to-instance-request-json-http.txt | 7 - ...b-configuration-attach-to-instance-request.json | 5 - ...ation-attach-to-instance-response-json-http.txt | 5 - .../db-configuration-create-request-json-http.txt | 7 - .../samples/db-configuration-create-request.json | 14 - .../db-configuration-create-response-json-http.txt | 5 - .../samples/db-configuration-create-response.json | 17 - .../db-configuration-delete-request-json-http.txt | 7 - .../db-configuration-delete-response-json-http.txt | 5 - ...tion-detach-from-instance-request-json-http.txt | 7 - ...configuration-detach-from-instance-request.json | 5 - ...ion-detach-from-instance-response-json-http.txt | 5 - .../db-configuration-details-request-json-http.txt | 7 - ...db-configuration-details-response-json-http.txt | 5 - .../samples/db-configuration-details-response.json | 17 - ...iguration-edit-parameters-request-json-http.txt | 7 - .../db-configuration-edit-parameters-request.json | 7 - ...guration-edit-parameters-response-json-http.txt | 5 - ...figuration-list-instances-request-json-http.txt | 7 - ...iguration-list-instances-response-json-http.txt | 5 - .../db-configuration-list-instances-response.json | 8 - .../db-configuration-list-request-json-http.txt | 7 - .../db-configuration-list-response-json-http.txt | 5 - .../samples/db-configuration-list-response.json | 14 - ...ter-for-datastore-version-request-json-http.txt | 7 - ...er-for-datastore-version-response-json-http.txt | 5 - ...n-parameter-for-datastore-version-response.json | 7 - ...without-datastore-version-request-json-http.txt | 7 - ...ithout-datastore-version-response-json-http.txt | 5 - ...rameter-without-datastore-version-response.json | 7 - ...ers-for-datastore-version-request-json-http.txt | 7 - ...rs-for-datastore-version-response-json-http.txt | 5 - ...-parameters-for-datastore-version-response.json | 51 -- ...without-datastore-version-request-json-http.txt | 7 - ...ithout-datastore-version-response-json-http.txt | 5 - ...ameters-without-datastore-version-response.json | 51 -- ...uration-update-parameters-request-json-http.txt | 7 - ...db-configuration-update-parameters-request.json | 10 - ...ration-update-parameters-response-json-http.txt | 5 - .../db-create-config-group-request-json-http.txt | 7 - .../db-create-config-group-response-json-http.txt | 5 - .../db-create-databases-request-json-http.txt | 7 - .../db-create-databases-response-json-http.txt | 5 - .../db-create-instance-request-json-http.txt | 7 - .../db-create-instance-response-json-http.txt | 5 - .../samples/db-create-instance-response.json | 41 -- .../samples/db-create-users-request-json-http.txt | 7 - .../samples/db-create-users-response-json-http.txt | 5 - .../db-datastore-by-id-request-json-http.txt | 7 - .../db-datastore-by-id-response-json-http.txt | 5 - .../samples/db-datastore-by-id-response.json | 33 - .../samples/db-datastore-parameters-response.json | 258 -------- ...b-datastore-version-by-id-request-json-http.txt | 7 - ...-datastore-version-by-id-response-json-http.txt | 5 - .../db-datastore-version-by-id-response.json | 17 - ...b-datastore-versions-list-request-json-http.txt | 7 - ...-datastore-versions-list-response-json-http.txt | 5 - .../db-datastore-versions-list-response.json | 19 - .../db-datastores-list-request-json-http.txt | 7 - .../db-datastores-list-response-json-http.txt | 5 - .../samples/db-datastores-list-response.json | 35 -- .../db-delete-config-group-request-json-http.txt | 6 - .../db-delete-databases-request-json-http.txt | 7 - .../db-delete-databases-response-json-http.txt | 5 - .../db-delete-instance-request-json-http.txt | 7 - .../db-delete-instance-response-json-http.txt | 5 - .../samples/db-delete-root-request-json-http.txt | 7 - .../samples/db-delete-users-request-json-http.txt | 7 - .../samples/db-delete-users-response-json-http.txt | 5 - .../db-detach-config-group-request-json-http.txt | 7 - .../samples/db-detach-config-group-request.json | 3 - .../db-detach-config-group-response-json-http.txt | 5 - .../db-detach-replica-request-json-http.txt | 7 - .../db-detach-replica-response-json-http.txt | 5 - .../db-disable-root-user-request-json-http.txt | 7 - .../db-disable-root-user-response-json-http.txt | 5 - .../db-enable-root-user-request-json-http.txt | 7 - .../db-enable-root-user-response-json-http.txt | 5 - .../samples/db-enable-root-user-response.json | 6 - api-ref/source/samples/db-faults-badRequest.json | 6 - .../source/samples/db-faults-instanceFault.json | 6 - api-ref/source/samples/db-faults-itemNotFound.json | 6 - ...lt-instance-configuration-request-json-http.txt | 7 - ...t-instance-configuration-response-json-http.txt | 5 - .../db-grant-user-access-request-json-http.txt | 6 - .../db-grant-user-access-response-json-http.txt | 4 - .../samples/db-instance-disable-log-response.json | 12 - .../samples/db-instance-discard-log-response.json | 12 - ...db-instance-eject-replica-request-json-http.txt | 6 - .../samples/db-instance-enable-log-response.json | 12 - ...-instance-promote-replica-request-json-http.txt | 6 - .../samples/db-instance-publish-log-response.json | 12 - .../db-instance-reboot-request-json-http.txt | 7 - .../db-instance-reboot-response-json-http.txt | 5 - ...db-instance-resize-flavor-request-json-http.txt | 7 - ...b-instance-resize-flavor-response-json-http.txt | 5 - ...-instance-resize-instance-request-json-http.txt | 6 - .../db-instance-resize-instance-request.json | 5 - ...instance-resize-instance-response-json-http.txt | 4 - ...db-instance-resize-volume-request-json-http.txt | 7 - ...b-instance-resize-volume-response-json-http.txt | 5 - .../db-instance-restart-request-json-http.txt | 7 - .../db-instance-restart-response-json-http.txt | 5 - .../samples/db-instance-show-log-response.json | 12 - ...db-instance-status-detail-request-json-http.txt | 7 - ...b-instance-status-detail-response-json-http.txt | 5 - .../db-instance-status-detail-response.json | 42 -- ...nstances-index-pagination-request-json-http.txt | 7 - ...stances-index-pagination-response-json-http.txt | 5 - .../db-instances-index-pagination-response.json | 78 --- .../db-instances-index-request-json-http.txt | 7 - .../db-instances-index-response-json-http.txt | 5 - .../samples/db-instances-index-response.json | 41 -- .../db-list-cfg-defaults-request-json-http.txt | 7 - .../db-list-cfg-defaults-response-json-http.txt | 5 - .../samples/db-list-cfg-defaults-response.json | 45 -- .../db-list-cfg-groups-request-json-http.txt | 7 - .../db-list-cfg-groups-response-json-http.txt | 5 - ...list-databases-pagination-request-json-http.txt | 7 - ...ist-databases-pagination-response-json-http.txt | 5 - .../db-list-databases-pagination-response.json | 13 - .../db-list-databases-request-json-http.txt | 7 - .../db-list-databases-response-json-http.txt | 5 - .../source/samples/db-list-databases-response.json | 19 - ...b-list-datastore-versions-request-json-http.txt | 6 - ...-list-datastore-versions-response-json-http.txt | 4 - .../source/samples/db-list-datastore-versions.json | 18 - .../db-list-parameters-request-json-http.txt | 6 - .../db-list-parameters-response-json-http.txt | 4 - .../samples/db-list-parameters-response.json | 258 -------- .../db-list-user-access-request-json-http.txt | 6 - .../db-list-user-access-response-json-http.txt | 4 - .../samples/db-list-user-access-response.json | 10 - .../samples/db-list-user-dbs-request-json-http.txt | 6 - .../db-list-user-dbs-response-json-http.txt | 4 - .../db-list-users-pagination-request-json-http.txt | 7 - ...db-list-users-pagination-response-json-http.txt | 5 - .../samples/db-list-users-request-json-http.txt | 7 - .../samples/db-list-users-response-json-http.txt | 5 - api-ref/source/samples/db-list-users-response.json | 43 -- ...-mgmt-get-account-details-request-json-http.txt | 7 - ...mgmt-get-account-details-response-json-http.txt | 5 - .../db-mgmt-get-account-details-response.json | 8 - .../db-mgmt-get-host-detail-request-json-http.txt | 7 - .../db-mgmt-get-host-detail-response-json-http.txt | 5 - .../samples/db-mgmt-get-host-detail-response.json | 17 - ...mgmt-get-instance-details-request-json-http.txt | 7 - ...gmt-get-instance-details-response-json-http.txt | 5 - .../db-mgmt-get-instance-details-response.json | 84 --- .../db-mgmt-get-root-details-request-json-http.txt | 7 - ...db-mgmt-get-root-details-response-json-http.txt | 5 - .../samples/db-mgmt-get-root-details-response.json | 7 - .../db-mgmt-get-storage-request-json-http.txt | 7 - .../db-mgmt-get-storage-response-json-http.txt | 5 - .../samples/db-mgmt-get-storage-response.json | 18 - ...mgmt-instance-diagnostics-request-json-http.txt | 7 - ...gmt-instance-diagnostics-response-json-http.txt | 5 - .../db-mgmt-instance-diagnostics-response.json | 11 - .../db-mgmt-instance-index-request-json-http.txt | 7 - .../db-mgmt-instance-index-response-json-http.txt | 5 - .../samples/db-mgmt-instance-index-response.json | 62 -- .../db-mgmt-list-accounts-request-json-http.txt | 7 - .../db-mgmt-list-accounts-response-json-http.txt | 5 - .../samples/db-mgmt-list-accounts-response.json | 8 - .../db-mgmt-list-hosts-request-json-http.txt | 7 - .../db-mgmt-list-hosts-response-json-http.txt | 5 - .../samples/db-mgmt-list-hosts-response.json | 12 - .../db-patch-config-group-request-json-http.txt | 7 - .../db-patch-config-group-response-json-http.txt | 5 - .../db-restore-delete-request-json-http.txt | 7 - .../db-restore-delete-response-json-http.txt | 5 - .../db-revoke-user-access-request-json-http.txt | 6 - .../db-revoke-user-access-response-json-http.txt | 4 - ...db-show-parameter-details-request-json-http.txt | 6 - ...b-show-parameter-details-response-json-http.txt | 4 - .../source/samples/db-show-parameter-details.json | 8 - .../db-update-config-group-request-json-http.txt | 7 - .../db-update-config-group-response-json-http.txt | 5 - .../samples/db-version-request-json-http.txt | 6 - .../samples/db-version-response-json-http.txt | 4 - api-ref/source/samples/db-version-response.json | 13 - .../samples/db-versions-request-json-http.txt | 6 - .../samples/db-versions-response-json-http.txt | 4 - ... => instance-action-eject-replica-request.json} | 0 ...> instance-action-promote-replica-request.json} | 0 .../instance-action-reset-status-request.json | 3 + ...st.json => instance-action-resize-request.json} | 2 +- ... => instance-action-resize-volume-request.json} | 0 ...t.json => instance-action-restart-request.json} | 0 .../samples/instance-backup-list-response.json | 21 + ...n => instance-configuration-list-response.json} | 28 +- ...e-request.json => instance-create-request.json} | 0 .../source/samples/instance-create-response.json | 41 ++ .../samples/instance-list-detail-response.json | 91 +++ api-ref/source/samples/instance-list-response.json | 44 ++ ...uest.json => instance-log-disable-request.json} | 0 .../samples/instance-log-disable-response.json | 12 + ...uest.json => instance-log-discard-request.json} | 0 .../samples/instance-log-discard-response.json | 12 + ...quest.json => instance-log-enable-request.json} | 0 .../samples/instance-log-enable-response.json | 12 + ...sponse.json => instance-log-list-response.json} | 0 ...uest.json => instance-log-publish-request.json} | 0 .../samples/instance-log-publish-response.json | 12 + ...request.json => instance-log-show-request.json} | 0 .../source/samples/instance-log-show-response.json | 12 + .../instance-mgmt-action-migrate-request.json | 5 + ...on => instance-mgmt-action-reboot-request.json} | 2 +- ...ance-mgmt-action-reset-task-status-request.json | 3 + .../samples/instance-mgmt-action-stop-request.json | 3 + .../samples/instance-mgmt-list-response.json | 114 ++++ .../samples/instance-mgmt-show-response.json | 104 +++ ... => instance-patch-detach-replica-request.json} | 0 ...son => instance-patch-update-name-request.json} | 0 ...e-patch-upgrade-datastore-version-request.json} | 0 ... instance-put-attach-config-group-request.json} | 0 api-ref/source/samples/instance-show-response.json | 46 ++ api-ref/source/samples/limit-show-response.json | 55 ++ api-ref/source/samples/quota-show-response.json | 22 + api-ref/source/samples/quota-update.json | 5 + ...response.json => user-check-root-response.json} | 0 ...users-request.json => user-create-request.json} | 7 +- .../source/samples/user-enable-root-response.json | 6 + .../user-grant-databases-access-request.json | 7 + ...ation-response.json => user-list-response.json} | 13 +- api-ref/source/samples/user-put-request.json | 7 + ...r-dbs-response.json => user-show-response.json} | 10 +- .../samples/user-show-root-history-response.json | 7 + api-ref/source/samples/users-put-request.json | 9 + ...rsions-response.json => versions-response.json} | 4 +- api-ref/source/user-management.inc | 303 --------- api-ref/source/users.inc | 289 +++++++++ devstack/plugin.sh | 151 +++-- devstack/settings | 7 +- .../contributor/how_to_create_a_trove_instance.rst | 360 ----------- .../{install-rdo.rst => install-redhat.rst} | 3 + .../install/{install-obs.rst => install-suse.rst} | 4 + etc/apache2/trove | 2 +- integration/README.md | 5 +- integration/scripts/conf/test_begin.conf | 56 +- .../fedora-guest/extra-data.d/15-trove-dep | 0 .../fedora-guest/extra-data.d/20-guest-systemd | 0 .../fedora-guest/extra-data.d/62-ssh-key | 0 .../fedora-guest/install.d/15-trove-dep | 0 .../fedora-guest/install.d/20-etc | 0 .../install.d/21-use-fedora-certificates | 0 .../fedora-guest/install.d/50-user | 0 .../fedora-guest/install.d/62-ssh-key | 0 .../fedora-guest/post-install.d/05-ipforwarding | 0 .../post-install.d/62-trove-guest-sudoers | 0 .../fedora-guest/post-install.d/90-yum-update | 0 .../fedora-mariadb/README.md | 0 .../fedora-mariadb/install.d/10-mariadb | 0 .../fedora-mariadb/pre-install.d/10-percona-copr | 0 .../fedora-mongodb/README.md | 0 .../fedora-mongodb/install.d/10-mongodb | 0 .../fedora-mongodb/install.d/25-trove-mongo-dep | 0 .../fedora-mysql/README.md | 0 .../fedora-mysql/install.d/10-mysql | 0 .../fedora-mysql/install.d/40-xtrabackup | 0 .../post-install.d/30-register-mysql-service | 0 .../fedora-percona/install.d/05-percona-server | 0 .../fedora-percona/install.d/10-mysql | 0 .../fedora-postgresql/install.d/10-postgresql | 0 .../fedora-redis/README.md | 0 .../fedora-redis/install.d/10-redis | 0 .../ubuntu-cassandra/install.d/10-cassandra | 0 .../ubuntu-couchbase/install.d/10-couchbase | 0 .../ubuntu-couchdb/install.d/10-couchdb | 0 .../ubuntu-db2/README.md | 0 .../ubuntu-db2/extra-data.d/20-copy-db2-pkgs | 0 .../ubuntu-db2/install.d/10-db2 | 0 .../ubuntu-mongodb/README.md | 0 .../pre-install.d/10-mongodb-apt-key | 0 .../ubuntu-percona/install.d/30-mysql | 0 .../pre-install.d/10-percona-apt-key | 0 .../pre-install.d/20-apparmor-mysql-local | 0 .../ubuntu-pxc/install.d/30-mysql | 0 .../ubuntu-pxc/pre-install.d/10-percona-apt-key | 0 .../pre-install.d/20-apparmor-mysql-local | 0 .../ubuntu-redis/README.md | 0 .../ubuntu-redis/install.d/30-redis | 2 +- .../install.d/80-fix-in-guest-agent-env | 11 + .../ubuntu-vertica/README.md | 0 .../extra-data.d/93-copy-vertica-deb | 0 .../ubuntu-vertica/install.d/97-vertica | 0 .../ubuntu-xenial-cassandra}/element-deps | 0 .../ubuntu-xenial-couchbase}/element-deps | 0 .../ubuntu-xenial-couchdb}/element-deps | 0 .../ubuntu-xenial-mongodb}/element-deps | 0 .../ubuntu-xenial-mongodb/install.d/10-mongodb-thp | 0 .../ubuntu-xenial-mongodb}/install.d/20-mongodb | 0 .../install.d/25-trove-mongo-dep | 0 .../install.d/30-mongodb-conf | 0 .../ubuntu-xenial-mongodb/install.d/35-check-numa | 0 .../install.d/40-check-numa-systemd | 0 .../install.d/41-mongod-systemd | 0 .../install.d/42-mongos-systemd | 0 .../ubuntu-xenial-percona}/element-deps | 0 .../post-install.d/10-fix-mycnf | 0 .../ubuntu-xenial-pxc}/element-deps | 0 .../ubuntu-xenial-pxc/install.d/31-fix-my-cnf | 0 .../ubuntu-xenial-redis}/element-deps | 0 .../ubuntu-xenial-redis/install.d/31-fix-init-file | 0 .../files/elements/guest-agent/element-deps | 1 + .../guest-agent/source-repository-guest-agent | 2 +- .../ubuntu-guest/extra-data.d/15-trove-dep | 32 +- .../scripts/files/elements/ubuntu-mysql/README.md | 3 - .../ubuntu-postgresql/install.d/30-postgresql | 33 +- .../pre-install.d/10-postgresql-repo | 4 +- .../files/elements/ubuntu-trusty-db2/element-deps | 1 - .../elements/ubuntu-trusty-guest/element-deps | 1 - .../extra-data.d/20-guest-upstart | 21 - .../elements/ubuntu-trusty-guest/install.d/20-etc | 8 - .../ubuntu-trusty-guest/pre-install.d/01-trim-pkgs | 117 ---- .../elements/ubuntu-trusty-mariadb/element-deps | 1 - .../ubuntu-trusty-mariadb/install.d/30-mariadb | 36 -- .../ubuntu-trusty-mongodb/install.d/10-mongodb-thp | 42 -- .../ubuntu-trusty-mongodb/install.d/41-mongod-init | 46 -- .../ubuntu-trusty-mongodb/install.d/42-mongos-init | 30 - .../elements/ubuntu-trusty-mysql/element-deps | 1 - .../ubuntu-trusty-mysql/install.d/30-mysql | 23 - .../elements/ubuntu-trusty-postgresql/element-deps | 1 - .../elements/ubuntu-trusty-vertica/element-deps | 1 - .../elements/ubuntu-xenial-cassandra/element-deps | 1 - .../elements/ubuntu-xenial-couchbase/element-deps | 1 - .../elements/ubuntu-xenial-couchdb/element-deps | 1 - .../extra-data.d/20-guest-systemd | 3 +- .../elements/ubuntu-xenial-guest/install.d/20-etc | 2 - .../install.d/21-use-ubuntu-certificates | 7 +- .../elements/ubuntu-xenial-mariadb/element-deps | 2 +- .../ubuntu-xenial-mariadb/install.d/30-mariadb | 8 +- .../elements/ubuntu-xenial-mongodb/element-deps | 1 - .../ubuntu-xenial-mongodb/install.d/20-mongodb | 8 - .../install.d/25-trove-mongo-dep | 9 - .../install.d/30-mongodb-conf | 25 - .../ubuntu-xenial-mysql/install.d/30-mysql | 38 +- .../elements/ubuntu-xenial-percona/element-deps | 1 - .../elements/ubuntu-xenial-postgresql/element-deps | 2 +- .../install.d/31-fix-init-script | 7 - .../files/elements/ubuntu-xenial-pxc/element-deps | 1 - .../elements/ubuntu-xenial-redis/element-deps | 1 - integration/scripts/files/trove-guest.systemd.conf | 31 +- integration/scripts/functions_qemu | 12 +- integration/scripts/trovestack | 258 ++------ lower-constraints.txt | 6 +- playbooks/image-build/post.yaml | 4 +- playbooks/image-build/run.yaml | 4 +- playbooks/legacy/grenade-dsvm-trove/run.yaml | 1 + .../notes/drop-py-2-7-010fe6df0c10352d.yaml | 6 + ...in-04-public-trove-images-127300c0df6c11e9.yaml | 4 + .../notes/ussuri-add-service-status-updated.yaml | 5 + .../ussuri-admin-clients-a14514a835ae11ea.yaml | 11 + .../notes/ussuri-database-instance-healthy.yaml | 8 + .../ussuri-delete-datastoredad784e2345711ea.yaml | 4 + .../notes/ussuri-fix-delete-datastore-version.yaml | 7 + .../notes/ussuri-service-credential-config.yaml | 19 + .../notes/ussuri-support-xfs-disk-format.yaml | 4 + releasenotes/source/index.rst | 1 + releasenotes/source/train.rst | 6 + requirements.txt | 2 +- roles/trove-devstack/defaults/main.yml | 3 +- roles/trove-devstack/tasks/main.yml | 2 +- setup.cfg | 15 - test-requirements.txt | 9 +- test-upper-constraints.txt | 1 - tools/trove-pylint.config | 28 +- tox.ini | 39 +- trove/backup/models.py | 6 +- trove/cluster/models.py | 12 +- trove/cmd/guest.py | 3 - trove/common/api.py | 4 - trove/common/cfg.py | 93 ++- trove/common/{remote.py => clients.py} | 73 ++- .../{single_tenant_remote.py => clients_admin.py} | 99 ++- trove/common/exception.py | 36 +- trove/common/glance_remote.py | 55 -- trove/common/instance.py | 3 + trove/common/limits.py | 1 + trove/common/models.py | 8 +- trove/common/neutron.py | 29 +- trove/common/notification.py | 14 +- trove/common/policies/datastores.py | 10 + trove/common/server_group.py | 2 +- .../cluster/experimental/cassandra/api.py | 6 +- .../experimental/galera_common/taskmanager.py | 2 +- .../strategies/cluster/experimental/mongodb/api.py | 4 +- trove/common/strategies/storage/__init__.py | 1 - trove/common/strategies/storage/swift.py | 2 +- trove/common/trove_remote.py | 11 +- trove/common/utils.py | 5 +- trove/configuration/models.py | 77 +-- trove/datastore/models.py | 2 +- trove/datastore/service.py | 18 + trove/db/__init__.py | 1 + .../sqlalchemy/migrate_repo/versions/039_region.py | 3 +- .../versions/043_instance_ds_version_nullable.py | 50 ++ ...e_datastore_configuration_parameters_deleted.py | 37 ++ trove/extensions/common/models.py | 6 +- trove/extensions/mgmt/configuration/service.py | 6 +- trove/extensions/mgmt/configuration/views.py | 2 - trove/extensions/mgmt/datastores/service.py | 24 +- trove/extensions/mgmt/instances/models.py | 20 +- trove/extensions/mgmt/upgrade/models.py | 2 +- trove/extensions/mysql/models.py | 2 +- trove/extensions/redis/models.py | 2 +- trove/extensions/security_group/models.py | 4 +- trove/flavor/models.py | 4 +- trove/guestagent/api.py | 2 +- trove/guestagent/backup/backupagent.py | 27 +- trove/guestagent/common/sql_query.py | 4 +- .../datastore/experimental/cassandra/manager.py | 3 +- .../datastore/experimental/couchdb/service.py | 2 +- .../datastore/experimental/db2/service.py | 4 +- .../datastore/experimental/postgresql/manager.py | 3 +- .../datastore/experimental/redis/manager.py | 5 +- .../datastore/experimental/redis/system.py | 2 +- trove/guestagent/datastore/manager.py | 47 +- trove/guestagent/datastore/mysql_common/manager.py | 37 +- trove/guestagent/datastore/mysql_common/service.py | 129 ++-- trove/guestagent/datastore/service.py | 5 - trove/guestagent/guest_log.py | 4 +- trove/guestagent/strategies/backup/__init__.py | 1 - .../strategies/backup/experimental/mariadb_impl.py | 120 +++- trove/guestagent/strategies/backup/mysql_impl.py | 14 +- .../replication/experimental/mariadb_gtid.py | 26 +- .../strategies/replication/mysql_base.py | 1 + .../strategies/replication/mysql_gtid.py | 6 +- .../restore/experimental/mariadb_impl.py | 166 ++++- trove/guestagent/strategies/restore/mysql_impl.py | 12 +- trove/guestagent/volume.py | 169 +++-- trove/hacking/checks.py | 19 +- trove/instance/models.py | 231 +++++-- trove/instance/service.py | 42 +- trove/instance/tasks.py | 1 + trove/instance/views.py | 16 +- trove/network/neutron.py | 4 +- trove/network/nova.py | 4 +- trove/quota/quota.py | 3 +- trove/taskmanager/manager.py | 21 +- trove/taskmanager/models.py | 292 +++------ trove/templates/mariadb/config.template | 2 - trove/templates/mariadb/validation-rules.json | 12 + trove/templates/mysql/validation-rules.json | 12 + .../scenario/groups/database_actions_group.py | 22 +- .../scenario/groups/instance_actions_group.py | 23 +- .../scenario/groups/instance_error_create_group.py | 12 +- .../scenario/groups/instance_force_delete_group.py | 7 +- .../groups/negative_cluster_actions_group.py | 46 -- .../scenario/runners/configuration_runners.py | 14 +- .../scenario/runners/instance_actions_runners.py | 6 +- .../scenario/runners/instance_create_runners.py | 12 +- .../runners/instance_error_create_runners.py | 7 + .../scenario/runners/instance_upgrade_runners.py | 2 +- .../datastore/test_datastore_version_metadata.py | 4 +- .../guestagent/test_mongodb_cluster_manager.py | 222 ------- trove/volume_type/models.py | 7 +- 654 files changed, 6360 insertions(+), 13484 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 35bddbc9..c53d8f7c 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,0 +25 @@ python-glanceclient>=2.8.0 # Apache-2.0 +python-troveclient>=2.2.0 # Apache-2.0 @@ -46 +46,0 @@ oslo.db>=4.27.0 # Apache-2.0 -enum34>=1.0.4;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 99db0dce..c8dbd865 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0 +hacking>=3.0,<3.1.0 # Apache-2.0 @@ -7,2 +6,0 @@ bandit>=1.1.0 # Apache-2.0 -os-api-ref>=1.4.0 # Apache-2.0 -reno>=2.5.0 # Apache-2.0 @@ -12 +9,0 @@ nosexcover>=1.0.10 # BSD -openstackdocstheme>=1.18.1 # Apache-2.0 @@ -30,0 +28,4 @@ tenacity>=4.9.0 # Apache-2.0 +# Docs building +openstackdocstheme>=1.32.1 # Apache-2.0 +os-api-ref>=1.4.0 # Apache-2.0 +reno>=2.5.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org