[release-announce] zun 2.1.0 (rocky)

no-reply at openstack.org no-reply at openstack.org
Tue Aug 14 18:28:03 UTC 2018


We are overjoyed to announce the release of:

zun 2.1.0: OpenStack Containers service

This release is part of the rocky release series.

The source is available from:

    https://git.openstack.org/cgit/openstack/zun

Download the package from:

    https://tarballs.openstack.org/zun/

Please report issues through launchpad:

    https://bugs.launchpad.net/zun

For more details, please see below.

Changes in zun 2.0.0..2.1.0
---------------------------

4776766 Fix a missing import of _ in objects
2faeffb Change quota_class policy to admin only
7775e55 Add get_count method
3d52504 Update quota db api
0ac5d13 Ignore field 'uuid' when convert from db to object.
0ff34ca Remove project_id in path
c334d1c Ignore H405
f6f9e29 Delete duplicate code
f2d0ee9 Attached volume has no attached_servers
6ba0e6f Use redefined get in CinderAPI
b65e691 Move cinder_api definition to init
e7b75a4 Delete non-essential code (devpath)
1306f61 Release port if failed to connect network
9a9e979 Runtime aware scheduling
e5f911c Optimize error log for bool_from_string
5880d8e Runtime aware scheduling
a2b5e96 Mountpoint remains after detaching volume
5e0b371 Support Cinder volume multi-attach
5456a1d Unbind port when disconnect nerwork
7bf6ebe Check policy only when the status of container is running
e26fb4a Refactor list function in docker driver
0fc74ff Add healthcheck to api-ref
6120034 Add api for privileged
de07e1e api-ref: add return code for services APIs
9b98afc Add privileged to etcd database
68df96c Support health check for Docker containers
416aa62 Give extended privileges to the container
67caab4 Remove unused auto_heal in schemas
de82a5d Reuse the RPC transport to create RPC client
2a0926d Refactor network disconnect code
9e97bdd Support to update auto_heal of container
2721612 Optimizing code for checking the value of force/stop
e40332c When using multipath, detach volume failure
7572495 Add the missing dependency on rootwrap
086745d Do not wait if volume status is error
7d10486 Disk size is smaller than base_device_size
81701eb Delete volume when failed to attach
8ce961e Add a comment for Container Object version.
e1bbd02 Just modify database when updating the name of container
1ad1bfe Needn't verify the deleted image
b5c0ef6 Delete error volume which auto_remove is True
ebd57dd Add legacy init script for Ubuntu
a6be2ed Fix the json schema for network_attach


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

api-ref/source/containers.inc                      |  10 ++
api-ref/source/parameters.yaml                     |  38 ++++++++
api-ref/source/samples/container-create-req.json   |   9 +-
api-ref/source/samples/container-create-resp.json  |   9 +-
api-ref/source/samples/container-get-all-resp.json |   9 +-
api-ref/source/samples/container-show-resp.json    |   9 +-
api-ref/source/samples/container-update-resp.json  |   9 +-
api-ref/source/services.inc                        |   9 ++
contrib/legacy-ubuntu-init/README.rst              |  41 ++++++++
contrib/legacy-ubuntu-init/etc/init/zun-api.conf   |  12 +++
.../legacy-ubuntu-init/etc/init/zun-compute.conf   |  12 +++
.../legacy-ubuntu-init/etc/init/zun-wsproxy.conf   |  12 +++
lower-constraints.txt                              |   1 +
requirements.txt                                   |   1 +
tox.ini                                            |   5 +-
zun/api/controllers/v1/containers.py               |  60 ++++++++----
zun/api/controllers/v1/schemas/containers.py       |  14 +--
zun/api/controllers/v1/schemas/parameter_types.py  |  28 +++++-
zun/api/controllers/v1/views/containers_view.py    |   3 +-
zun/api/controllers/v1/views/hosts_view.py         |   1 +
zun/api/controllers/v1/zun_services.py             |   7 +-
zun/api/controllers/versions.py                    |   6 +-
zun/api/rest_api_version_history.rst               |  11 +++
zun/common/config.py                               |   1 +
zun/common/mount.py                                |  10 +-
zun/common/policies/base.py                        |   7 +-
zun/common/policies/container.py                   |  13 +++
zun/common/policies/quota.py                       |   8 +-
zun/common/policies/quota_class.py                 |   2 +-
zun/common/rpc.py                                  |  18 ++++
zun/common/rpc_service.py                          |  12 +--
zun/common/utils.py                                |  13 ++-
zun/compute/manager.py                             |  46 +++++++--
zun/compute/rpcapi.py                              |   4 +-
zun/container/docker/driver.py                     |  51 +++++++---
zun/container/driver.py                            |   9 +-
zun/db/api.py                                      |   7 +-
zun/db/etcd/models.py                              |   1 +
.../105626c4f972_add_privileged_to_container.py    |  35 +++++++
.../2fb377a5a519_add_healthcheck_to_container.py   |  36 +++++++
.../bc56b9932dd9_add_runtime_to_compute_node.py    |  38 ++++++++
.../f746cd28bcac_add_host_to_volume_mapping.py     |  34 +++++++
zun/db/sqlalchemy/api.py                           |  32 ++++---
zun/db/sqlalchemy/models.py                        |   4 +
zun/image/glance/driver.py                         |  13 ++-
zun/network/kuryr_network.py                       |  99 +++++++++++++++++---
zun/objects/compute_node.py                        |   4 +-
zun/objects/container.py                           |  25 ++++-
zun/objects/quota.py                               |   2 +
zun/objects/quota_class.py                         |   3 +
zun/objects/volume_mapping.py                      |  10 +-
zun/scheduler/filters/runtime_filter.py            |  39 ++++++++
zun/scheduler/host_state.py                        |   2 +
.../unit/api/controllers/v1/test_containers.py     |  27 ++++++
.../unit/container/docker/test_docker_driver.py    |  20 +++-
.../unit/scheduler/filters/test_runtime_filter.py  |  52 +++++++++++
zun/volume/cinder_api.py                           |   6 +-
zun/volume/cinder_workflow.py                      |  23 +++--
zun/volume/driver.py                               |  25 ++---
69 files changed, 1020 insertions(+), 198 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index d2b945d..b4abac6 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -26,0 +27 @@ oslo.db>=4.27.0 # Apache-2.0
+oslo.rootwrap>=5.8.0 # Apache-2.0






More information about the Release-announce mailing list