tripleo-validations 11.2.0 (train)
We are excited to announce the release of: tripleo-validations 11.2.0: A collection of Ansible playbooks to detect and report potential issues during TripleO deployments This release is part of the train release series. The source is available from: https://opendev.org/openstack/tripleo-validations Download the package from: https://tarballs.openstack.org/tripleo-validations/ Please report issues through: https://bugs.launchpad.net/tripleo/+bugs For more details, please see below. 11.2.0 ^^^^^^ New Features * The behavior of the "ironic-boot-configuration" validations has changed substantially in acknowledgment that deploy images may or may not be Glance images. The new validatoin logic is more generalized than before, in that now it checks that the deploy images associated to the nodes of a certain arch/platform do not exceed a certain standard of diversity. Changes in tripleo-validations 11.1.0..11.2.0 --------------------------------------------- 8657467 Add different logic when running against the Undercloud or the Controller 35f3d60 Add multistack support to tripleo-ansible-inventory b60bc84 Pass undercloud_connection in TripleoInventory instantiation. d253d52 Set undercloud-connection to local by default db30779 Add undercloud-key-file and ssh_network options. 02b2f06 Add zuul molecule job for check-latest-packages-version role 352dadd Adds molecule testing for stonith-exists bdf76ad Modify validation and add Molecule tests for rabbitmq-limits 0cb6d61 Adds molecule testing for undercloud-tokenflush 3ba8931 Adds molecule testing for undercloud-heat-purge-deleted 962004f Switch to promote docs job 6dffc61 Add Molecule tests for check-network-gateway b8f742d Do not stop ceph-health but skip if ceph is not deployed b2ac173 Removed older version of python b488ec9 Loosen ironic-boot-configuration e3eb813 Remove useless meta directory for the Ansible ntp role 6ae16f5 Adds molecule tests to image-serve and correct validation b0ee177 Adds molecule tests for the nova-status validation 2fc0f67 Adding molecule tests for no-op-firewall-nova-driver validation 4908e16 Convert tox to native zuul dd1c4dd Use custom Ceph cluster name in validations cac3e71 Linting hardening with pre-commit e19638c Revert "Improve Ceph health checks to work with custom cluster names" 218bef9 Add autodocumentation for roles and library ff4d7ce Improve Ceph health checks to work with custom cluster names 4faf07f Simplifying the check of the latest package version validation ae5bba3 Blacklist sphinx 2.1.0 (autodoc bug) 90f477c Corrected how hiera is installed 5a10ad8 Bump the openstackdocstheme extension to 1.20 fa974b9 Correct "repos" validation and adds Molecule tests 2affbb1 Enable fact gathering for needed validations 1265e2f New validation: ensure services status Diffstat (except docs and test files) ------------------------------------- .pre-commit-config.yaml | 22 +- ansible-test-env.rc | 22 ++ bindep.txt | 33 +++ callback_plugins/validation_output.py | 5 +- .../modules/modules-check_ironic_boot_config.rst | 15 + .../modules/modules-check_package_update.rst | 15 + .../modules/modules-ovs_dpdk_pmd_cpus_check.rst | 15 + .../roles/role-advanced-format-512e-support.rst | 7 + .../roles/role-check-latest-packages-version.rst | 6 + .../role-collect-flavors-and-verify-profiles.rst | 7 + .../roles/role-containerized-undercloud-docker.rst | 7 + .../roles/role-ironic-boot-configuration.rst | 7 + .../roles/role-no-op-firewall-nova-driver.rst | 7 + .../roles/role-undercloud-heat-purge-deleted.rst | 7 + .../roles/role-undercloud-service-status.rst | 7 + library/check_flavors.py | 4 +- library/check_ironic_boot_config.py | 172 ++++------- library/check_package_update.py | 100 +++---- library/docker_facts.py | 8 +- library/haproxy_conf.py | 6 +- library/ini.py | 1 + library/node_disks.py | 2 +- library/switch_vlans.py | 4 +- lookup_plugins/ironic_nodes.py | 8 +- lookup_plugins/nova_servers.py | 11 +- lower-constraints.txt | 2 +- molecule-requirements.txt | 10 + playbooks/ceph-health.yaml | 1 - playbooks/check-latest-minor-version.yaml | 12 - playbooks/check-latest-packages-version.yaml | 13 + playbooks/ironic-boot-configuration.yaml | 2 - playbooks/no-op-firewall-nova-driver.yaml | 1 + playbooks/nova-status.yaml | 6 +- playbooks/openshift-hw-requirements.yaml | 13 +- playbooks/openshift-nw-requirements.yaml | 2 +- playbooks/repos.yaml | 1 + playbooks/service-status.yaml | 16 + playbooks/stack-health.yaml | 2 +- playbooks/undercloud-cpu.yaml | 1 + playbooks/undercloud-ram.yaml | 1 + playbooks/undercloud-selinux-mode.yaml | 1 + ...p-range-validation-result-daddc8c015dd34c0.yaml | 2 +- ...ronic-boot-config-changes-de40ef071e13b51b.yaml | 8 + releasenotes/source/conf.py | 33 --- requirements.txt | 1 + role-addition.yml | 56 ++++ roles/ceph/tasks/ceph-health.yaml | 76 +++-- roles/check-latest-minor-version/tasks/main.yml | 16 - roles/check-latest-minor-version/vars/main.yml | 8 - .../defaults/main.yml | 0 .../molecule/default/Dockerfile.j2 | 37 +++ .../molecule/default/molecule.yml | 47 +++ .../molecule/default/playbook.yml | 51 ++++ .../molecule/default/prepare.yml | 25 ++ roles/check-latest-packages-version/tasks/main.yml | 16 + roles/check-latest-packages-version/vars/main.yml | 8 + .../molecule/default/Dockerfile.j2 | 37 +++ .../molecule/default/molecule.yml | 47 +++ .../molecule/default/playbook.yml | 68 +++++ .../molecule/default/prepare.yml | 54 ++++ .../molecule/default/molecule.yml | 4 +- .../ctlplane-ip-range/molecule/default/prepare.yml | 49 ++++ roles/image-serve/molecule/default/Dockerfile.j2 | 37 +++ roles/image-serve/molecule/default/molecule.yml | 51 ++++ roles/image-serve/molecule/default/playbook.yml | 58 ++++ roles/image-serve/molecule/default/prepare.yml | 54 ++++ roles/image-serve/tasks/main.yaml | 17 +- roles/ironic-boot-configuration/defaults/main.yml | 2 - roles/ironic-boot-configuration/tasks/main.yml | 3 - roles/neutron-sanity-check/tasks/main.yml | 40 ++- roles/no-op-firewall-nova-driver/defaults/main.yml | 2 + .../molecule/default/Dockerfile.j2 | 37 +++ .../molecule/default/molecule.yml | 47 +++ .../molecule/default/playbook.yml | 70 +++++ roles/no-op-firewall-nova-driver/tasks/main.yml | 2 +- roles/nova-status/molecule/default/Dockerfile.j2 | 37 +++ roles/nova-status/molecule/default/molecule.yml | 47 +++ roles/nova-status/molecule/default/playbook.yml | 50 ++++ roles/nova-status/molecule/default/prepare.yml | 79 +++++ roles/nova-status/tasks/main.yml | 3 +- .../tasks/openshift-hw-requirements.yaml | 10 +- .../rabbitmq-limits/molecule/default/Dockerfile.j2 | 37 +++ .../rabbitmq-limits/molecule/default/molecule.yml | 47 +++ .../rabbitmq-limits/molecule/default/playbook.yml | 50 ++++ roles/rabbitmq-limits/molecule/default/prepare.yml | 96 ++++++ roles/rabbitmq-limits/tasks/main.yml | 7 +- roles/repos/molecule/default/Dockerfile.j2 | 37 +++ roles/repos/molecule/default/molecule.yml | 46 +++ roles/repos/molecule/default/playbook.yml | 79 +++++ roles/repos/molecule/default/verify.yml | 15 + roles/repos/tasks/main.yml | 21 +- roles/{ntp => service-status}/meta/main.yml | 1 - roles/service-status/tasks/main.yaml | 16 + .../stonith-exists/molecule/default/Dockerfile.j2 | 37 +++ roles/stonith-exists/molecule/default/molecule.yml | 46 +++ roles/stonith-exists/molecule/default/playbook.yml | 56 ++++ roles/stonith-exists/molecule/default/prepare.yml | 30 ++ .../tasks/pre-deployment-containerized.yaml | 5 +- .../molecule/default/Dockerfile.j2 | 37 +++ .../molecule/default/molecule.yml | 51 ++++ .../molecule/default/playbook.yml | 54 ++++ .../molecule/default/prepare.yml | 98 +++++++ roles/undercloud-selinux-mode/defaults/main.yml | 1 - .../molecule/default/Dockerfile.j2 | 37 +++ .../molecule/default/molecule.yml | 51 ++++ .../molecule/default/playbook.yml | 54 ++++ .../molecule/default/prepare.yml | 106 +++++++ scripts/bindep-install | 45 +++ scripts/run-local-test | 70 +++++ scripts/tripleo-ansible-inventory | 61 ++-- setup.cfg | 1 - test-requirements.txt | 5 +- tools/releasenotes_tox.sh | 3 +- tools/validate-files.py | 1 + tox.ini | 146 ++++++--- zuul.d/base.yaml | 15 + zuul.d/layout.yaml | 33 ++- zuul.d/molecule.yaml | 190 ++++++++++++ zuul.d/playbooks/pre.yml | 28 ++ zuul.d/playbooks/run-local.yml | 13 + zuul.d/playbooks/run.yml | 19 ++ 190 files changed, 4286 insertions(+), 612 deletions(-) Requirements updates -------------------- diff --git a/molecule-requirements.txt b/molecule-requirements.txt new file mode 100644 index 0000000..36b47d7 --- /dev/null +++ b/molecule-requirements.txt @@ -0,0 +1,10 @@ +# this is required for the molecule jobs +ansible +ansi2html +docker +pytest +pytest-cov +pytest-html +pytest-xdist +mock +molecule>=2.22rc1 diff --git a/requirements.txt b/requirements.txt index b5474ef..d0fadd1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -13,0 +14 @@ os-net-config>=7.1.0 # Apache-2.0 +oslo.utils>=3.36.0 # Apache-2.0 diff --git a/test-requirements.txt b/test-requirements.txt index 25a16ff..cf960fe 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5 +5 @@ -openstackdocstheme>=1.18.1 # Apache-2.0 +openstackdocstheme>=1.20.0 # Apache-2.0 @@ -11 +11 @@ sphinx!=1.6.6,!=1.6.7,>=1.6.2,<2.0.0;python_version=='2.7' # BSD -sphinx!=1.6.6,!=1.6.7,>=1.6.2;python_version>='3.4' # BSD +sphinx!=1.6.6,!=1.6.7,!=2.1.0,>=1.6.2;python_version>='3.4' # BSD @@ -17,0 +18 @@ netaddr>=0.7.18 # BSD +pre-commit # MIT
participants (1)
-
no-reply@openstack.org