[openstack-announce] [new][trove] python-troveclient 2.3.0 release (newton)

no-reply at openstack.org no-reply at openstack.org
Mon Jul 11 16:34:27 UTC 2016


We are delighted to announce the release of:

python-troveclient 2.3.0: Client library for OpenStack DBaaS API

This release is part of the newton release series.

With source available at:

    https://git.openstack.org/cgit/openstack/python-troveclient

With package available at:

    https://pypi.python.org/pypi/python-troveclient

Please report issues through launchpad:

    https://bugs.launchpad.net/python-troveclient

For more details, please see below.

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

Changes in python-troveclient 2.2.0..2.3.0
------------------------------------------

107b601 Updated from global requirements
1656eed Updated from global requirements
c0d6fb0 Add support for modules in cluster-grow
db85939 Locality support for clusters
8184bc6 Updated from global requirements
dabe872 Make dict.keys() PY3 compatible
f0a6d7f Updated from global requirements
abe713c Updated from global requirements
6ebed68 Updated from global requirements
ea0e472 Fix troveclient to support Mistral
8728fae Updated from global requirements
c0682f5 Fix CLI output of datastore-show
b0208ba Update example usage
fff88e0 switch to keystoneauth
7bb9b3c Persist error messages and display on 'show'
286df26 Updated from global requirements
7f2f18a Remove Rackspace auth references from troveclient
87ecc4c Update the home-page with developer documentation
c4e7f1b Make username and password non-required params
69de54b Updated from global requirements
358dbf3 Locality support for replication
c19a63f configuration-* cli allow name of configuration group entered
4c6f201 Display min/max correctly from config-param-list
e1f5b6f Fixed output of cluster-create in CLI
a280080 Updated from global requirements
adac487 Updated from global requirements
5d84124 Added check to prevent adding argument without help string
553e304 Add reno for release notes management
6b2fad5 Allow use of backup name in trove create
967f0ff Fix inadvertent generation of file during tox test
ff70d10 Remove times.dbm file for each tox run
2950b5e Updated from global requirements
1696a78 Graduate to oslo.i18n, cleanup incubator usage
1324cf2 Updated from global requirements
8f7ecf6 Update README.rst with lastest usage
32286e0 Use "# noqa" instead of "#flake8: noqa"
8ed42da Keep py3.X compatibility for urllib


Diffstat (except docs and test files)
-------------------------------------

.gitignore                                         |   3 +
README.rst                                         |  18 +-
releasenotes/notes/.placeholder                    |   0
...low-backup-name-in-create-1a9e85978a3ab8bc.yaml |   4 +
...onfiguration-name-allowed-747c5d6f2d1f8c7a.yaml |   6 +
...-config-param-list-output-27bf30fce5388d4b.yaml |   5 +
...-output-of-cluster-create-584d85ffe1129d57.yaml |   5 +
...lity-support-for-clusters-7e89f9ddbe5f4131.yaml |   6 +
...y-support-for-replication-5834f1a2dcaf6883.yaml |   6 +
...dule-support-for-clusters-87b41dd7648275bf.yaml |  11 +
.../persist-error-message-cda8dfe485fe92ba.yaml    |   4 +
...-rax-references-in-client-33551aa2bb25181b.yaml |   4 +
releasenotes/source/_static/.placeholder           |   0
releasenotes/source/_templates/.placeholder        |   0
releasenotes/source/conf.py                        | 264 +++++++++++++++
releasenotes/source/index.rst                      |  18 +
releasenotes/source/mitaka.rst                     |   6 +
releasenotes/source/unreleased.rst                 |   5 +
requirements.txt                                   |   9 +-
setup.cfg                                          |   2 +-
test-requirements.txt                              |   9 +-
tox.ini                                            |   8 +-
troveclient/_i18n.py                               |  50 +++
troveclient/auth_plugin.py                         |   2 +-
troveclient/client.py                              |   7 +-
troveclient/common.py                              |  28 +-
troveclient/compat/auth.py                         |  35 --
troveclient/compat/common.py                       |   4 +-
troveclient/compat/exceptions.py                   |   2 +-
troveclient/exceptions.py                          |   3 +-
troveclient/openstack/common/apiclient/base.py     |   2 +-
troveclient/openstack/common/apiclient/client.py   |   2 +-
troveclient/openstack/common/gettextutils.py       | 362 ---------------------
troveclient/openstack/common/importutils.py        |  66 ----
troveclient/openstack/common/strutils.py           | 216 ------------
troveclient/shell.py                               | 127 ++++----
troveclient/v1/backups.py                          |  11 +-
troveclient/v1/client.py                           |   3 +-
troveclient/v1/clusters.py                         |   5 +-
troveclient/v1/configurations.py                   |  14 +-
troveclient/v1/instances.py                        |  15 +-
troveclient/v1/shell.py                            | 329 +++++++++++--------
54 files changed, 907 insertions(+), 1166 deletions(-)


Requirements updates
--------------------

diff --git a/requirements.txt b/requirements.txt
index 9d0a459..25db58c 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -6 +6 @@ PrettyTable<0.8,>=0.7 # BSD
-requests!=2.9.0,>=2.8.1 # Apache-2.0
+requests>=2.10.0 # Apache-2.0
@@ -8,3 +8,4 @@ simplejson>=2.2.0 # MIT
-oslo.utils>=3.5.0 # Apache-2.0
-python-keystoneclient!=1.8.0,!=2.1.0,>=1.6.0 # Apache-2.0
-Babel>=1.3 # BSD
+oslo.i18n>=2.1.0 # Apache-2.0
+oslo.utils>=3.14.0 # Apache-2.0
+Babel>=2.3.4 # BSD
+keystoneauth1>=2.7.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 87e7980..8bc8d34 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9,2 +9,2 @@ oslotest>=1.10.0 # Apache-2.0
-requests-mock>=0.7.0 # Apache-2.0
-sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 # BSD
+requests-mock>=1.0 # Apache-2.0
+sphinx!=1.3b1,<1.3,>=1.2.1 # BSD
@@ -14 +14 @@ testtools>=1.4.0 # MIT
-mock>=1.2 # BSD
+mock>=2.0 # BSD
@@ -16 +16,2 @@ httplib2>=0.7.5 # MIT
-pycrypto>=2.6  # Public Domain
+pycrypto>=2.6 # Public Domain
+reno>=1.8.0 # Apache2





More information about the OpenStack-announce mailing list