[release-announce] [glance] glance_store 0.23.0 (queens)

no-reply at openstack.org no-reply at openstack.org
Fri Jan 19 01:02:15 UTC 2018


We jubilantly announce the release of:

glance_store 0.23.0: OpenStack Image Service Store Library

This release is part of the queens release series.

The source is available from:

    http://git.openstack.org/cgit/openstack/glance_store

Download the package from:

    https://pypi.python.org/pypi/glance_store

Please report issues through launchpad:

    http://bugs.launchpad.net/glance-store

For more details, please see below.

0.23.0
^^^^^^


Prelude
*******

This was a quiet development cycle for the "glance_store" library. One
new feature was added to the Swift store driver.  Several bugs were
fixed and some code changes were committed to increase stability.


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

* A BufferedReader has been added to the Swift store driver in order
  to enable better recovery from errors during uploads of large image
  files.  Because this reader buffers image data, it could cause
  Glance to use a much larger amount of disk space, and so the
  Buffered Reader is *not* enabled by default.

  To use the new reader with the Swift store, you must do the
  following:

  * Set the "glance_store" configuration option
    "swift_buffer_on_upload" to "True"

  * Set the "glance_store" configuration option
    "swift_upload_buffer_dir" to a string value representing an
    absolute directory path.  This directory will be used to hold the
    buffered data.

  The Buffered Reader works by taking advantage of the way Swift
  stores large objects by segmenting them into discrete chunks.  Thus,
  the amount of disk space a Glance API node will require for
  buffering is a function of the "swift_store_large_object_chunk_size"
  setting and the number of worker threads (configured in **glance-
  api.conf** as the value of "workers").  Disk utilization will cap at
  the following value

  swift_store_large_object_chunk_size * workers * 1000

  Be aware that depending upon how the file system is configured, the
  disk space used for buffering may decrease the actual disk space
  available for the Glance image cache, which may affect overall
  performance.

  For more information, see the Buffered Reader for Swift Driver spec.

   (http://git.openstack.org/cgit/openstack/glance_store/commit/?id=2
  e0024c85ca2ddf380014e44213be4fb876f680e)
  (http://specs.openstack.org/openstack/glance-
  specs/specs/mitaka/approved/buffered-reader-for-swift-driver.html)


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

* Two new configuration options, "swift_buffer_on_upload" and
  "swift_upload_buffer_dir" have been introduced.  These apply only to
  users of the Swift store and their use is optional.  See the New
  Features section for more information.


Bug Fixes
*********

* * Bug 1738331: Fix BufferedReader writing zero size chunks


  * Bug 1733502: Use cached auth_ref instead of getting a new one
    each time

   (https://code.launchpad.net/bugs/1738331)
  (https://code.launchpad.net/bugs/1733502)

Changes in glance_store 0.21.0..0.23.0
--------------------------------------

38d9bcb Add Queens release note
73f0fca Updated from global requirements
87a0702 Updated from global requirements
0fbaf5e Updated from global requirements
7282933 Updated from global requirements
06a254e Fix some wrong url and add license
84a1d8e Updated from global requirements
de3be54 Updated from global requirements
3e5c72f Fix BufferedReader writing zero size chunks
013f4de Updated from global requirements
e076d61 Updated from global requirements
9ace679 Use cached auth_ref instead of gettin a new one each time
cf53015 Remove setting of version/release from releasenotes
45e3c49 Updated from global requirements
ff5a739 Updated from global requirements
9f336d7 Imported Translations from Zanata
f5dfbe9 Revert "Remove team:diverse-affiliation from tags"
c3c5b75 Expand sz to size
705153f Updated from global requirements
cb20d7a Updated from global requirements
08bcc43 Updated from global requirements
01a8461 Updated from global requirements
e322bc2 Updated from global requirements
ea0d153 Imported Translations from Zanata
b6c1934 Updated from global requirements
a3f85e1 Update reno for stable/pike
aa36509 Updated from global requirements
36fb986 Updated from global requirements
246baf8 Updated from global requirements
2489786 Remove team:diverse-affiliation from tags
2e0024c Buffered reader: Upload recovery for swift store


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

README.rst                                         |   2 +-
glance_store/_drivers/swift/buffered.py            | 169 +++++++++++++
glance_store/_drivers/swift/connection_manager.py  |   3 +-
glance_store/_drivers/swift/store.py               | 117 ++++++---
.../locale/en_GB/LC_MESSAGES/glance_store.po       | 174 ++++++++++++-
.../locale/ko_KR/LC_MESSAGES/glance_store.po       | 172 +++++++++++++
.../notes/queens-relnote-5fa2d009d9a9e458.yaml     |  52 ++++
releasenotes/source/conf.py                        |  14 +-
releasenotes/source/index.rst                      |   1 +
.../locale/en_GB/LC_MESSAGES/releasenotes.po       | 274 ++++++++++++++++++++-
releasenotes/source/pike.rst                       |   6 +
requirements.txt                                   |  18 +-
setup.cfg                                          |  10 +-
test-requirements.txt                              |  18 +-
18 files changed, 1175 insertions(+), 87 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 35defa7..1c29db8 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -4,5 +4,5 @@
-oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
-oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
-oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0
-oslo.utils>=3.20.0 # Apache-2.0
-oslo.concurrency>=3.8.0 # Apache-2.0
+oslo.config>=5.1.0 # Apache-2.0
+oslo.i18n>=3.15.3 # Apache-2.0
+oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
+oslo.utils>=3.33.0 # Apache-2.0
+oslo.concurrency>=3.25.0 # Apache-2.0
@@ -10 +10 @@ stevedore>=1.20.0 # Apache-2.0
-enum34;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
+enum34>=1.0.4;python_version=='2.7' or python_version=='2.6' or python_version=='3.3' # BSD
@@ -13 +13 @@ eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
-six>=1.9.0 # MIT
+six>=1.10.0 # MIT
@@ -15,2 +15,2 @@ six>=1.9.0 # MIT
-jsonschema!=2.5.0,<3.0.0,>=2.0.0 # MIT
-keystoneauth1>=2.21.0 # Apache-2.0
+jsonschema<3.0.0,>=2.6.0 # MIT
+keystoneauth1>=3.3.0 # Apache-2.0
diff --git a/test-requirements.txt b/test-requirements.txt
index c26f8ad..52801b0 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -8 +8 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-mock>=2.0 # BSD
+mock>=2.0.0 # BSD
@@ -13,2 +13,2 @@ fixtures>=3.0.0 # Apache-2.0/BSD
-python-subunit>=0.0.18 # Apache-2.0/BSD
-requests-mock>=1.1 # Apache-2.0
+python-subunit>=1.0.0 # Apache-2.0/BSD
+requests-mock>=1.1.0 # Apache-2.0
@@ -17,3 +17,3 @@ testscenarios>=0.4 # Apache-2.0/BSD
-testtools>=1.4.0 # MIT
-oslotest>=1.10.0 # Apache-2.0
-os-testr>=0.8.0 # Apache-2.0
+testtools>=2.2.0 # MIT
+oslotest>=3.2.0 # Apache-2.0
+os-testr>=1.0.0 # Apache-2.0
@@ -23,3 +23,3 @@ bandit>=1.1.0 # Apache-2.0
-sphinx>=1.6.2 # BSD
-openstackdocstheme>=1.11.0 # Apache-2.0
-reno!=2.3.1,>=1.8.0 # Apache-2.0
+sphinx!=1.6.6,>=1.6.2 # BSD
+openstackdocstheme>=1.17.0 # Apache-2.0
+reno>=2.5.0 # Apache-2.0






More information about the Release-announce mailing list