tripleo-common 10.8.2 (stein)
We are chuffed to announce the release of: tripleo-common 10.8.2: A common library for TripleO workflows. This release is part of the stein stable release series. The source is available from: https://opendev.org/openstack/tripleo-common Download the package from: https://tarballs.openstack.org/null/ Please report issues through: https://bugs.launchpad.net/tripleo-common/+bugs For more details, please see below. 10.8.2 ^^^^^^ New Features ************ * If the *AdditionalArchitectures* parameter has entries then the container image prepare will prepare images for all architectures instead of just the default one. A new boolean field *multi_arch* can also be set in *ContainerImagePrepare* entries to determine the multi arch behaviour for images in that entry. If any entry sets a *multi_arch* value then *AdditionalArchitectures* is ignored. * Adds additional healtchecks for Swift to monitor account, container and object replicators as well as the rsync process. Bug Fixes ********* * When deploying a large amount of nodes, the create_admin_via_ssh workflow could fail due to the large amount of ansible output generated. This patch updates the tripleo.ansible-playbook action in the workflow with trash_output:true so that the output is not saved in the mistral DB. There is a log file saved already in case the output is needed for debug purposes. Changes in tripleo-common 10.8.1..10.8.2 ---------------------------------------- c2a83c1c Escape invalid JSON characters during deployment. 7b46f4d7 Make upload workers faster on processing layers f0877d0a Use the Mistral directory for storing the Ansible fact cache. a60453ea Improve Swift healthchecks 234efc00 Fix ceilometer_agent_compute health check ee405ae3 Stop logging manifest in debug 962f0a33 Fix dynamic executor appending to objects 7caabc78 Bump ceph/daemon container image to v4.0.4 264def34 Fix missing lock a31748f5 Reset *RemovalPoliciesMode for node delete 5cf40c11 Do not repeat setting defaults for image layers 79941739 Make executor type dynamic f91ffa55 Use tenancity to backoff when layer is locked baf0c09c Improving debug logging 74abbd1f Implement threading locks around layers 66f01132 Prefix ansible output with timestamps 55df4dec Always close src/dst sessions and raise to retry 197a05ed Add support for uploading local image c882901f Improve ThreadPoolExecutor usage 0c3c2623 Randomize the container list for uploads 61ec5914 Transfer all images in a manifest list 472d6759 Raise exception when no IPs found 9c6f5f9a Moving tripleo-ci-centos-7-scenario010-standalone to nv de579757 Handle empty cert related hostvar info 355abb69 turn scenario009 to nv in stein 609d9059 Define the interface for multi arch image prepare add2da5a Use a typemap file instead of symlinks for tags 2ce5c012 Fix duplicated msec 6048a985 Implement Ansible fact cache for Mistral executor 607753cd Warn when looking up grandparent resource name f7fcad95 Fixup octavia-api healthcheck e85e2685 Run container prepare without gathering facts 16870bc5 Add timestamps to log file for tripleo-container-image-prepare 2d301790 Remove duplicated "for" loop 0708730e [Stein] Optional flag file for tripleo-transfer to prevent overwriting c5729bb8 Remove chunk size for url stream f25bfeef Set display_skipped_host to no 2639ec06 Add profile_tasks to ansible runs 337dda3f healthcheck: List udp ports with ss 40cd795c Stop sending execution object via Zaqar message 4754deab healthcheck_port: run ss with both sudo & root as best effort eeb91c4f healthcheck_port: run ss -ntp with sudo 7cbf96af Use blockinfile for tripleo-ssh-known-hosts 02f8c7ae Use trash_output in create_admin_via_ssh workflow f502dcd0 Clean up host var for pre/post deployment Diffstat (except docs and test files) ------------------------------------- .../container_image_prepare_defaults.yaml | 2 +- container-images/overcloud_containers.yaml | 2 +- .../tripleo_kolla_template_overrides.j2 | 9 - healthcheck/ceilometer-agent-compute | 4 +- healthcheck/common.sh | 42 +- healthcheck/octavia-api | 12 +- healthcheck/octavia-health-manager | 2 +- healthcheck/swift-account-replicator | 8 + healthcheck/swift-account-server | 13 - healthcheck/swift-container-replicator | 8 + healthcheck/swift-container-server | 13 - healthcheck/swift-object-expirer | 12 - healthcheck/swift-object-replicator | 8 + healthcheck/swift-object-server | 22 - healthcheck/swift-proxy | 11 - playbooks/octavia-files.yaml | 6 +- .../notes/multi_arch_image-3c3730cbba95be19.yaml | 9 + ...ft-additional-healtchecks-ab8cd9c7562654f3.yaml | 5 + ...t_in_create_admin_via_ssh-dc9cae99934e1fbe.yaml | 8 + roles/tripleo-ssh-known-hosts/tasks/main.yml | 50 +- roles/tripleo-transfer/README.md | 5 + roles/tripleo-transfer/defaults/main.yml | 1 + roles/tripleo-transfer/tasks/flag.yml | 36 + roles/tripleo-transfer/tasks/main.yml | 2 + scripts/run-validation | 8 + scripts/tripleo-container-image-prepare | 16 +- tripleo_common/actions/ansible.py | 13 + tripleo_common/actions/scale.py | 5 + tripleo_common/image/exception.py | 5 + tripleo_common/image/image_export.py | 229 +++++- tripleo_common/image/image_uploader.py | 858 +++++++++++++++------ tripleo_common/image/kolla_builder.py | 43 +- tripleo_common/inventory.py | 3 + tripleo_common/templates/deployments.yaml | 15 +- tripleo_common/templates/host_var_server.j2 | 13 - .../utils/data/host_vars/overcloud-controller-0 | 8 - .../utils/data/host_vars/overcloud-novacompute-0 | 7 - .../utils/data/host_vars/overcloud-novacompute-1 | 7 - .../utils/data/host_vars/overcloud-novacompute-2 | 8 - tripleo_common/utils/config.py | 5 + tripleo_common/utils/image.py | 26 + tripleo_common/utils/locks/__init__.py | 0 tripleo_common/utils/locks/base.py | 21 + tripleo_common/utils/locks/processlock.py | 30 + tripleo_common/utils/locks/threadinglock.py | 22 + workbooks/access.yaml | 1 + workbooks/messaging.yaml | 4 +- zuul.d/layout.yaml | 9 +- 54 files changed, 1626 insertions(+), 535 deletions(-)
participants (1)
-
no-reply@openstack.org