We are chuffed to announce the release of: tripleo-common 10.2.0: A common library for TripleO workflows. This release is part of the stein release series. The source is available from: http://git.openstack.org/cgit/openstack/tripleo-common Download the package from: https://tarballs.openstack.org/tripleo-common/ Please report issues through launchpad: https://bugs.launchpad.net/tripleo-common For more details, please see below. 10.2.0 ^^^^^^ New Features ************ * The "ironic-staging-drivers" are now installed in the ironic- conductor container so that these drivers can be used without rebuilding the container. The Ironic Staging Drivers (https ://ironic-staging-drivers.readthedocs.io/en/latest/) is used to hold out-of-tree Ironic drivers which doesn't have means to provide a 3rd Party CI at this point in time which is required by Ironic. * Node's profile can now be specified as a separate "profile" field in the "instackenv.json" instead of inside capabilities. * A new Ansible role to tag containers managed by Pacemaker. This role will be consummed by services managed by Pacemaker. * The new tripleo-docker-rm will be useful to remove the containers that were managed by Docker and that are now managed by Podman. Upgrade Notes ************* * Package octavia-amphora-image (RHEL) will no longer be installed by role octavia-undercloud, and it now installs image files in directory /usr/share/openstack-octavia-amphora-images/. Please ensure you have the latest package version installed in the undercloud node beforehand deploying or updating the overcloud. Deprecation Notes ***************** * Specifying profile in capabilities when enrolling nodes is deprecated. Please use the new "profile" field instead. Bug Fixes ********* * Node update now works correctly when capabilities are specified as a dict. * The list of pre and post deployment names generated with config- download are now written per server instead of per role. This change handles the case where a deployment may apply to only an individual or set of servers within a role, and not all servers in that role. host_vars are used to set the variable of deployment names per server instead of group_vars. * Remove the tripleo specific inclusion of the openstack-ironic- statging-drivers package into the ironic-conductor container as this has been included in kolla. Other Notes *********** * TripleoInventory class no longer supports the parameters being passed in as as config object. This was added to support transition in in tripleo-validations that was corrected in Queens. Changes in tripleo-common 10.1.0..10.2.0 ---------------------------------------- c01edb5 Fix DeploymentStatusAction KeyError 981a217 Drop baremetal job template bdbce00 Address python3 string issues with subprocess d8de81f Add excludes to kolla builder cdcafad Implement python based uploader b6e82e2 Fix syntax error in role octavia-controller-config 7ab5342 Remove tripleo ironic-staging-drivers addition 092cddf overrides for transitioning from mariadb 10.1 to 10.3 0923fca Add a way to update ContainerImagePrepare params e07dc79 Only update parameters once in backup workflow 90fe24c Add python-notario package to mistral-executor container 936a599 Fix environments sorting 25183dd Increase ansible gather_timeout to 30secs for config-download e22f143 Set heatclient exceptions to verbose a719804 Stops growth of massive dentry cache growth 37dee4a Don't accumulate ansible output uselessly 8bfa351 Don't upcall run on UpdateParametersAction errors ece0944 Fix broken YAQL expressions in heat_environments.yaml 4490cc5 Fix non-exiting link to TripleO-common bugs 3a0cc64 image_uploader: use /v2 suffix to validate SSL 2c76f9f Specify python interpreter for undercloud c907add Set DeployIdentifier on update/upgrade/ffwd prepare actions ea9703a Rename tripleo-ci-centos-7-scenario009-multinode-oooq 4f89896 Add tripleoclient container 7032f25 Bump the Ceph container image to 3.2.0 84603a0 Generating fencing for capitalized MACs 7cd99c8 Persist region name in overcloudrc cebf6d7 Update swift_backup workflow success status message e05349d Do not fail deploy for empty ceph ansible fetch directory 08b89e6 Stop setting boot_option=local on ironic nodes a1cef57 Use stestr for unit tests 51e1f34 Simplify logic in docker detection for docker-rm role b7f0688 Fix rotate_fernet_keys workflow to not use heat deployment 51519d7 Catch heat exceptions in DeployStackAction 7c960d0 Exit when container is missing or empty when downloading logs 9198805 Select message IDs properly when publishing to swift 9288f0f Remove configs parameter from TripleoInventory d610129 Add advanced deployment options c6fab39 Install ironic-staging-drivers in ironic-conductor da02cd1 Fix nova-api healthcheck 678d564 Pass execution_id to tripleo.ansible-playbook. 9780889 Implement tripleo-docker-rm role 7370ca7 tripleo-container-tag: pull image before tagging 5b10047 Cache swift responses in process_environments_and_files 5c204c3 Don't reset parameter cache in a loop 42ea35f Revert "Revert "Add crane service to overcloud_containers.yaml.j2"" 70267db Add container build job e3a410f Supports specifying profile explicitly in instackenv.json 2c225f1 Correct handling of capabilities on node update 73631a2 Option to upload Octavia amphora img in RAW format de6f820 Omit grep process in nova_api healthcheck. b00b866 Move Octavia config opts to common config directory 8abbdeb Add image_source to containers de06f93 Sync state if needed during retrieval d22611b Fix config-download timeout 82bf5ad Implement tripleo-container-tag role f9389e3 Stop installing octavia-amphora-image package bdb78ef [Core] Fix the KeyError exception. f3cff15 Revert to coreos images hosted on quay.io 388ffae Delete old tarball from config container on download 042a281 Add container images for openshift 3.11 2f0f339 Revert "Add crane service to overcloud_containers.yaml.j2" 279543d Use pyyaml to output group vars f5ce5d7 Support v1 container image manifests e703ec1 Use DockerRegistryMirror to proxy requests 99dab22 Remove non-voting scenarios from gate 6d565e1 Move some container deps out of base e3bcc24 Don't resolve Heat stack output when unnecessary d1619ed Run Mistral workflow to make temporary Swift URLs on upgrade 8b16971 Refactor image uploader class structure 6cc6395 Fix - config-download tarball upload OverflowError 6d74a84 Per server deployments instead of per role a4048bf Add debug to container image prepare 90a1891 Store prepare defaults in packaged yaml 9f08626 Add crane service to overcloud_containers.yaml.j2 3933a66 Handle failed nodes when enabling ssh admin Diffstat (except docs and test files) ------------------------------------- .gitignore | 1 + .stestr.conf | 3 + .testr.conf | 7 - CONTRIBUTING.rst | 2 +- .../container_image_prepare_defaults.yaml | 73 ++ container-images/overcloud_containers.yaml | 169 ++- container-images/overcloud_containers.yaml.j2 | 253 +++- .../tripleo_kolla_template_overrides.j2 | 21 +- healthcheck/common.sh | 1 + healthcheck/nova-api | 2 +- playbooks/octavia-files.yaml | 1 + playbooks/roles/common/defaults/main.yml | 1 + .../roles/octavia-controller-config/tasks/main.yml | 2 +- .../octavia-controller-config/tasks/octavia.yml | 20 +- .../templates/worker-post-deploy.conf.j2 | 4 - .../roles/octavia-undercloud/tasks/image_mgmt.yml | 31 +- playbooks/roles/octavia-undercloud/tasks/main.yml | 7 +- ...nd-ironic-staging-drivers-d278905bb1ec0683.yaml | 9 + releasenotes/notes/caps-fix-f6f8817a48fa5c25.yaml | 4 + .../deployments-per-server-ea747fcff19c884d.yaml | 7 + ...-inventory-config-support-c2132b897da2d290.yaml | 6 + releasenotes/notes/profile-17e2650c8da9e8b5.yaml | 9 + ...-staging-drivers-override-ce9776ec030ec02a.yaml | 6 + ...via-amphora-image-install-5d26e3d37c7b508f.yaml | 8 + .../tripleo-container-tag-ec42e64289cb17e2.yaml | 5 + .../notes/tripleo-docker-rm-b64297d5f9f42988.yaml | 5 + roles/tripleo-container-tag/README.md | 41 + roles/tripleo-container-tag/defaults/main.yaml | 2 + roles/tripleo-container-tag/tasks/main.yaml | 6 + roles/tripleo-docker-rm/README.md | 40 + roles/tripleo-docker-rm/defaults/main.yaml | 2 + roles/tripleo-docker-rm/tasks/main.yaml | 14 + scripts/container-update.py | 18 +- scripts/tripleo-container-image-prepare | 13 +- setup.cfg | 2 + sudoers | 1 - test-requirements.txt | 2 +- tox.ini | 12 +- tripleo_common/actions/__init__.py | 4 + tripleo_common/actions/ansible.py | 18 +- tripleo_common/actions/baremetal.py | 9 +- tripleo_common/actions/config.py | 12 +- tripleo_common/actions/container_images.py | 38 + tripleo_common/actions/deployment.py | 105 +- tripleo_common/actions/files.py | 5 +- tripleo_common/actions/package_update.py | 14 +- tripleo_common/actions/parameters.py | 5 +- tripleo_common/actions/plan.py | 3 +- tripleo_common/actions/templates.py | 7 +- tripleo_common/image/image_uploader.py | 1356 +++++++++++++++----- tripleo_common/image/kolla_builder.py | 87 +- tripleo_common/inventory.py | 40 +- tripleo_common/templates/group_var_role.j2 | 14 - tripleo_common/templates/host_var_server.j2 | 10 + .../utils/data/host_vars/overcloud-controller-0 | 7 + .../utils/data/host_vars/overcloud-novacompute-0 | 6 + .../utils/data/host_vars/overcloud-novacompute-1 | 6 + .../utils/data/host_vars/overcloud-novacompute-2 | 7 + tripleo_common/utils/config.py | 51 +- tripleo_common/utils/nodes.py | 39 +- tripleo_common/utils/overcloudrc.py | 3 +- tripleo_common/utils/plan.py | 13 +- tripleo_common/utils/swift.py | 14 +- workbooks/access.yaml | 12 +- workbooks/baremetal.yaml | 4 +- workbooks/container_images.yaml | 51 + workbooks/deployment.yaml | 58 +- workbooks/fernet-key-rotate.yaml | 14 +- workbooks/heat_environments.yaml | 4 +- workbooks/octavia_post.yaml | 4 + workbooks/plan_management.yaml | 64 +- workbooks/rename_ceph_ansible_fetch_directory.yaml | 2 +- workbooks/skydive-ansible.yaml | 1 + workbooks/swift_backup.yaml | 23 +- workbooks/swift_ring_rebalance.yaml | 9 +- zuul.d/layout.yaml | 20 +- 93 files changed, 4199 insertions(+), 795 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index d422644..4ad7698 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -14 +14 @@ oslotest>=3.2.0 # Apache-2.0 -testrepository>=0.0.18 # Apache-2.0/BSD +stestr>=2.0.0 # Apache-2.0
participants (1)
-
no-reply@openstack.org