We are amped to announce the release of: trove 14.1.0: OpenStack DBaaS This release is part of the victoria stable 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. 14.1.0 ^^^^^^ New Features ************ * Added the ability to create the cinder volume in the same AZ as the nova instance. Set "enable_volume_az" to True (defaults to False) Bug Fixes ********* * Fixed an issue that orphan volumes left after removing instances, especially for the case that instance creation failed because of timeout when waiting for the volume available. * Added a periodic task for postgresql datastore to clean up the archived WAL files. Added a check when creating incremental backups for postgresql. A new container image "openstacktrove/db-backup- postgresql:1.1.2" is uploaded to docker hub. * Fixed a race condition that instance becomes ERROR when Trove is handling creating and deleting at the same time. Changes in trove 14.0.0..14.1.0 ------------------------------- 5165a170 Fix trove guest agent logrotate 1c38b4c9 Add float types to load_items to support configuration parameters of float type c551eac9 Run reset master when setting up mysql replicas 3b827ef2 Add periodic task to remove postgres archived wal files be65d641 Fix getting config option value for database 327231dc Keep user defined configuration after resizing instance cf13d812 Add package iptables-persistent inside guest instance 5813fb20 Fix periodic public image job 003b98a7 Fix check_subnet_router filters 368915a2 Fix test_create_inactive_datastore_by_admin ed5c5f96 Stop using pip-and-virtualenv diskimage element c91c117a Remove the incorrect log for creating replication cluster 150072bf Change the default agent_heartbeat_expiry to 90s 2b6b7ab4 Do not override RESTART_REQUIRED service status 73978a9b Do not rely on description for checking port type 3639befa Disable openstack-lower-constraints-jobs e1dcb796 Add Neutron extension check before calling some APIs 753252ab Get slave_pos to choose latest replica d6b35435 Use current slave_pos of slave to continue replicate b7f1100e Fix the guest service name in troubleshooting guide a7a92e67 Remove the experimental claim of dev_mode false 3f4e3779 No validate when perform eject replica source 33b08936 [docs]Fix wrong links in README e53e6385 convert to type str to compare ad1bc78d Fix the race condition for creating and deleting instance 698300d8 Do not check server status when waiting for instance removed 37185903 Fix deleting volume for instance c70bf1f7 Make guest agent api changes backwards compatible 4dfb75e0 Pass availability zone through to volume creation. 29c336c6 Fix upgrading instance datastore version aa18d30a Fix edit instance action return code 47be5fc7 Revert "Remove flavor API" 967b6c05 Use datastore manager as opposed to name to restrict actions 8728ed65 Fix restore encrypted backup 666b83ae Fix getting user port for instance ffd08c84 fix typo in docs c6a5b067 [TrivialFix] Fix '--replica-of' argument format in docs 0ce59e04 Support to get instances of a specified project dfb534c1 Use victoria branch for CI and image build 555ddb03 Create floating IP in the user's project Diffstat (except docs and test files) ------------------------------------- .zuul.yaml | 14 +-- README.rst | 6 +- api-ref/source/instances.inc | 11 +- backup/drivers/base.py | 26 ++++- backup/drivers/postgres.py | 13 ++- backup/main.py | 7 +- devstack/settings | 2 +- integration/README.md | 3 +- .../files/elements/guest-agent/element-deps | 1 - .../31-guest-agent-install | 5 +- .../guest-agent.logrotate | 7 +- .../elements/guest-agent/package-installs.yaml | 13 ++- .../guest-agent/source-repository-guest-agent | 4 +- integration/scripts/functions_qemu | 1 - integration/scripts/trovestack | 2 +- integration/scripts/trovestack.rc | 2 +- ...oria-add-cinder-az-option-d4ff1968e6064ff2.yaml | 5 + .../notes/victoria-fix-deleting-volume.yaml | 5 + .../victoria-fix-postgresql-wal-archive-size.yaml | 6 + .../victoria-fix-race-condition-create-delete.yaml | 4 + trove/cluster/views.py | 5 +- trove/common/api.py | 13 +++ trove/common/cfg.py | 65 ++++++++--- trove/common/neutron.py | 56 +++++++-- trove/conductor/manager.py | 13 ++- trove/configuration/models.py | 2 + trove/extensions/common/models.py | 5 +- trove/extensions/mgmt/instances/models.py | 17 +-- trove/extensions/mgmt/instances/service.py | 8 +- trove/flavor/service.py | 51 ++++++++ trove/guestagent/api.py | 70 ++++++++--- trove/guestagent/common/configuration.py | 25 ++-- trove/guestagent/common/operating_system.py | 17 +++ trove/guestagent/datastore/manager.py | 28 ++++- trove/guestagent/datastore/mariadb/service.py | 8 +- trove/guestagent/datastore/mysql/service.py | 2 +- trove/guestagent/datastore/mysql_common/manager.py | 13 ++- trove/guestagent/datastore/mysql_common/service.py | 98 ++++++++++------ trove/guestagent/datastore/postgres/manager.py | 80 ++++++++++++- trove/guestagent/datastore/postgres/service.py | 48 ++++---- trove/guestagent/datastore/service.py | 18 ++- trove/guestagent/guest_log.py | 27 +++-- .../strategies/replication/mariadb_gtid.py | 10 +- .../strategies/replication/mysql_gtid.py | 4 + trove/guestagent/utils/docker.py | 8 ++ trove/guestagent/utils/mysql.py | 9 +- trove/instance/models.py | 102 ++++++++-------- trove/instance/service.py | 11 +- trove/instance/service_status.py | 1 + trove/instance/views.py | 5 + trove/taskmanager/manager.py | 1 - trove/taskmanager/models.py | 96 ++++++++------- .../extensions/mgmt/instances/test_service.py | 88 ++++++++++++++ .../guestagent/datastore/postgres/__init__.py | 0 .../guestagent/datastore/postgres/test_manager.py | 101 ++++++++++++++++ 76 files changed, 1192 insertions(+), 342 deletions(-)