[release-announce] [zun] zun 1.0.0 (queens)

no-reply at openstack.org no-reply at openstack.org
Mon Feb 5 22:57:42 UTC 2018


We are excited to announce the release of:

zun 1.0.0: OpenStack Containers service

This release is part of the queens 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 0.2.0..1.0.0
---------------------------

0124bcf Temporarily relax validation of 'mounts'
d16f128 Update our project definition
25e4322 refactor 'wait_for_volumes_available' when create/run a container
e43869c Record container action and event.
189b787 Set ondelete='CASCADE' on foreign key
e347144 Delete the capsule and container when request volume build failed
3de97d7 Updated from global requirements
99fcb30 Delete function named poll_until which never used.
e7ff789 ensure neutron port usable by port status
9f575e5 Make the restart_policy visiable for capsule
899a4e2 restart the containers after the host reboot
ff6bb0f Update function named _wait_volumes_available
e8b87a2 Add support for storing capsule addresses and volumes_info
910d809 Limit the amount of disk of container
92a8e70 Some DB version is missing
fe4cf3a Zuul: Remove project name
5dd75d1 Updated from global requirements
42111f8 Doc: split second-node setup out of quickstart guide
188d28c Add exception for disconnect container network
eec3ec5 The return value of get_test_container has conflict between task_state and status
eff7f6c Allow 'size' to be an integer
ca64a30 Relex schema to allow 'source' as optional
2c77ccd fix some error comments
e012c01 Make periodic task spacing configurable
486e91f Add procname for uwsgi based services
d52b59a Replace curly quotes with straight quotes
c878637 remove the extra parameter 'db_type' in section [DEFAULT]
9b78f45 Updated from global requirements
ad3f5e7 Add exception handler for container_show
9b3b9d4 Centralize config option: keystone_auth section
4341b65 Handle the corner case that container_id is None
f5ae131 Fix the AttributeError on waiting volumes
80b3c7b Populate 'security_groups' field from pre-existing port
6281d7a Catch exception in volume get
2965f7a Deal with security groups with duplicated name
394dba8 Add more attributes 'mem_used' and 'cpu_used' to 'Host' API
a3455a2 Add volumes_info and addresses to data model
ffc8b68 Wait for volume creation
65f5239 Update ValueError message
15414a2 Updated from global requirements
9a509fe Add uuid field in ContainerAction object
abd7e2b Fix an issue on context elevation
4ea6030 Modify docker network naming schema to fix bug/1734550
c566922 Remove the spaces for readability
d10d65f Add API endpoint to remove security group
0dcea8d Pick shared network if no tenant network
bae8f69 Remove the deprecated "giturl" option
03c69ad Updated from global requirements
9840fb9 Drop the container_actions table foreign key
f527619 Update osprofiler rst
32f2342 Updated from global requirements
c0d770a check the security group has been added to the container
e2bc77c Change the wiki address to docs links
8936444 Add user_id and project_id to container and capsule info
002b163 Remove "all-tenants" in server
0140773 Updated from global requirements
5a06941 vendor_id and product_id in the pci_info table are exchanged
d4a5f9c Add detailed parameters for Capsule create
8fd6f95 Add container action etcd api
3700a9c Can not get a valid error message when executing zun attach error
1325606 Add support for Capsule volume
f72b678 Check container_id when disconnecting its network
2827ca8 Fix error url on contributor doc.
6dc61b7 Can't use exiting port If this port has been used once when create container
62833df Rename 'tenant' to 'project' in server
29c8ec0 Use privsep to execute privileged command
6c7a36a Update container status after 'kill'
dcf93e4 Create cinder volume in the correct tenant
1efa749 Fix an issue in image_search
9c5408e Updated from global requirements
9ea6aff Fix some spelling mistakes in docs
21142a0 Add a doc to explain Clear Containers support in Zun
877087a Updated from global requirements
1c5a7cd Modify the notes of upload_image_data() method
4927686 Updated from global requirements
76801e9 Add preserve_on_delete field in requested_network when attach network
7fb703a Apply security group when attach network
587a3d2 Show container 'host' for admin-only
c806a6c Set port device_id as uuid of the container
f0ea61f Handle exception on adding secgroup
15a8e8f Simplify _check_security_group
4ee75aa Add support for image show.
a809cc5 Updated from global requirements
e685a13 Turn zun-tempest-etcd-docker to voting
fea5fec Add etcd db for VolumeMapping
ea96c6a To make etcd models object more like a dict.
0580adc Fix PCIDeviceNotFound etcd db error
227d1ce Updated from global requirements
e829594 Return 406 on force delete with bad api version
febd28a Set capability_scope to global in devstack
95a50be Update devstack installation quickstart
a33fbba Add container action object and sql db api
ed1c684 Add pci device etcd db api
886eaa1 Updated from global requirements
4b940f0 Add sql db model for container actions
5c8f5b1 Use global variable to define etcd driver instance
f39a3bb Install guide: set capability_scope to global
c8ce26d Imply the etcd api of capsule
ee69d29 Document how to use Glance's docker image
0bfec51 Add support for create volume when run a container
da001e4 Disconnect container from network when deleting with all_tenants=True
8433506 Updated from global requirements
dfac0c8 Populate container fields for new container
a966988 Use admin context to update ports
342aa8b Add Security_ID support for add-security-group cli
98e2178 List capsules directly from DB
2d47142 Use 'find' to replace the list method when search volume.
e3042da List containers directly from DB
cafbea5 Consolidate devstack config into sample
961d5f9 Fix api-ref for container execute
469fe66 Remove obsolete note about image search
1d1bf66 Add Metadata field for image-search support
d3f19e1 Remove LIBS_FROM_GIT from the plugin code
2be7c3a updated sample file with more info
9a08f76 Re-work the response of /containers/<id>/exec
923b66c Support multi-host scenario for image_search
5a8f531 Introduce ComputeFilter
c3790ef Temporary work around a docker issue
7bae7b5 Add app.wsgi to target of pep8
5273ac1 Support batch delete containers with different states
d028804 Allow duplicated container name by default
75aef60 Init container when start zum-compute service
57881c8 Set network mode on creating container
8cc1c2c Add PCI Filter to scheduler
78b73df Change scheduler extra_spec schema
9044647 Remove manual devstack guide
d63ba16 Fix the TLS certificate file error in docker_client
0d5f8b9 Using --hint option for scheduling
2dcf0ac Remove setting of version/release from releasenotes
a4fadf7 Updated from global requirements
53fdf72 Updated from global requirements
272effc Fix ZUN_TEMPEST_PLUGIN repo and branch name
849fc50 Handle shared network senario
d37d7f7 Convert parameter stop to boolean
a685651 Improve error handling of commit
f91b839 Change the Flake8 ignore list
180e597 specs for support-volume-binds
cb8883a Updated from global requirements
b80cf56 Updated from global requirements
69a9a04 Fix documentation for missing auth_url.
223c8d9 Preserve preexisting ports on container delete
f558707 Add api-ref for container execute resize
4ba7d8c Add api-ref for container execute
c720ea8 Updated from global requirements
efc194d Fix error in version check about container delete-stop
b64fdd3 Consolidate IP address configuration
9378394 Add driver support for delete image
34b132e Port pci request from nova to zun
8e947c2 Fix an attribute on deallocate PCI device
0be4232 Zuul: add file extension to playbook path
f44af3d port pci tracker from nova to zun
83b7fb1 Remove the local tempest plugin
257ee4c Support stop and delete container
b24e318 Add document for capsule
72fae6f Handling container on 'Deleting' state
4d91ab8 Updated from global requirements
d3c9954 Add api-ref for container kill
35b5e36 Container action response 500
6b0b6d8 Add api-ref for container attach
d42a4fd Add missing import of '_' function
5cff54f Remove obsolete code from NovaDocker driver
d4883ce Move inventory host to compute manager
95ba505 Improve attach/detach volume logging
e84348a Implement APIs for mounting Cinder volumes
2ecb2ce Remove network_standalone variable
c7369ad Introduce Cinder volume driver
18b3b05 Implement Cinder attach workflow
6104795 Add websocket config into install guide
6381f9f Enable python hash randomization for tests
f843513 Set 'code' in error response
27138e8 Update keystone auth_uri and auth_url
111caeb Configure wsproxy base_url in devstack
242e9b5 Delete a line of duplicated code
3c462b9 Add installation guide for Zun
1b1a787 Add api-ref for container get/put archive
df847cc Add api-ref for container top
d731c27 Add and update docs for doc/source directory
da02132 "zun cp" command returns incorrect error message
d2626ca Updated from global requirements
ece90bf Fix DeprecationWarning: Property 'tenant'
ef340fe Add api-ref for container logs
ddc8d59 Add pci_stats attribute to ComputeNode Etcd model.
adc0d44 Refactor the code about container force delete in api
9a7845f Make 'utils.monkey_patch' py3 compatible
e2bdfa1 Remove unprotected policies in unit test
ad3dafb Add sample policy file to documentation
8e0e94b Register default network policies in code
813ddb4 Register default capsule policies in code
a7a584b Register default host policies in code
5568dfd Register default zun service policies in code
8f4973f Revert "Avoid running periodic tasks on all workers"
f19f03f Api-ref: Fix incorrect api params description
87bdaff Fix non-json response of container commit
c39e550 port pci stats from nova to zun
26249ff Migrate to Zuul v3
1f2ef66 Register default image policies in code
5e46767 Allow create/run container with network which has same cidr
d466709 Register default container policies in code
8fa8843 Check glance is enabled or not
4b46db7 Implement basic policy module in code
3c6d246 Use to_policy_values for policy credentials
e657c7a Add example for container commit
339559e Allow setting hostname on sandbox mode
01a953f Make container DELETE async
f06cdf0 Delete containers created in tests only
edb5248 Lock all async operations in compute
2a38fe7 Fix the state setting logic on state sync
baf682e Refactor _populate_container method
d4ac683 Delete a duplicated exception class
385af79 Fix cpu and memory filter for capsule
c71a6ab port pci device pool from nova to zun
d940c61 network unit tests not run
5991f4e Updated from global requirements
d895452 Moving check_for_restart_policy to common/utils.py
d62d5f6 Using utils.is_all_tenants in capsule
bdeb7c0 Port pci device objects from nova to zun
6c467af Fix bug on container with empty 'command'
d5983c4 Add capsule method list
fada570 TrivialFix: the annotation of objects/capsule.py
47e9505 Save capsule.host when the host is changed
d6a7081 Add default configuration files to data_files
9590a5d Cleanup test-requirements
61dd903 Fix Param and docstring doesn't match
026a08b Use devstack gate to run tempest tests
c8e6e36 Updated from global requirements
98461dd Fix runtime is none
96cd937 Add capsule method delete
17e903e Consolidate controller testing code
e81ff78 Remove SCREEN_LOGDIR from devstack setting
b58704e Fix inconsistency in field type of runtime
08d7d18 Modifying devstack link in README.rst
adb418a Zun ut should use it's own serialize namespace.
62a8348 Support specifying IP addresses of container
aafd4a0 [Trivial Fix] Remove duplication
5a7a613 Add auto_remove to api-ref
2057b66 Bring hostname option back
be4a14a Updating enable_plugin in manual-devstack.rst
ad64e8d Avoid running periodic tasks on all workers
179225b Updated from global requirements
2ff17e2 Fix the field's name of class Root
6dc2866 Mova NovaDocker driver to contrib
c60072c Add attach a network to a container server side.
54eb196 TrivialFix: Use recommended date time format
0e03ae4 Updated from global requirements
bb6b989 Remove a unnecessary Docker API call
01a5aa9 Return 400 on creating with non-existing image
e26ab1a Needn't separately process start_zun_compute
488b9f6 Fix the name of stop_zun_etcd
ec4f942 The strategy to fix multi-node gate
acc6b62 Fix an issue on read_tar_image
9a7d7bf TrivialFix: ignore directory doc/source/_static
aa3c5f1 Change runtime to string type
0e3a181 Add db model for pci device
e7784ed Fix docs commands failed error
19ffd7c Failed to run the command "zun host-show test"
42ca9e3 Add host and capsule rule to fake_policy
82b071a Fix wrong links  in zun
bda229b Introduce utility for mounting Linux device
7115053 [TrivialFix] Add note for multi-node deployment
6aa52db 'module' object has no attribute 'WebSocketBadStatusException'
1e154c8 Update the sample local.conf in quickstart
cf04803 Replace DbMigrationError with DBMigrationError
306f4e3 Add capsule method describe
bba1873 Change kuryr config file directory in gate
5dfb8d8 Consolidate container_create and container_run
786193c Disallow attach to public network
4d0a4f8 Make docker cluster store point to right cluster
a71d831 Fix an issue that the gate wrongly passed
470b080 Get the api_version decorator to work
2e76a84 Introduce volume mapping object
77fa416 Introduce DB model for volume mapping
e9ac0f4 writing convention: do not use “-y” for package install
f0632c5 Add api-ref for container resize
b6a8b36 Disallow non-admin users to force delete containers
dd5d63e Fix genconfig error
6487d22 Fix error in api-ref about network-detach
a1a7b7d Add detach network server side.
76bb5bb [Trivialfix]Fix typos in zun
377ab32 Keep the trace when reraising docker error
0558845 Needn't prepare uuid for capsule
f39ad3f Add api-ref for container commit
82cffcb Remove extra bracket in LOG message
a5b557d Add test cases for Capsule API
c800d2c Add test cases for capsule Objects
d67e2cc Make image validation at API layer configurable
e0b5243 Updated from global requirements
9db3cee Preferred to use meta-name for capsule container and sandbox
3cbe5ca Remove unused conf
ba23a75 Fix the wrong parameter in wsgi script
6522a75 Add runtime parameter to container API
83f90c4 Add api-ref for container add-security-group
d8c66a8 Fix error in api-ref about host
a36fae7 Fix the undefined InvalidInput exception
70be550 Fix the undefined NetworkNotFound exception
83a6936 Update version of docker API
8a99a0f modify some misspellings
bd0d0de Updated from global requirements
303a554 Remove _get_container in capsule
f587170 Reduce the number of calling container.save
9a64e23 [Multinode gate] Fix error failed to update store
e880f06 Updated from global requirements
1c265af Remove deprecated usage of CORS.set_latent
11e2434 Update reno for stable/pike
313c674 Remove unused function


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

.gitignore                                         |   4 +
.zuul.yaml                                         |  72 ++
README.rst                                         |   8 +-
api-ref/source/conf.py                             |  19 +-
api-ref/source/containers.inc                      | 573 ++++++++++++-
api-ref/source/hosts.inc                           |   6 -
api-ref/source/index.rst                           |   6 +-
api-ref/source/parameters.yaml                     | 211 ++++-
api-ref/source/samples/container-commit-resp.json  |   3 +
api-ref/source/samples/container-create-req.json   |   5 +-
api-ref/source/samples/container-create-resp.json  |   5 +-
.../samples/container-execute-resize-resp.json     |   4 +
.../source/samples/container-execute-resp-2.json   |   6 +
api-ref/source/samples/container-execute-resp.json |   6 +
.../source/samples/container-get-archive-resp.json |  10 +
api-ref/source/samples/container-logs-req.json     |   7 +
.../source/samples/container-put-archive-req.json  |   3 +
api-ref/source/samples/container-top-resp.json     |  16 +
api-ref/source/services.inc                        |  22 +-
api-ref/source/urls.inc                            |   4 +-
contrib/nova-docker/devstack/lib/nova              |  63 ++
.../nova-docker/etc/nova/rootwrap.d/docker.filters |   6 +
contrib/nova-docker/nova/__init__.py               |  14 +
contrib/nova-docker/nova/virt/__init__.py          |  16 +
contrib/nova-docker/nova/virt/hostutils.py         |  22 +
contrib/nova-docker/nova/virt/zun/__init__.py      |  22 +
contrib/nova-docker/nova/virt/zun/client.py        | 105 +++
contrib/nova-docker/nova/virt/zun/driver.py        | 732 ++++++++++++++++
contrib/nova-docker/nova/virt/zun/hostinfo.py      |  74 ++
contrib/nova-docker/nova/virt/zun/network.py       |  66 ++
contrib/nova-docker/nova/virt/zun/opencontrail.py  | 177 ++++
contrib/nova-docker/nova/virt/zun/vifs.py          | 321 +++++++
contrib/vagrant/config/localrc                     |   1 -
devstack/README.rst                                |  15 +-
devstack/lib/nova                                  |  63 --
devstack/lib/zun                                   |  39 +-
devstack/local.conf.sample                         |  14 +
devstack/local.conf.subnode.sample                 |  21 +
devstack/override-defaults                         |   7 -
devstack/plugin.sh                                 |   6 -
devstack/settings                                  |   4 +-
etc/nova/rootwrap.d/docker.filters                 |   6 -
etc/zun/policy.json                                |  54 --
etc/zun/policy.yaml.sample                         |   0
etc/zun/zun-policy-generator.conf                  |   3 +
nova/__init__.py                                   |  14 -
nova/virt/__init__.py                              |  16 -
nova/virt/hostutils.py                             |  22 -
nova/virt/zun/__init__.py                          |  22 -
nova/virt/zun/client.py                            |  98 ---
nova/virt/zun/driver.py                            | 732 ----------------
nova/virt/zun/hostinfo.py                          |  74 --
nova/virt/zun/network.py                           |  66 --
nova/virt/zun/opencontrail.py                      | 177 ----
nova/virt/zun/vifs.py                              | 321 -------
playbooks/zun-devstack-base-multinode/post.yaml    |  15 +
playbooks/zun-devstack-base-multinode/run.yaml     |  81 ++
playbooks/zun-devstack-base/post.yaml              |  15 +
playbooks/zun-devstack-base/run.yaml               |  89 ++
releasenotes/source/conf.py                        |  11 +-
releasenotes/source/index.rst                      |   1 +
releasenotes/source/pike.rst                       |   6 +
requirements.txt                                   |  50 +-
setup.cfg                                          |  16 +-
specs/container-SRIOV-networking.rst               |   9 +-
specs/container-composition.rst                    |   4 +-
specs/container-snapshot.rst                       |   2 +-
specs/cpuset-container.rst                         |   4 +-
specs/local-volume-integration.rst                 | 130 +++
specs/pci-device-model.rst                         |  88 +-
template/capsule/capsule-volume.yaml               |  34 +
template/capsule/capsule.yaml                      |  56 +-
test-requirements.txt                              |  23 +-
tox.ini                                            |   8 +
zun/api/app.wsgi                                   |   2 +-
zun/api/controllers/base.py                        |  14 +-
zun/api/controllers/experimental/__init__.py       |   3 +-
zun/api/controllers/experimental/capsules.py       | 288 +++++--
.../controllers/experimental/schemas/capsules.py   |   4 +-
.../experimental/views/capsules_view.py            |   9 +-
zun/api/controllers/root.py                        |   4 +-
zun/api/controllers/v1/containers.py               | 678 ++++++++++-----
zun/api/controllers/v1/images.py                   |  24 +-
zun/api/controllers/v1/schemas/containers.py       |  30 +-
zun/api/controllers/v1/views/containers_view.py    |   5 +
zun/api/controllers/v1/views/hosts_view.py         |   4 +-
zun/api/controllers/v1/views/images_view.py        |   1 +
zun/api/controllers/versions.py                    |  10 +-
zun/api/hooks.py                                   |   5 +-
zun/api/middleware/parsable_error.py               |   7 +-
zun/api/rest_api_version_history.rst               |  57 ++
zun/common/clients.py                              |  20 +
zun/common/consts.py                               |   6 +-
zun/common/context.py                              |  60 +-
zun/common/exception.py                            | 145 +++-
zun/common/keystone.py                             |  25 +-
zun/common/mount.py                                | 170 ++++
zun/common/nova.py                                 |  18 +-
zun/common/policies/__init__.py                    |  33 +
zun/common/policies/base.py                        |  36 +
zun/common/policies/capsule.py                     | 122 +++
zun/common/policies/container.py                   | 380 ++++++++
zun/common/policies/host.py                        |  46 +
zun/common/policies/image.py                       |  77 ++
zun/common/policies/network.py                     |  35 +
zun/common/policies/zun_service.py                 |  79 ++
zun/common/policy.py                               |  53 +-
zun/common/privileged.py                           |  22 +
zun/common/profiler.py                             |   2 +-
zun/common/rpc.py                                  |   3 -
zun/common/rpc_service.py                          |   6 +-
zun/common/utils.py                                | 362 ++++++--
zun/common/validation/__init__.py                  |   2 +-
zun/common/validation/parameter_types.py           | 209 ++++-
zun/compute/api.py                                 |  84 +-
zun/compute/claims.py                              |  16 +-
zun/compute/compute_node_tracker.py                |  54 +-
zun/compute/container_actions.py                   |  40 +
zun/compute/manager.py                             | 502 +++++++++--
zun/compute/rpcapi.py                              |  42 +-
zun/conf/__init__.py                               |  10 +
zun/conf/api.py                                    |  11 +-
zun/conf/cinder_client.py                          |  46 +
zun/conf/compute.py                                |  12 +-
zun/conf/container_driver.py                       |   6 +-
zun/conf/database.py                               |  16 +-
zun/conf/docker.py                                 |   7 +-
zun/conf/keystone.py                               |  37 +
zun/conf/netconf.py                                |  69 ++
zun/conf/pci.py                                    | 122 +++
zun/conf/profiler.py                               |   2 +
zun/conf/scheduler.py                              |   3 +-
zun/conf/services.py                               |  32 +-
zun/conf/volume.py                                 |  49 ++
zun/conf/websocket_proxy.py                        |   2 +-
zun/container/docker/driver.py                     | 451 ++++++----
zun/container/docker/utils.py                      |  35 +-
zun/container/driver.py                            |  29 +-
zun/container/os_capability/host_capability.py     | 150 +++-
.../os_capability/linux/os_capability_linux.py     |  17 +-
zun/db/api.py                                      | 183 +++-
zun/db/etcd/api.py                                 | 522 ++++++++++-
zun/db/etcd/models.py                              | 127 ++-
...9668a816d_add_volumes_info_and_addresses_to_.py |  43 +
.../10d65e285a59_create_volume_mapping_table.py    |  52 ++
.../versions/37bce72463e3_add_pci_device.py        |  56 ++
...29990c965_add_ondelete_to_container_actions_.py |  47 +
...5f4334_change_property_of_restart_policy_in_.py |  37 +
.../alembic/versions/71f8b4cf1dbf_upgrade.py       |  49 ++
...d9e7c1_drop_foreign_key_of_container_actions.py |  43 +
.../versions/945569b3669f_add_runtime_column.py    |  33 +
...fca998431_add_container_actions_events_table.py |  46 +
.../versions/bcd6410d645e_add_host_to_capsule.py   |  36 +
.../cf46a28f46bc_add_container_actions_table.py    |  49 ++
...affd5b4172_add_auto_remove_to_volume_mapping.py |  27 +
.../versions/d9714eadbdc2_add_disk_to_container.py |  33 +
.../f046346d1d87_add_timestamp_to_pci_device.py    |  38 +
...ad4a050f8_drop_container_actions_foreign_key.py |  46 +
...7415d9c_change_the_properties_of_meta_labels.py |  37 +
.../ff7b9665d504_add_pci_stats_to_compute_node.py  |  33 +
zun/db/sqlalchemy/api.py                           | 305 ++++++-
zun/db/sqlalchemy/migration.py                     |   2 +-
zun/db/sqlalchemy/models.py                        | 142 ++-
zun/image/docker/driver.py                         |   7 +
zun/image/driver.py                                |  26 +-
zun/image/glance/driver.py                         |  14 +-
zun/image/glance/utils.py                          |   7 +
zun/network/kuryr_network.py                       | 333 +++++++-
zun/network/model.py                               |  36 +
zun/network/network.py                             |   4 +
zun/network/neutron.py                             |  12 +-
zun/objects/__init__.py                            |  20 +
zun/objects/base.py                                |   1 +
zun/objects/capsule.py                             |  55 +-
zun/objects/compute_node.py                        |  31 +-
zun/objects/container.py                           |  50 +-
zun/objects/container_action.py                    | 179 ++++
zun/objects/container_pci_requests.py              |  67 ++
zun/objects/fields.py                              |  36 +
zun/objects/pci_device.py                          | 393 +++++++++
zun/objects/pci_device_pool.py                     |  93 ++
zun/objects/volume_mapping.py                      | 209 +++++
zun/pci/manager.py                                 | 335 ++++++++
zun/pci/request.py                                 |  24 +
zun/pci/stats.py                                   | 308 +++++++
zun/pci/utils.py                                   |  13 +
zun/pci/whitelist.py                               |   4 +-
zun/scheduler/filter_scheduler.py                  |  22 +-
zun/scheduler/filters/compute_filter.py            |  47 +
zun/scheduler/filters/label_filter.py              |   2 +-
zun/scheduler/filters/pci_passthrough_filter.py    |  52 ++
zun/scheduler/host_state.py                        |  35 +
zun/service/periodic.py                            |  22 +-
.../api/controllers/auth-experimental-access.ini   |  19 +
.../unit/api/controllers/auth-root-access.ini      |   3 -
.../unit/api/controllers/experimental/__init__.py  |   0
.../api/controllers/experimental/test_capsules.py  | 593 +++++++++++++
.../unit/api/controllers/v1/test_containers.py     | 951 +++++++++++++--------
.../unit/api/controllers/v1/test_zun_service.py    |  24 +-
.../unit/container/docker/test_docker_driver.py    | 257 +++---
.../test_os_capability_linux.py                    |  91 +-
.../unit/scheduler/filters/test_compute_filter.py  |  68 ++
.../unit/scheduler/filters/test_cpu_filter.py      |   6 +-
.../unit/scheduler/filters/test_label_filter.py    |   4 +-
.../filters/test_pci_passthrough_filters.py        |  90 ++
.../unit/scheduler/filters/test_ram_filter.py      |   6 +-
zun/volume/__init__.py                             |   0
zun/volume/cinder_api.py                           | 156 ++++
zun/volume/cinder_workflow.py                      | 176 ++++
zun/volume/driver.py                               | 128 +++
zun/websocket/websocketproxy.py                    |   2 +-
329 files changed, 20337 insertions(+), 5272 deletions(-)


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

diff --git a/requirements.txt b/requirements.txt
index 0f08500..280a4c3 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -5 +5 @@
-PyYAML>=3.10.0 # MIT
+PyYAML>=3.10 # MIT
@@ -7,2 +7,2 @@ eventlet!=0.18.3,!=0.20.1,<0.21.0,>=0.18.2 # MIT
-keystonemiddleware>=4.12.0 # Apache-2.0
-jsonpatch>=1.1 # BSD
+keystonemiddleware>=4.17.0 # Apache-2.0
+jsonpatch!=1.20,>=1.16 # BSD
@@ -14,17 +14,20 @@ python-neutronclient>=6.3.0 # Apache-2.0
-python-novaclient>=9.0.0 # Apache-2.0
-oslo.i18n!=3.15.2,>=2.1.0 # Apache-2.0
-oslo.log>=3.22.0 # Apache-2.0
-oslo.concurrency>=3.8.0 # Apache-2.0
-oslo.config!=4.3.0,!=4.4.0,>=4.0.0 # Apache-2.0
-oslo.messaging!=5.25.0,>=5.24.2 # Apache-2.0
-oslo.middleware>=3.27.0 # Apache-2.0
-oslo.policy>=1.23.0 # Apache-2.0
-oslo.serialization!=2.19.1,>=1.10.0 # Apache-2.0
-oslo.service>=1.10.0 # Apache-2.0
-oslo.versionedobjects>=1.17.0 # Apache-2.0
-oslo.context>=2.14.0 # Apache-2.0
-oslo.utils>=3.20.0 # Apache-2.0
-oslo.db>=4.24.0 # Apache-2.0
-os-vif>=1.7.0 # Apache-2.0
-six>=1.9.0 # MIT
-WSME>=0.8 # MIT
+python-novaclient>=9.1.0 # Apache-2.0
+python-cinderclient>=3.3.0 # Apache-2.0
+oslo.i18n>=3.15.3 # Apache-2.0
+oslo.log>=3.36.0 # Apache-2.0
+oslo.concurrency>=3.25.0 # Apache-2.0
+oslo.config>=5.1.0 # Apache-2.0
+oslo.messaging>=5.29.0 # Apache-2.0
+oslo.middleware>=3.31.0 # Apache-2.0
+oslo.policy>=1.30.0 # Apache-2.0
+oslo.privsep>=1.23.0 # Apache-2.0
+oslo.serialization!=2.19.1,>=2.18.0 # Apache-2.0
+oslo.service!=1.28.1,>=1.24.0 # Apache-2.0
+oslo.versionedobjects>=1.31.2 # Apache-2.0
+oslo.context>=2.19.2 # Apache-2.0
+oslo.utils>=3.33.0 # Apache-2.0
+oslo.db>=4.27.0 # Apache-2.0
+os-vif!=1.8.0,>=1.7.0 # Apache-2.0
+os-brick>=2.2.0 # Apache-2.0
+six>=1.10.0 # MIT
+WSME>=0.8.0 # MIT
@@ -33,3 +36,3 @@ stevedore>=1.20.0 # Apache-2.0
-docker>=2.0.0 # Apache-2.0
-netaddr!=0.7.16,>=0.7.13 # BSD
-neutron-lib>=1.9.0 # Apache-2.0
+docker>=2.4.2 # Apache-2.0
+netaddr>=0.7.18 # BSD
+neutron-lib>=1.13.0 # Apache-2.0
@@ -36,0 +40 @@ websockify>=0.8.0 # LGPLv3
+websocket-client<=0.40.0,>=0.33.0 # LGPLv2+
diff --git a/test-requirements.txt b/test-requirements.txt
index 3cc34ec..ce2834b 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -7 +7 @@ bandit>=1.1.0 # Apache-2.0
-doc8 # Apache-2.0
+doc8>=0.6.0 # Apache-2.0
@@ -9 +9 @@ coverage!=4.4,>=4.0 # Apache-2.0
-mock>=2.0 # BSD
+mock>=2.0.0 # BSD
@@ -12,4 +12,3 @@ hacking!=0.13.0,<0.14,>=0.12.0 # Apache-2.0
-python-subunit>=0.0.18 # Apache-2.0/BSD
-sphinx>=1.6.2 # BSD
-openstackdocstheme>=1.16.0 # Apache-2.0
-oslotest>=1.10.0 # Apache-2.0
+sphinx!=1.6.6,>=1.6.2 # BSD
+openstackdocstheme>=1.18.1 # Apache-2.0
+oslotest>=3.2.0 # Apache-2.0
@@ -17 +16 @@ osprofiler>=1.4.0 # Apache-2.0
-os-testr>=0.8.0 # Apache-2.0
+os-testr>=1.0.0 # Apache-2.0
@@ -19 +18 @@ PyMySQL>=0.7.6 # MIT License
-tempest>=16.1.0 # Apache-2.0
+tempest>=17.1.0 # Apache-2.0
@@ -21 +20 @@ testrepository>=0.0.18 # Apache-2.0/BSD
-testresources>=0.2.4 # Apache-2.0/BSD
+testresources>=2.0.0 # Apache-2.0/BSD
@@ -23,3 +22,3 @@ testscenarios>=0.4 # Apache-2.0/BSD
-testtools>=1.4.0 # MIT
-reno!=2.3.1,>=1.8.0 # Apache-2.0
-os-api-ref>=1.0.0 # Apache-2.0
+testtools>=2.2.0 # MIT
+reno>=2.5.0 # Apache-2.0
+os-api-ref>=1.4.0 # Apache-2.0






More information about the Release-announce mailing list