We enthusiastically announce the release of: tripleo-common 12.4.0: A common library for TripleO workflows. This release is part of the ussuri stable release series. The source is available from: https://opendev.org/openstack/tripleo-common Download the package from: https://tarballs.openstack.org/tripleo-common/ Please report issues through: https://bugs.launchpad.net/tripleo-common/+bugs For more details, please see below. 12.4.0 ^^^^^^ Other Notes * The jinja2 template rendering function is extensended with a "raise" method. This can be used to raise errors conditionally in the Jinja2 templated tripleo-heat-tempaltes, for example in case some required property is not defined in roles_data or network_data. The following example demonstrates how to raise an error conditionally in a template: {%- if condition %} {{ raise('MESSAGE') }} {%- endif %} Changes in tripleo-common 12.3.0..12.4.0 ---------------------------------------- f7458220 Enhance error messages when building containers a527249c Do not disable RabbitMQ and OpsTools repos. 240fcc9e Use unittest.mock instead of third party mock 738444e9 Bump grafana container to 5.4.3 tag 6306f7d1 Remove container-update.py cb497e83 linters refresh w/ afferent bugfixes 675f8bc6 Jinja2 raise extension 8020ca46 Remove validation related things from mistral container 1fbea6a9 builder/buildah: use tenacity to retry failing pushes 550bb596 buildah: allow images without type 78bcbfff buildah: exclude build and push, not only build ffb1ac86 Switch fact caching connection 617ea8c7 buildah: allow to exclude images from build 1d83f939 buildah: allow to bind mount volumes when image build b74f1fa6 Enable centos-release-opstools repo for centos-8 9292d528 Remove some unsed actions 25dd8476 Remove access.yaml workbook 60c6df1f Remove octavia_post.yaml workbook 0fda85ba Add kolla template override to remove python3-networking-mlnx 39529248 Refactor ansible inventory generation dd3f1828 image/builder/buildah: support Containerfile a81d63eb Remove swift_ring_rebalance.yaml workbook d0d8ba6b Fix deployments playbook to work in check mode c5a02ef9 Bump ceph/daemon container image to v4.0.12 db09f95e Remove baremetal_deploy.* action entrypoints a72dcb41 Use a full string match for container images b8e07ea4 Remove GetDeploymentFailuresAction 90dce1dd utils/config: allows a when to have boolean conditions e284c5f7 Use healthcheck_port for ironic_inspector_dnsmasq healthcheck 2a65204f Move *OvercloudConfigAction functionality to utils 315174ce Move OvercloudRcAction functionality to utils 2d4d856e Fix "import xx as xx" 6b7f10c7 Remove DeploymentStatusAction 3cfa46f1 Cleanup py27 support df7c32c7 Only add non-empty blacklisted hostnames. 2afb9771 Include uc plan var when TripleoInventories contains a single plan 5ec5abb7 mariadb: add pynacl dependency to support ed25519 5d940eff Remove invalid mistral envocation and references fbf8a412 Revert "Revert removal of OrchestrationDeployAction" f2e833e7 Fix multistack inventory Diffstat (except docs and test files) ------------------------------------- .ansible-lint | 11 - .pre-commit-config.yaml | 15 +- .../container_image_prepare_defaults.yaml | 4 +- container-images/overcloud_containers.yaml | 4 +- .../tripleo_kolla_template_overrides.j2 | 20 +- healthcheck/ironic-inspector | 2 +- lower-constraints.txt | 4 +- ...te-render-raise-extension-87c7ed150a252ff5.yaml | 12 + requirements.txt | 7 +- scripts/container-update.py | 277 ------ setup.cfg | 24 +- setup.py | 9 - test-requirements.txt | 5 +- tox.ini | 5 +- tripleo_common/actions/ansible.py | 36 +- tripleo_common/actions/config.py | 77 +- tripleo_common/actions/deployment.py | 263 +----- tripleo_common/actions/files.py | 65 -- tripleo_common/actions/package_update.py | 45 - tripleo_common/actions/plan.py | 2 +- tripleo_common/image/builder/buildah.py | 102 ++- tripleo_common/image/image_export.py | 4 +- tripleo_common/image/image_uploader.py | 40 +- tripleo_common/image/kolla_builder.py | 3 +- tripleo_common/inventories.py | 82 +- tripleo_common/inventory.py | 76 +- tripleo_common/templates/deployments.yaml | 10 +- tripleo_common/utils/config.py | 75 ++ tripleo_common/utils/overcloudrc.py | 49 +- tripleo_common/utils/roles.py | 6 +- tripleo_common/utils/template.py | 10 +- workbooks/access.yaml | 179 ---- workbooks/octavia_post.yaml | 158 ---- workbooks/swift_ring_rebalance.yaml | 34 - 80 files changed, 4976 insertions(+), 2523 deletions(-) Requirements updates -------------------- diff --git a/requirements.txt b/requirements.txt index 626a059f..a928ca51 100644 --- a/requirements.txt +++ b/requirements.txt @@ -7,2 +7 @@ Babel!=2.4.0,>=2.3.4 # BSD -GitPython>=1.0.1;python_version>='3.0' # BSD License (3 clause) -GitPython>=1.0.1,<2.1.12;python_version<'3.0' # BSD License (3 clause) +GitPython>=1.0.1 # BSD License (3 clause) @@ -16,2 +15 @@ python-glanceclient>=2.8.0 # Apache-2.0 -python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0,<4.0.0;python_version=='2.7' # Apache-2.0 -python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0;python_version>='3.6' # Apache-2.0 +python-ironicclient!=2.5.2,!=2.7.1,!=3.0.0,>=2.3.0 # Apache-2.0 @@ -33 +30,0 @@ tenacity>=4.4.0 # Apache-2.0 -futures>=3.0.0;python_version=='2.7' or python_version=='2.6' # BSD diff --git a/test-requirements.txt b/test-requirements.txt index 651a2791..815966b4 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -openstackdocstheme>=1.20.0 # Apache-2.0 +openstackdocstheme>=1.31.2 # Apache-2.0 @@ -10,2 +10 @@ python-subunit>=1.0.0 # Apache-2.0/BSD -sphinx>=1.8.0,<2.0.0;python_version=='2.7' # BSD -sphinx>=1.8.0,!=2.1.0;python_version>='3.4' # BSD +sphinx>=1.8.0,!=2.1.0 # BSD