[release-announce] [shade] shade 1.23.0 (queens)

no-reply at openstack.org no-reply at openstack.org
Wed Sep 6 08:38:04 UTC 2017


We are satisfied to announce the release of:

shade 1.23.0: Simple client library for interacting with OpenStack
clouds

This release is part of the queens release series.

Download the package from:

    https://pypi.python.org/pypi/shade

For more details, please see below.

1.23.0
^^^^^^


Prelude
*******

Fixed a bug where a project was always enabled upon update, unless
"enabled=False" is passed explicitly.


New Features
************

* Added flag "show_all" to list_images. The behavior of Glance v2 to
  only show shared images if they have been accepted by the user can
  be confusing, and the only way to change it is to use
  search_images(filters=dict(member_status='all')) which isn't
  terribly obvious. "show_all=True" will set that flag, as well as
  disabling the filtering of images in "deleted" state.

* Version discovery is now done via the keystoneauth library. shade
  still has one behavioral difference from default keystoneauth
  behavior, which is that shade will use a version it understands if
  it can find one even if the user has requested a different version.
  This change opens the door for shade to start being able to consume
  API microversions as needed.


Upgrade Notes
*************

* keystoneauth version 3.2.0 or higher is required because of
  version discovery.


Bug Fixes
*********

* [bug 2001080 (https://storyboard.openstack.org/#!/story/2001080)]
  Project update will only update the enabled field of projects when
  "enabled=True" or "enabled=False" is passed explicitly. The previous
  behavior had "enabled=True" as the default.

Changes in shade 1.22.2..1.23.0
-------------------------------

e42192e De-client-ify Remove User from Group
be9d046 Correct baremetal fake data model
30e0fbc De-client-ify Check User in Group
b82a659 De-client-ify Add User to Group
ca0103a De-client-ify User Update
8b47d15 Use new keystoneauth version discovery
469cc5a Fix typo in tox.ini
8dc051c Updated from global requirements
78a1aa3 Add tox_install.sh to deal with upper-constraints
8887b48 Support domain_id for user operations
4695f5c Add domain_id to groups
589b765 Add handling timeout in servers cleanup function
1935528 Fix handling timeouts in volume functional tests cleanup
68f0947 Fix switched params
7fb83a6 Switch to _is_client_version in list_services
522f51c De-client-ify Service Delete
4cd71a1 De-client-ify Service Update
b05aede Fix cleaning of Cinder volumes in functional tests
bda65e7 De-client-ify Service List
3cfaa4c Add option to force delete cinder volume
20cc034 Updated from global requirements
89e07d9 Fix determining if IPv6 is supported when it's disabled
e72a6cf Don't determine local IPv6 support if force_ip4=True
7466aae Consolidate client version checks in an utility method
d8ddbcf Add functional tests for Neutron QoS policies and rules
4e5d46d Support to get resource by id
20ebacc Make get_server_console tests more resilient
697cf58 Make QoS rules required parameters to be not optional
2d54752 Use valid_kwargs decorator in QoS related functions
737f9de Add support for get details of available QoS rule type
05b0fe2 Use more specific asserts in tests
99865c9 Add Neutron QoS minimum bandwidth rule commands
420e745 Update reno for stable/pike
1521c59 Add Neutron QoS dscp marking rule commands
85d8ada Updated from global requirements
a4fdee5 router: Ignore L3 HA ports when listing interfaces
f66f862 Initial commit of zuulv3 jobs
1b51cd8 Update the documentation link for doc migration
06b390a Replace six.itervalues with dict.values()
d9091fb Consolidate the use of self._get_and_munchify
e171aa4 De-client-ify Role Delete
2d777b9 De-client-ify Role List
8034894 De-client-ify Role Create
9b2e01d De-client-ify Group Delete
b7f90dc De-client-ify Group Update
57f5c89 De-client-ify Group List
9ca7836 De-client-ify Group Create
67accb5 Updated from global requirements
bf5cd53 Don't remove top-container element in the adapter
262061a Improve doc formatting a bit
a134c10 Added useful links to README
806378f Add Neutron QoS bandwidth limit rule commands
9f78c54 De-client-ify Service Create
a9687a8 Add debug to tox environment
20c1e82 Remove hard-coding of timeout from API
d1eea7a Make sure we don't fail open on bad input to validate
10e6fbe Make sure we pass propert dicts to validate
54d6e1d Add flag to include all images in image list
af0dbbd Add support for list available QoS rule types
4446ba9 Add validation of required QoS extensions in Neutron
29dd83d De-client-ify Domain Search
1bd19cc De-client-ify Domain Get
cac429f De-client-ify Domain List
ecd470d De-client-ify User Create
ab2c4b3 Use the right variable name in userdata encoding
e375362 Add searching for Neutron API extensions
67b053c Add Neutron QoS policies commands
790fffd De-client-ify Domain Update and Delete
1e1c6ac De-client-ify Domain Create
65ce1a2 switch from oslosphinx to openstackdocstheme
20b2f1f reorganize docs using the new standard layout
071e342 Don't remove top-container element for flavor, zones and server groups
70d8cc3 Updated from global requirements
c016f15 Don't remove top-container element for flavors and clusters
f4668b7 Project update to change enabled only when provided


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

.zuul.yaml                                         |    5 +
README.rst                                         |   11 +
.../examples/service-conditional-overrides.py      |    5 -
.../user/examples/create-server-name-or-id.py      |   25 +
.../user/examples/service-conditional-overrides.py |    5 +
.../add-show-all-images-flag-352748b6c3d99f3f.yaml |    9 +
.../notes/bug-2001080-de52ead3c5466792.yaml        |   10 +
.../notes/version-discovery-a501c4e9e9869f77.yaml  |   13 +
releasenotes/source/conf.py                        |   10 +-
releasenotes/source/index.rst                      |    1 +
releasenotes/source/pike.rst                       |    6 +
requirements.txt                                   |    6 +-
setup.cfg                                          |    2 +-
shade/_adapter.py                                  |   53 +-
shade/_heat/template_utils.py                      |    2 +-
shade/_legacy_clients.py                           |    6 +-
shade/_tasks.py                                    |  105 --
shade/_utils.py                                    |    5 +-
shade/openstackcloud.py                            | 1674 +++++++++++++++-----
shade/operatorcloud.py                             |  355 +++--
.../functional/test_qos_bandwidth_limit_rule.py    |  106 ++
.../functional/test_qos_minimum_bandwidth_rule.py  |   75 +
.../unit/fixtures/catalog-versioned-image.json     |   71 -
test-requirements.txt                              |   11 +-
tools/tox_install.sh                               |   30 +
tox.ini                                            |   17 +-
120 files changed, 5958 insertions(+), 2876 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index fbf6c00..a6ac179 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -11 +11 @@ ipaddress>=1.0.7;python_version<'3.3' # PSF
-os-client-config>=1.27.0 # Apache-2.0
+os-client-config>=1.28.0 # Apache-2.0
@@ -22 +22 @@ iso8601>=0.1.11 # MIT
-keystoneauth1>=2.21.0 # Apache-2.0
+keystoneauth1>=3.2.0 # Apache-2.0
@@ -25 +25 @@ python-keystoneclient>=3.8.0 # Apache-2.0
-python-ironicclient>=1.11.0 # Apache-2.0
+python-ironicclient>=1.14.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 5abe62d..e7edec7 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8 +8 @@ fixtures>=3.0.0 # Apache-2.0/BSD
-mock>=2.0 # BSD
+mock>=2.0.0 # BSD
@@ -10,3 +10,4 @@ python-subunit>=0.0.18 # Apache-2.0/BSD
-oslosphinx>=4.7.0 # Apache-2.0
-requests-mock>=1.1 # Apache-2.0
-sphinx!=1.6.1,>=1.5.1 # BSD
+openstackdocstheme>=1.16.0 # Apache-2.0
+oslotest>=1.10.0 # Apache-2.0
+requests-mock>=1.1.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
@@ -16 +17 @@ testtools>=1.4.0 # MIT
-reno!=2.3.1,>=1.8.0 # Apache-2.0
+reno>=2.5.0 # Apache-2.0






More information about the Release-announce mailing list