2023.1 Series Release Notes¶
8.0.0¶
Upgrade Notes¶
- Python 3.6 & 3.7 support has been dropped. The minimum version of Python now supported is Python 3.8. 
7.1.0¶
New Features¶
- Support both project name and ID in quota CLI. 
7.0.0¶
New Features¶
- Support deleting backups in batch. 
- Support - operating_statusfor listing and showing instance. When instance is created successfully, the- statusis ACTIVE and- operating_statusis HEALTHY.
- In multi-region deployment with geo-replicated Swift, the user can restore a backup in one region by manually specifying the original backup data location created in another region. Instance ID or name is not needed anymore for creating backups. 
6.0.0¶
New Features¶
- Support specifying and showing datastore version number for several resources such as datastore version, instance and configuration. 
- Support to get backups of a specific project by - --project-id PROJECT_ID.
- Support updating datastore version. 
5.1.0¶
New Features¶
- Added support to show and update access settings for instance. 
- Support to rebuild instance. - openstack database instance rebuild <instance> <new-image-id>
5.0.0¶
New Features¶
- Support backup strategy CLI. 
- Change flavor as an optional parameter ( - --flavor) for creating instance. When creating replicas, flavor is not requried.
4.1.0¶
New Features¶
- Support to create datastore version in CLI. 
4.0.0¶
New Features¶
- Support following commands of updating configuration: - openstack database configuration parameter set <config_id> <values> openstack database configuration set <config_id> <values> --name NAME --description DESC 
- Support following replication commands: - openstack database instance detach openstack database instance promote openstack database instance eject 
- Add replication ‘Role’ for listing instances to indicate if the instance is a master or a replica. 
Deprecation Notes¶
- Trove CLI doesn’t support to get flavor information more. User needs to provide Nova flavor ID when creating trove instance. 
- The following commands are removed: - openstack database instance detach replica openstack database instance promote to replica source openstack database instance eject replica source 
3.3.0¶
New Features¶
- Support to force delete instance. By default, only allowed by admin user. - openstack database instance delete --force <instance>
- Support to reboot instance. - openstack database instance reboot <instance>
- Support to delete datastore version by ID. - openstack datastore version delete <datastore_version_id>
- Support to delete datastore by ID or name, this is admin action by default. - openstack datastore delete <datastore>
3.2.0¶
New Features¶
- Support following instance log actions: - openstack database log show <instance_id> <log_name> openstack database log set <instance_id> <log_name> [OPTIONS] 
- Support to show log content and save instance log files: - openstack database log tail [--lines LINES] <instance> <log_name> openstack database log save [--file FILE] <instance> <log_name> 
Upgrade Notes¶
- Python 2.7 support has been dropped. Last release of python-troveclient to support py2.7 is OpenStack Train. The minimum version of Python now supported by python-troveclient is Python 3.6. 
3.0.0¶
New Features¶
- Support - --is-publicand- --allowed-cidrfor creating instance.
2.19.0¶
New Features¶
- Support - --instance-idand- --all-projectsfor getting backups.
2.18.0¶
New Features¶
- Allow users to delete database instances in batch. 
- Admin user can use - openstack database instance list --all-projectsto get database instances of all the projects.
2.17.0¶
New Features¶
- A –configuration flag was added to the - trove cluster-createcommand, in order to allow a user to attach specific configuration for cluster.
- Added - detailedoption to instances client in- instances.listcommand. Now, detailed instance list can be obtained by setting- detailedparameter to- True. Trove will then include more details in the API response.
- User can specify the number and volume of mongos/configserver by using the extends argument when creating mongodb cluster. Currently, the supported parameters are, num_configsvr, num_mongos, configsvr_volume_size, configsvr_volume_type, mongos_volume_size and mongos_volume_type. 
Bug Fixes¶
- [bug 1794663] Fixed wrong keyword arguments to make - openstack database flavor listcommand work properly with- --datastore-typeand- --datastore-version-idoptions.
2.16.0¶
New Features¶
- The command - trove cluster-modulesis now available to use in the python-openstackclient CLI as- openstack database cluster modules.
- The command - trove configuration-defaultis now available to use in the python-openstackclient CLI as- openstack database configuration default
- The command - trove configuration-instancesis now available to use in the python-openstackclient CLI as- openstack database configuration instances
- The command - trove detach-replicais now available to use in the python-openstackclient CLI as- openstack database instance detach replica
- The command - trove eject-replica-sourceis now available to use in the python-openstackclient CLI as `` openstack database instance eject replica source``
- The command - trove execution-deleteis now available to use in the python-openstackclient CLI as- openstack database backup execution delete
- The command - trove log-listis now available to use in the python-openstackclient CLI as- openstack database log list
- The command - trove promote-to-replica-sourceis now available to use in the python-openstackclient CLI as- openstack database instance promote to replica source
2.15.0¶
New Features¶
- The command - trove cluster-growis now available to use in the python-openstackclient CLI as- openstack database cluster grow
- The command - trove cluster-shrinkis now available to use in the python-openstackclient CLI as- openstack database cluster shrink
2.14.0¶
New Features¶
- The command - trove backup-createis now available to use in the python-openstackclient CLI as- openstack database backup create
- The command - trove backup-deleteis now available to use in the python-openstackclient CLI as- openstack database backup delete
- The command - trove backup-list-instanceis now available to use in the python-openstackclient CLI as- openstack database backup list instance
- The command - trove backup-showis now available to use in the python-openstackclient CLI as- openstack database backup show
- The command - trove cluster-createis now available to use in the python-openstackclient CLI as- openstack database cluster create
- The command - trove cluster-deleteis now available to use in the python-openstackclient CLI as- openstack database cluster delete
- The command - trove cluster-instancesis now available to use in the python-openstackclient CLI as- openstack database cluster list instances.
- The command - trove cluster-showis now available to use in the python-openstackclient CLI as- openstack database cluster show
- The command - trove configuration-attachis now available to use in the python-openstackclient CLI as- openstack database configuration attachThe command- trove configuration-detachis now available to use in the python-openstackclient CLI as- openstack database configuration detach
- The command - trove configuration-createis now available to use in the python-openstackclient CLI as- openstack database configuration create
- The command - trove configuration-deleteis now available to use in the python-openstackclient CLI as- openstack database configuration delete
- The command - trove configuration-parameter-listis now available to use in the python-openstackclient CLI as- openstack database configuration parameter list
- The command - trove configuration-parameter-showis now available to use in the python-openstackclient CLI as- openstack database configuration parameter show
- The command - trove configuration-showis now available to use in the python-openstackclient CLI as- openstack database configuration show
- The command - trove database-createis now available to use in the python-openstackclient CLI as- openstack database db create
- The command - trove database-deleteis now available to use in the python-openstackclient CLI as- openstack database db delete
- The command - trove datastore-showis now available to use in the python-openstackclient CLI as- openstack datastore show
- The command - trove datastore-version-listis now available to use in the python-openstackclient CLI as- openstack datastore version list
- The command - trove datastore-version-showis now available to use in the python-openstackclient CLI as- openstack datastore version show
- The command - trove flavor-showis now available to use in the python-openstackclient CLI as- openstack database flavor show
- The command - trove force-deleteis now available to use in the python-openstackclient CLI as- openstack database instance force delete
- The command - trove cluster-force-deleteis now available to use in the python-openstackclient CLI as- openstack database instance cluster force delete
- The command - trove createis now available to use in the python-openstackclient CLI as- openstack database instance create
- The command - trove deleteis now available to use in the python-openstackclient CLI as- openstack database instance delete
- The command - trove showis now available to use in the python-openstackclient CLI as- openstack database instance show
- The command - trove log-enableis now available to use in the python-openstackclient CLI as- openstack database log enable.
- The command - trove quota-showis now available to use in the python-openstackclient CLI as- openstack database quota show.
- The command - trove quota-updateis now available to use in the python-openstackclient CLI as- openstack database quota update.
- The command - trove reset-statusis now available to use in the python-openstackclient CLI as- openstack database instance reset statusThe command- trove cluster-reset-statusis now available to use in the python-openstackclient CLI as- openstack database cluster reset status
- The command - trove resize-instanceis now available to use in the python-openstackclient CLI as- openstack database instance resize flavor
- The command - trove resize-volumeis now available to use in the python-openstackclient CLI as- openstack database instance resize volume
- The command - trove restartis now available to use in the python-openstackclient CLI as- openstack database instance restart
- The command - trove root-disableis now available to use in the python-openstackclient CLI as- openstack database root disable.
- The command - trove root-enableis now available to use in the python-openstackclient CLI as- openstack database root enable.
- The command - trove root-showis now available to use in the python-openstackclient CLI as- openstack database root show.
- The command - trove updateis now available to use in the python-openstackclient CLI as- openstack database instance update.
- The command - trove upgradeis now available to use in the python-openstackclient CLI as- openstack database instance upgrade.
- The command - trove cluster-upgradeis now available to use in the python-openstackclient CLI as- openstack database cluster upgrade.
- The command - trove user-grant-accessand- trove user-revoke-accessand- trove user-show-accessare now available to use in the python-openstackclient CLI as- openstack database user grant accessand- openstack database user revoke accessand- openstack database user show access
- The command - trove user-createis now available to use in the python-openstackclient CLI as- openstack database user create
- The command - trove user-deleteis now available to use in the python-openstackclient CLI as- openstack database user delete
- The command - trove user-showis now available to use in the python-openstackclient CLI as- openstack database user show
- The command - trove user-update-attributesis now available to use in the python-openstackclient CLI as- openstack database user update attributes
- This change defines do_action_on_many function as a helper to run an action on many resources (like trove delete). Use command like - trove delete instance1 instance2 ...to delete many instances and the same as cluster-delete.
2.11.0¶
New Features¶
- The command - trove backup-listis now available to use in the python-openstackclient CLI as- openstack database backup list
- The command - trove cluster-listis now available to use in the python-openstackclient CLI as- openstack database cluster list
- The command - trove configuration-listis now available to use in the python-openstackclient CLI as- openstack database configuration list
- The command - trove database-listis now available to use in the python-openstackclient CLI as- openstack database db list
- The command - trove datastore-listis now available to use in the python-openstackclient CLI as- openstack datastore list
- The command - trove listis now available to use in the python-openstackclient CLI as- openstack database instance list
2.10.0¶
New Features¶
- Support was added to manage users and databases for clusters. 
2.9.0¶
New Features¶
- Added support for listing volume types for a given datastore version. 
2.8.0¶
New Features¶
- The command - trove flavor-listis now available to use in the python-openstackclient CLI as- openstack database flavor list
Bug Fixes¶
- Add module-instance-count support to list a count of all instances having a specific module applied. Bug 1554900 
- Add module-reapply command to facilitate applying a module again to all instances where it was previously applied. Bug 1554903 
- Having the CLI command display non-redundant information for module-list when invoked with admin privileges now works with both keystone V2 and V3. Bug 1622019 
2.7.0¶
New Features¶
- Added cluster-upgrade command to upgrade all instances in a cluster to a new datastore version. 
- Adds –region option to create and cluster-create APIs. For now, these options are excluded from CLI help strings. This is the first step in multiregion support. 
- Added pagination support (limit and marker) to the CLI for configuration-list and configuration-instances. 
2.6.0¶
Other Notes¶
- Add ephemeral column in flavor-list Bug 1617980. 
- Use i18n for shell.py Partial-Bug 1379001. 
- Use i18n for v1/shell.py 
2.5.0¶
New Features¶
- The reset-status command will set the task and status of an instance to ERROR after which it can be deleted. 
- The force-delete command will allow the deletion of an instance even if the instance is stuck in BUILD state. 
- The –incremental flag for backup-create will add the abiility to create incremental backup based on last full or incremental backup. If no full or incremental backup exists a new full backup will be created. 
- Modules can now be applied in a consistent order, based on the new ‘priority_apply’ and ‘apply_order’ attributes available to module-create and module-update. Blueprint module-management-ordering 
- Adds quota-show and quota-update commands to show the limits for all resources and to change the limit for a single resource. These commands require admin privileges. 
- Implements trove schedule-* and execution-* commands to support scheduled backups. 
Bug Fixes¶
- Updating a module with all_datastores and all_datastore_versions now works correctly. Bug 1612430 
2.4.0¶
New Features¶
- Add a new trove upgrade CLI command and a new Instances.upgrade python API method to implement the new Instance Upgrade feature. 
Other Notes¶
- Add disk column in flavor-list. 
- Add vCPUs column in flavor-list Bug 1261876. 
2.3.0¶
New Features¶
- A –locality flag was added to the trove cluster-create command to allow a user to specify whether instances in a cluster should be on the same hypervisor (affinity) or on different hypervisors (anti-affinity). 
- A –locality flag was added to the trove create command to allow a user to specify whether new replicas should be on the same hypervisor (affinity) or on different hypervisors (anti-affinity). 
- Support was added for modules in cluster-grow and. the CLI consolidated to look more like cluster-create. This means that not including –instance on cluster-grow now raises a MissingArgs exception. Not including a required option in the –instance argument also raises MissingArgs now (instead of the previously raised CommandError). Bug 15778917 
- Support added for error messages when running the Trove show command. 
Bug Fixes¶
- Allow use of backup name in trove create when restoring a backup. 
- configuration-* cli commands now allow name of configuration group entered instead of just the configuration id. This will allow a user to specify the configuration group name or the id to use for all the cli commands related to configuration groups. Bug 1505529 
- The CLI output from configuration-parameter-list was fixed to properly display the ‘Min Size’ and ‘Max Size’ values. Bug 1572272 
- Fixed CLI output of cluster-create to only print pertinent information so it is consistent with cluster-show. Bug 1563504 
- Remove all the rax references in the client. Use the rackspace plugin for auth if you want to use rax auth with troveclient. Bug 1401804 
