We are amped to announce the release of:
tripleo-validations 15.1.0: A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
The source is available from:
https://opendev.org/openstack/tripleo-validations
Download the package from:
https://tarballs.openstack.org/tripleo-validations/
For more details, please see below.
15.1.0 ^^^^^^
Changes in tripleo-validations 15.0.0..15.1.0 ---------------------------------------------
63f881b oslo-config-validator: Removing merged patches 9c62de3 oslo-config-validator: invalidating configs only when necessary 4828fca oslo-config-validator: container plugin is replaced with collections 93d34a2 Use collections in validations for Ansible 2.11 96bdba4 Adds .dockerignore file to limit size of podman image context 06151c2 Tests for the 'icmp_ping' module. 129ce2d Dependency reorganization 2a7c43d Fail validation if pacemaker service is not active d00a7f9 Setting language for the python3.6 tox environment 5a8cfac Fix Inventory Generation without Overcloud deployed c61d894 oslo_config_validator: Setting container network to none 84c91cf Ansible lint custom rule expansion 23992a3 Moving setting validation from nova_event_callback 8492bf8 remove using containers-prepare-parameter.yaml 07fa866 EndpointNotFound is now handled gracefully b6f3800 yaml.load: Set Loader to avoid deprecation warning 39a846c Add new metadata keys to the validation playbooks 8f43cce [validation_init] Add ability to create new validation w/o molecule test 9196b98 Replace deprecated import of ABCs from collections 7136337 NVF OvS DPDK instance emulatorpin validation fix 46d9b75 NFV OvS DPDK zero packet loss validations bb51a0c molecule-requirements constraints 7dae6b1 fix var name in logging statement ae59abe Sort jobs in molecule.yaml file when adding new role 41dcda8 Add zuul.d/molecule.yaml file back in the yamllint ignore list e610926 Corrected the task 'Get file_descriptors total_limit' to get the 'fs.file-max' value. 5c951d9 Removing import conditional for 'collections.abc' 9ae4bd6 Coverage change job 16704fe Remove content-provider to decrease CI time 523c24f Remove from master the ceph-ansible references 9dd662a Migrate back haproxy validation to tripleo-validations 56adfba Correct the tox option for skipping sdist generation d691f30 [validation_init] add new metadata keys in the playbook template 4aaca32 Introducing the oslo_config_validator role 2fed329 Filling in license info for dependencies. 72b7105 [compute_tsx] Remove README.md file c1277a5 Enabling indentation rule for yamllint. 9581a94 [overcloud_service_status] Remove README.md file e871121 [check_for_dangling_images] Remove README.md file 0a37793 [validation_init] Remove the creation of a README.md file for a new validation 933d984 Allow comments in variable files to be rendered in docs 7fe77b4 Moved 'six' import to the top. ead951f Removes deprecated 'overcloudrc' module 0edcc45 setup.cfg: Replace dashes with underscores
Diffstat (except docs and test files) -------------------------------------
.ansible-lint | 2 +- .ansible-lint_rules/ValidationHasMetadataRule.py | 187 +++++++---- .dockerignore | 55 +++ .pre-commit-config.yaml | 2 +- .yamllint | 7 +- ansible-collections-requirements.yml | 5 + ci/playbooks/coverchange.yaml | 106 ++++++ ci/playbooks/pre.yml | 3 + .../modules-check_cpus_aligned_with_dpdk_nics.rst | 15 + .../modules-check_other_processes_pmd_usage.rst | 15 + .../modules-convert_range_to_numbers_list.rst | 15 + .../modules/modules-get_dpdk_nics_numa_info.rst | 15 + .../modules/modules-pmd_threads_siblings_check.rst | 15 + .../modules/modules-tripleo_haproxy_conf.rst | 14 + .../roles/role-check_for_dangling_images.rst | 39 ++- .../role-check_nfv_ovsdpdk_zero_packet_loss.rst | 39 +++ library/ceph_pools_pg_protection.py | 4 +- library/check_cpus_aligned_with_dpdk_nics.py | 140 ++++++++ library/check_other_processes_pmd_usage.py | 162 +++++++++ library/convert_range_to_numbers_list.py | 97 ++++++ library/get_dpdk_nics_numa_info.py | 143 ++++++++ library/network_environment.py | 45 +-- library/overcloudrc.py | 80 ----- library/pmd_threads_siblings_check.py | 187 +++++++++++ library/switch_vlans.py | 7 +- library/tripleo_haproxy_conf.py | 108 ++++++ molecule-requirements.txt | 20 +- playbooks/ceph-ansible-installed.yaml | 16 - playbooks/ceph-dependencies-installed.yaml | 5 + playbooks/ceph-health.yaml | 5 + playbooks/ceph-pg.yaml | 5 + playbooks/check-for-dangling-images.yaml | 4 + playbooks/check-kernel-version.yaml | 6 + playbooks/check-network-gateway.yaml | 5 + playbooks/check-rhsm-version.yaml | 8 + playbooks/check-uc-hostname.yaml | 5 + playbooks/check-undercloud-conf.yaml | 6 +- playbooks/collect-flavors-and-verify-profiles.yaml | 7 + playbooks/compute-tsx.yaml | 10 + playbooks/container-status.yaml | 7 + playbooks/controller-token.yaml | 7 + playbooks/controller-ulimits.yaml | 8 + playbooks/ctlplane-ip-range.yaml | 6 + playbooks/default-node-count.yaml | 7 + playbooks/dhcp-introspection.yaml | 8 + playbooks/dhcp-provisioning.yaml | 7 + playbooks/frr-status.yaml | 8 + playbooks/healthcheck-service-status.yaml | 10 + playbooks/image-serve.yaml | 7 + playbooks/ironic-boot-configuration.yaml | 6 + playbooks/mysql-open-files-limit.yaml | 8 + playbooks/network-environment.yaml | 7 + playbooks/neutron-sanity-check.yaml | 11 +- playbooks/nfv-ovsdpdk-zero-packet-loss-check.yaml | 19 ++ playbooks/node-disks.yaml | 8 + playbooks/node-health.yaml | 8 + playbooks/nova-event-callback.yaml | 27 +- playbooks/nova-status.yaml | 4 + playbooks/nova-svirt.yaml | 6 + playbooks/openshift-hw-requirements.yaml | 7 + playbooks/openshift-nw-requirements.yaml | 4 + playbooks/openstack-endpoints.yaml | 6 + playbooks/oslo-config-validator.yaml | 72 ++++ playbooks/overcloud-service-status.yaml | 8 + playbooks/ovs-dpdk-pmd-cpus-check.yaml | 6 + playbooks/pacemaker-status.yaml | 10 + playbooks/package-version.yaml | 7 + playbooks/rabbitmq-limits.yaml | 7 + playbooks/repos.yaml | 8 + playbooks/stack-health.yaml | 6 + playbooks/stonith-exists.yaml | 8 + playbooks/switch-vlans.yaml | 9 + playbooks/system-encoding.yaml | 6 + playbooks/tls-everywhere-post-deployment.yaml | 9 + playbooks/tls-everywhere-pre-deployment.yaml | 9 + playbooks/tls-everywhere-prep.yaml | 9 + playbooks/tripleo-haproxy.yaml | 26 ++ playbooks/tripleo-latest-packages-version.yaml | 7 + playbooks/undercloud-debug.yaml | 7 + playbooks/undercloud-disk-space-pre-upgrade.yaml | 7 + playbooks/undercloud-disk-space.yaml | 7 + playbooks/undercloud-heat-purge-deleted.yaml | 7 + playbooks/undercloud-ipa-server-check.yaml | 9 + playbooks/undercloud-neutron-sanity-check.yaml | 9 + playbooks/undercloud-process-count.yaml | 5 + playbooks/undercloud-service-status.yaml | 7 + playbooks/undercloud-tokenflush.yaml | 7 + .../notes/remove-overcloudrc-a6c28a4a34dad951.yaml | 6 + requirements.txt | 2 +- roles/ceph/defaults/main.yml | 2 - .../molecule/ceph-ansible-installed/converge.yml | 70 ---- roles/ceph/tasks/ceph-ansible-installed.yaml | 37 -- roles/check_for_dangling_images/README.md | 37 -- roles/check_for_dangling_images/defaults/main.yml | 2 + .../tasks/check_nfv_instances.yml | 37 ++ .../tasks/check_nfv_pci_address.yml | 26 ++ .../tasks/main.yml | 217 ++++++++++++ .../tasks/validate_dpdk_port_bandwidth.yml | 21 ++ .../tasks/validate_instance.yml | 91 +++++ roles/check_uc_hostname/README.md | 39 --- roles/check_uc_hostname/defaults/main.yml | 8 +- .../molecule/default/converge.yml | 208 +++++++++++- .../molecule/default/molecule.yml | 19 ++ .../check_uc_hostname/molecule/default/prepare.yml | 72 ---- roles/check_uc_hostname/tasks/main.yml | 82 +++-- roles/compute_tsx/README.md | 64 ---- roles/compute_tsx/defaults/main.yml | 8 + roles/compute_tsx/vars/main.yml | 2 + roles/nova_event_callback/defaults/main.yml | 8 +- roles/nova_event_callback/tasks/main.yml | 65 +--- roles/nova_event_callback/vars/main.yml | 14 +- roles/nova_svirt/tasks/validate.yml | 2 +- roles/oslo_config_validator/defaults/main.yml | 372 +++++++++++++++++++++ roles/oslo_config_validator/meta/main.yml | 42 +++ .../molecule/default/molecule.yml | 45 +++ .../molecule/mocked_failure/molecule.yml | 24 ++ .../resources/library/generator.yml | 74 ++++ .../oslo_config_validator/resources/library/podman | 304 +++++++++++++++++ .../resources/playbooks/converge.yml | 37 ++ .../resources/playbooks/prepare.yml | 43 +++ .../tasks/build_validation_config.yml | 166 +++++++++ .../oslo_config_validator/tasks/container_run.yml | 56 ++++ .../tasks/invalidate_config.yml | 76 +++++ roles/oslo_config_validator/tasks/main.yml | 73 ++++ .../tasks/opt_data_format.yml | 74 ++++ .../tasks/report_generation.yml | 90 +++++ .../tasks/validate_config.yml | 68 ++++ .../tasks/validation_command.yml | 102 ++++++ roles/oslo_config_validator/vars/main.yml | 44 +++ roles/overcloud_service_status/README.md | 47 --- roles/overcloud_service_status/defaults/main.yml | 11 + roles/pacemaker_status/tasks/main.yml | 5 + roles/pacemaker_status/vars/main.yml | 2 + roles/rabbitmq_limits/tasks/main.yml | 2 +- roles/tripleo_haproxy/defaults/main.yml | 21 ++ .../tripleo_haproxy/molecule/default/converge.yml | 71 ++++ .../molecule/default}/molecule.yml | 0 roles/tripleo_haproxy/tasks/main.yml | 56 ++++ roles/validation_init/README.md | 47 --- roles/validation_init/defaults/main.yml | 25 ++ .../files/_skeleton_role_/defaults/main.yml.j2 | 7 + .../files/_skeleton_role_/handlers/main.yml | 15 - .../files/_skeleton_role_/vars/main.yml.j2 | 5 + .../validation_init/molecule/default/molecule.yml | 18 + .../molecule/no_molecule_test/converge.yml} | 25 +- .../molecule/no_molecule_test/molecule.yml | 21 ++ .../molecule/no_molecule_test/verify.yml | 72 ++++ .../default => resources/playbooks}/prepare.yml | 0 roles/validation_init/tasks/main.yml | 77 ++++- roles/validation_init/templates/README.md.j2 | 39 --- scripts/tripleo-ansible-inventory | 2 +- setup.cfg | 8 +- test-requirements.txt | 5 +- tox.ini | 7 +- .../test_check_cpus_aligned_with_dpdk_nics.py | 67 ++++ .../test_check_other_processes_pmd_usage.py | 116 +++++++ .../library/test_convert_range_to_numbers_list.py | 45 +++ .../library/test_pmd_threads_siblings_check.py | 120 +++++++ tripleo_validations/utils.py | 13 +- zuul.d/base.yaml | 15 + zuul.d/layout.yaml | 14 +- zuul.d/molecule.yaml | 314 +++++++++-------- 177 files changed, 5992 insertions(+), 1111 deletions(-)
Requirements updates --------------------
diff --git a/molecule-requirements.txt b/molecule-requirements.txt index c5a69f4..fad7d7a 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -2,3 +2,3 @@ -ansi2html -ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0 -jinja2>=2.8.0 +ansi2html>=1.6.0 # LGPLv3+ +ansible-core<2.12 # GPLv3+ +jinja2>=2.8.0 # BSD-3-Clause @@ -6,7 +6,7 @@ molecule>=3.3.1,<4 # MIT -molecule-podman # MIT -pytest -pytest-cov -pytest-html -pytest-xdist -selinux # MIT -lxml # BSD +molecule-podman>=0.3.0 # MIT +pytest>=6.2.4 # MIT +pytest-cov>=2.12.1 # MIT +pytest-html>=3.1.1 # MPL 2.0 +pytest-xdist>=2.3.0 # MIT +selinux>=0.2.1 # MIT +lxml>=4.6.3 # BSD diff --git a/requirements.txt b/requirements.txt index 4acdf4e..a015e68 100644 --- a/requirements.txt +++ b/requirements.txt @@ -17 +17 @@ tripleo-common>=7.1.0 # Apache-2.0 -setuptools>=50.3.0 +setuptools>=50.3.0 # MIT diff --git a/test-requirements.txt b/test-requirements.txt index fbb1c7e..77fda49 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -5,2 +5 @@ -openstackdocstheme>=2.2.1 # Apache-2.0 - +ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0 # GPLv3+ @@ -16 +15 @@ netaddr>=0.7.18 # BSD -pre-commit # MIT +pre-commit>=2.3.0 # MIT
participants (1)
-
no-reply@openstack.org