[release-announce] [glance] python-glanceclient 2.8.0 (pike)
no-reply at openstack.org
no-reply at openstack.org
Fri Jul 28 01:59:41 UTC 2017
We are ecstatic to announce the release of:
python-glanceclient 2.8.0: OpenStack Image API Client Library
This release is part of the pike release series.
The source is available from:
https://git.openstack.org/cgit/openstack/python-glanceclient
Download the package from:
https://pypi.python.org/pypi/python-glanceclient
Please report issues through launchpad:
https://bugs.launchpad.net/python-glanceclient
For more details, please see below.
2.8.0
^^^^^
This was a quiet development cycle for the python-glanceclient. There
were several improvements made in the testing code, and the
documentation was reorganized in accord with the new standard layout
(http://specs.openstack.org/openstack/docs-specs/specs/pike/os-
manuals-migration.html) for OpenStack projects. The main feature in
this release is the addition of support for the new image import
functionality introduced into Glance during this cycle.
New Features
************
* Client support has been added for the new image import
functionality introduced into Glance in this cycle. This is a
feature of the Images API version 2 only, and it is disabled by
default in Glance. The following commands have been added to the
command line interface:
* "import-info" - gets information about the import configuration
of the target Glance
* "image-stage" - uploads image data to the staging area
* "image-import" - initiates the import process for a previously
created image record whose image data is currently in the staging
area
* "image-create-via-import" - this is an EXPERIMENTAL command that
compresses the three-step import process of the Images API version
2 into a single call from the command line, just as the current
client "image-create" command compresses a two-step process into
one step. *It is EXPERIMENTAL because the name of the command may
change or it may be removed entirely in future releases.* The
intent is that as Glance image import is adopted by deployers,
this command may be renamed to "image-create" as it behaves
exactly the same from the user's point of view. It is included in
this release so that the Glance team can get feedback from
deployers and end users.
Bug Fixes
*********
* The following are some highlights of the bug fixes included in
this release.
* Bug 1659010: Help text inaccurate for container_format,
disk_format
* Bug 1570766: Fix 'UnicodeEncodeError' for unicode values in url
* Bug 1583919: --no-ssl-compression is deprecated
(https://code.launchpad.net/bugs/1659010)
(https://code.launchpad.net/bugs/1570766)
(https://code.launchpad.net/bugs/1583919)
Other Notes
***********
* The deprecated "--no-ssl-compression" option to the python-
glanceclient command line interface has been removed. The option
has been inoperative since the Liberty release.
* An optimization was added in the case where an image download is
requested from the command line interface without specifying either
a filename destination for the data or output redirection. The
optimization properly delays opening a connection to the server
until *after* the CLI has verified that the user has specified a
location for the downloaded data. In the pre-optimized code, if a
user did not have permission to download the requested image or if
the image had no data associated with it, the CLI would fail with an
appropriate message when the client attempted to create the
connection but before it had determined that there was no place to
put the data. With this optimization, a user will not be able to
"probe" the server to see whether image data is available without
specifying either the "--file" option or command line redirection.
* The argument to the "--profile" option of the command line
interface may now be specified by setting the value of the
"OS_PROFILE" environment variable.
(https://git.openstack.org/cgit/openstack/python-
glanceclient/commit/?id=28c003dc1179ddb3124fd30c6f525dd341ae9213)
(https://specs.openstack.org/openstack/glance-
specs/specs/liberty/approved/remove-special-client-ssl-
handling.html) (https://git.openstack.org/cgit/openstack/python-
glanceclient/commit/?id=1df55dd952fe52c1c1fc2583326d017275b01ddc)
(https://git.openstack.org/cgit/openstack/python-
glanceclient/commit/?id=c0f88d5fc0fd947319e022cfeba21bcb15635316)
Changes in python-glanceclient 2.7.0..2.8.0
-------------------------------------------
52eb529 Add missing docstring
c0753bd Add image import features to client
9a4f91c Add documentation for image import commands
09f8acb Add release note for Pike
51fea1b Update glanceclient version ref
28c003d Removed the --no-ssl-compression parameter which is deprecated
1df55dd Validate input args before trying image download
c0f88d5 Make --profile load from environment variables
a6e0cdf Updated from global requirements
3dae473 Remove team:diverse-affiliation from tags
067cd2b Updated from global requirements
c753ad8 Update and optimize documentation links
8f00241 Updated from global requirements
4d0a3c3 help text for container_format, disk_format
afff25f Updated from global requirements
8435b47 Fix man page build
c859380 turn on warning-is-error in sphinx build
4565e2b use openstackdocstheme html context
cecd30a update the doc URLs in the readme
b7a0cd0 switch to openstackdocstheme
ca7faf6 import content from cli-reference in openstack-manuals
e8acf5e move existing content into the new standard structure
d6e936c add explicit dependency on pyopenssl
551fce5 Updated from global requirements
c8a7a5d allow unhandled exceptions to cause test errors
c9100ed move old release notes into the releasenotes doc tree
84a8089 Enable code coverage report in console output
7791110 Replace assertTrue(isinstance()) with assertIsInstance()
a86fe0a Updated from global requirements
d3d405c Updated from global requirements
26a8572 gitignore: Ignore auto-generated docs
50eaad2 doc: Remove cruft from conf.py
36d2358 Remove log translations
5fca39d Replace six.iteritems() with .items()
a884bec Fix 'UnicodeEncodeError' for unicode values in url
Diffstat (except docs and test files)
-------------------------------------
.gitignore | 5 +-
CONTRIBUTING.rst | 4 +-
HACKING.rst | 2 +-
README.rst | 15 +-
glanceclient/_i18n.py | 10 -
glanceclient/common/http.py | 19 +-
glanceclient/common/https.py | 86 -
glanceclient/common/utils.py | 10 +-
glanceclient/shell.py | 21 +-
glanceclient/v1/apiclient/base.py | 4 +-
glanceclient/v1/apiclient/exceptions.py | 2 +-
glanceclient/v1/images.py | 8 +-
glanceclient/v1/shell.py | 8 +-
glanceclient/v2/images.py | 34 +-
glanceclient/v2/metadefs.py | 99 +-
glanceclient/v2/schemas.py | 3 +-
glanceclient/v2/shell.py | 119 +-
.../notes/pike-relnote-2c77b01aa8799f35.yaml | 76 +
releasenotes/source/conf.py | 6 +-
releasenotes/source/earlier.rst | 478 ++++++
releasenotes/source/index.rst | 1 +
requirements.txt | 5 +-
setup.cfg | 8 +-
test-requirements.txt | 10 +-
tox.ini | 1 +
42 files changed, 3128 insertions(+), 1015 deletions(-)
Requirements updates
--------------------
diff --git a/requirements.txt b/requirements.txt
index 507e315..ca2a418 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -7,2 +7,2 @@ PrettyTable<0.8,>=0.7.1 # BSD
-keystoneauth1>=2.20.0 # Apache-2.0
-requests!=2.12.2,!=2.13.0,>=2.10.0 # Apache-2.0
+keystoneauth1>=3.0.1 # Apache-2.0
+requests>=2.14.2 # Apache-2.0
@@ -13,0 +14 @@ wrapt>=1.7.0 # BSD License
+pyOpenSSL>=0.14 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index 9a05851..2c9bfb4 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -9,4 +9,4 @@ ordereddict # MIT
-os-client-config>=1.27.0 # Apache-2.0
-oslosphinx>=4.7.0 # Apache-2.0
-reno>=1.8.0 # Apache-2.0
-sphinx!=1.6.1,>=1.5.1 # BSD
+os-client-config>=1.28.0 # Apache-2.0
+openstackdocstheme>=1.11.0 # Apache-2.0
+reno!=2.3.1,>=1.8.0 # Apache-2.0
+sphinx>=1.6.2 # BSD
@@ -18 +18 @@ requests-mock>=1.1 # Apache-2.0
-tempest>=14.0.0 # Apache-2.0
+tempest>=16.1.0 # Apache-2.0
More information about the Release-announce
mailing list