tripleo-validations 14.0.0 (wallaby)
We eagerly announce the release of: tripleo-validations 14.0.0: A collection of Ansible playbooks to detect and report potential issues during TripleO deployments This release is part of the wallaby 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. 14.0.0 ^^^^^^ Bug Fixes * Existing resources "DISK_GB", "MEMORY_MB", "VCPU" were not considered to be available in case of custom_resource_class_val == False, also use correct types for resource comparison and required_count calculation. Changes in tripleo-validations 13.0.0..14.0.0 --------------------------------------------- 949cc1c Remove useless __init__.py file in library e9b33ae Generate inventory without any overcloud cdae6dd Local var was redefining built-in range 02b1fcf Add tripleo-validations role for component testing db176c4 Add setuptools. b0f9444 Move tripleo validations CLI from tripleoclient to tripleo-validations repo 0e9fca1 Retire ceilometerdb-size validation bc31f76 Get the undercloud.conf file from where it actually is e490998 Restrict Ansible dependency 8ef9993 Update role-addition.yml playbook to manage molecule.yaml file again b8bb9a5 Remove workaround for broken dogpile.cache and lower-constraints file 99fdf8a Add validation to verify undercloud.conf content. 3221727 Fix conditionals/types in check_flavors and verify_profiles 5bf1427 Use the UBI8 image for testing dbde879 Make local molecule testing running. 6925f25 replace max_fds with sysctl call f721641 Replace deprecated UPPER_CONSTRAINTS_FILE variable f64d9c5 Add Python3 wallaby unit tests b05db44 Update master for stable/victoria Diffstat (except docs and test files) ------------------------------------- .../molecule/default/{Dockerfile.j2 => Dockerfile} | 0 _skeleton_role_/molecule/default/molecule.yml | 34 +- ansible-test-env.rc | 7 +- ansible.cfg | 2 +- bindep.txt | 3 + ci/playbooks/pre.yml | 79 +++- ci/playbooks/run-local.yml | 5 +- library/__init__.py | 0 library/check_flavors.py | 7 +- library/network_environment.py | 8 +- library/verify_profiles.py | 2 +- lower-constraints.txt | 117 ----- molecule-requirements.txt | 4 +- playbooks/ceilometerdb-size.yaml | 20 - playbooks/check-undercloud-conf.yaml | 15 + ...b-size-validation-removal-a5c42940eac102df.yaml | 5 + ...nsider_existing_resources-addc5b2527d9db1b.yaml | 6 + releasenotes/source/index.rst | 1 + releasenotes/source/victoria.rst | 6 + requirements.txt | 1 + roles/ceilometerdb_size/defaults/main.yml | 3 - .../molecule/default/molecule.yml | 49 -- roles/ceilometerdb_size/tasks/main.yml | 39 -- roles/ceilometerdb_size/vars/main.yml | 12 - .../molecule/ceph-ansible-installed/molecule.yml | 36 +- .../molecule/ceph-ansible-installed/prepare.yml | 2 +- roles/ceph/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 21 +- .../molecule/default/Dockerfile | 2 +- .../molecule/default/converge.yml | 7 +- .../molecule/default/molecule.yml | 34 +- .../molecule/default/prepare.yml | 36 +- roles/check_network_gateway/tasks/main.yml | 17 +- .../molecule/default/molecule.yml | 26 +- .../molecule/rhsm_mismatch/molecule.yml | 28 +- .../check_undercloud_conf/defaults/main.yml | 26 ++ .../molecule/config_OK/Dockerfile.j2 | 37 ++ .../molecule/config_OK/converge.yml | 45 ++ .../molecule/config_OK/molecule.yml | 51 +++ .../molecule/config_OK/prepare.yml | 65 +++ .../molecule/default/Dockerfile.j2 | 37 ++ .../molecule/default/converge.yml | 55 +++ .../molecule/default/molecule.yml | 51 +++ .../molecule/default/prepare.yml} | 22 +- .../molecule/deprecated_drivers/Dockerfile.j2 | 37 ++ .../molecule/deprecated_drivers/converge.yml | 71 +++ .../molecule/deprecated_drivers/molecule.yml | 51 +++ .../molecule/deprecated_drivers/prepare.yml | 65 +++ .../molecule/deprecated_params/Dockerfile.j2 | 37 ++ .../molecule/deprecated_params/converge.yml | 61 +++ .../molecule/deprecated_params/molecule.yml | 51 +++ .../molecule/deprecated_params/prepare.yml | 51 +++ .../molecule/required_missing/Dockerfile.j2 | 37 ++ .../molecule/required_missing/converge.yml | 71 +++ .../molecule/required_missing/molecule.yml | 51 +++ .../molecule/required_missing/prepare.yml | 63 +++ roles/check_undercloud_conf/tasks/check_syntax.yml | 46 ++ roles/check_undercloud_conf/tasks/main.yml | 69 +++ .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../container_status/molecule/default/molecule.yml | 34 +- roles/container_status/tasks/main.yaml | 13 +- .../molecule/default/Dockerfile} | 0 .../controller_token/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/converge.yml | 34 +- .../molecule/default/molecule.yml | 34 +- .../ctlplane_ip_range/molecule/default/prepare.yml | 27 +- roles/ctlplane_ip_range/tasks/main.yml | 15 +- .../molecule/default/Dockerfile} | 0 .../dhcp_validations/molecule/default/molecule.yml | 34 +- .../dhcp_validations/tasks/dhcp-provisioning.yaml | 11 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/image_serve/molecule/default/molecule.yml | 41 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- roles/neutron_sanity_check/tasks/main.yml | 13 +- .../molecule/default/Dockerfile} | 0 roles/node_disks/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/node_health/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/nova_status/molecule/default/molecule.yml | 34 +- roles/nova_svirt/molecule/default/molecule.yml | 34 +- roles/nova_svirt/molecule/default/prepare.yml | 5 + .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/ovs_dpdk_pmd/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../pacemaker_status/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../package_version/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../rabbitmq_limits/molecule/default/molecule.yml | 34 +- roles/rabbitmq_limits/tasks/main.yml | 2 +- .../molecule/default/Dockerfile} | 0 roles/repos/molecule/default/molecule.yml | 33 +- roles/repos/molecule/default/verify.yml | 15 - .../molecule/default/Dockerfile} | 0 roles/stack_health/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/stonith_exists/molecule/default/molecule.yml | 33 +- .../molecule/default/Dockerfile} | 0 roles/switch_vlans/molecule/default/molecule.yml | 34 +- .../system_encoding/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 roles/tls_everywhere/molecule/default/molecule.yml | 34 +- roles/tls_everywhere/tasks/pre-deployment.yaml | 15 +- roles/tls_everywhere/tasks/prep.yaml | 18 +- roles/tripleo_validations/defaults/main.yml | 25 ++ roles/tripleo_validations/tasks/main.yml | 16 + roles/tripleo_validations/tasks/run.yml | 42 ++ roles/tripleo_validations/tasks/test_script.yml | 13 + roles/tripleo_validations/vars/main.yml | 18 + .../molecule/default/Dockerfile} | 0 .../undercloud_debug/molecule/default/molecule.yml | 34 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 33 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/converge.yml | 3 +- .../molecule/default/molecule.yml | 38 +- .../molecule/default/prepare.yml | 35 +- roles/undercloud_heat_purge_deleted/tasks/main.yml | 12 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/molecule.yml | 34 +- roles/undercloud_process_count/tasks/main.yml | 13 +- .../molecule/default/Dockerfile} | 0 .../molecule/default/converge.yml | 3 +- .../molecule/default/molecule.yml | 38 +- .../molecule/default/prepare.yml | 18 +- .../Dockerfile} | 0 .../non-persistent-token-format/Dockerfile.j2 | 37 -- .../non-persistent-token-format/molecule.yml | 38 +- roles/undercloud_tokenflush/tasks/main.yml | 13 +- scripts/run-local-test | 5 +- scripts/tripleo-ansible-inventory | 47 +- setup.cfg | 13 + test-requirements.txt | 5 - tox.ini | 9 +- tripleo_validations/constants.py | 39 ++ tripleo_validations/plugin.py | 55 +++ tripleo_validations/tripleo_validator.py | 494 +++++++++++++++++++++ tripleo_validations/utils.py | 29 +- zuul.d/base.yaml | 15 + zuul.d/layout.yaml | 38 ++ .zuul.yaml => zuul.d/molecule.yaml | 226 ++++------ 168 files changed, 3586 insertions(+), 1373 deletions(-) Requirements updates -------------------- diff --git a/molecule-requirements.txt b/molecule-requirements.txt index 24b4e83..ebd0bdd 100644 --- a/molecule-requirements.txt +++ b/molecule-requirements.txt @@ -3,3 +3 @@ ansi2html -ansible -# https://github.com/sqlalchemy/dogpile.cache/issues/178 -dogpile.cache>=0.6.5,<0.9.1 # MIT +ansible>=2.8,!=2.8.9,!=2.9.12,<2.10.0 diff --git a/requirements.txt b/requirements.txt index db20f49..4acdf4e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -16,0 +17 @@ tripleo-common>=7.1.0 # Apache-2.0 +setuptools>=50.3.0 diff --git a/test-requirements.txt b/test-requirements.txt index 8cc6aea..81ee12b 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -6,5 +5,0 @@ openstackdocstheme>=2.2.1 # Apache-2.0 -hacking>=3.0.1,<3.1.0 # Apache-2.0 -# remove this pyflakes from here once you bump the -# hacking to 3.2.0 or above. hacking 3.2.0 takes -# care of pyflakes version compatibilty. -pyflakes>=2.1.1
participants (1)
-
no-reply@openstack.org