[release-announce] tripleo-validations 10.5.1 (stein)

no-reply at openstack.org no-reply at openstack.org
Wed Sep 11 14:33:40 UTC 2019


We joyfully announce the release of:

tripleo-validations 10.5.1: A collection of Ansible playbooks to
detect and report potential issues during TripleO deployments

This release is part of the stein stable 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.

10.5.1
^^^^^^


New Features
************

* The behavior of the "ironic-boot-configuration" validation has
  changed in order to suppport multi-arch. It now checks that each
  node has the correct associated ramdisk and kernel image according
  to the node's architecture and platform, and, when it does appear
  that the correct image is associated, checks that there is only one
  image in Glance with that name. Also, the vars "deploy_kernel_name"
  and "deploy_ramdisk_name" have changed to "deploy_kernel_name_base"
  and "deploy_ramdisk_name_base" respectively.


Other Notes
***********

* The "deployment-images" validation has been removed, as its
  intended functionality became inseparable from "ironic-boot-
  configuration" in the multi-arch case.

Changes in tripleo-validations 10.5.0..10.5.1
---------------------------------------------

4c795bb Set undercloud-connection to local by default
e62b8ee Pass undercloud_connection in TripleoInventory instantiation.
83f84fa Add undercloud-key-file and ssh_network options.
77085bb Adds molecule tests to image-serve and correct validation
a522405 Adds molecule tests for the nova-status validation
95fbe0b Adding molecule tests for no-op-firewall-nova-driver validation
93bee0f Convert tox to native zuul
0e5c743 Add molecule tests for the undercloud-cpu role
4d309d8 Linting hardening with pre-commit
7b25908 Use custom Ceph cluster name in validations
80a9f7b Simplifying the check of the latest package version validation
6af82c1 Add autodocumentation for roles and library
8864196 Adding new role automation with Ansible
65395ba Corrected how hiera is installed
6d3c81e Adds molecule tests for ctlplane-ip-range validation
110d27f Adds molecule tests for undercloud-disk-space
8ac7e8d Adds molecule testing for DNS validation
0386bc2 Adds molecule testing for controller-token
b7db8b3 Adds molecule testing for controller-ulimits
f8366f7 Adds Molecule to haproxy validation role
3e513ca Add molecule testing on undercloud-debug role
0115ab6 Correct "repos" validation and adds Molecule tests
23dd988 Make Verify the RAM requirements task failing again
c7923e0 Add Molecule tests for the role xfs-check-ftype.
ee5b42e Add Molecule tests for the role undercloud-ram.
87c2939 New validation: ensure services status
000718f Enable fact gathering for needed validations
23ebc8a Support multi-arch in deploy image validations
7aa56fa Fix unittests for Stein
f3fe208 Use ansible_pkg_mgr fact instead of hardcoding yum command
4bdb3b6 Fix variables indentation for ceph-health validation
297abf1 Remove useless roles meta directory
dbc943d Remove useless cookiecutter files


Diffstat (except docs and test files)
-------------------------------------

.ansible-lint                                      |   4 +
.pre-commit-config.yaml                            |  22 +-
.../defaults/main.yml.j2                           |  22 +-
_skeleton_role_/handlers/main.yml                  |  15 +
_skeleton_role_/molecule/default/Dockerfile.j2     |  38 +++
_skeleton_role_/molecule/default/molecule.yml      |  49 ++++
_skeleton_role_/molecule/default/playbook.yml.j2   |  22 ++
_skeleton_role_/molecule/default/verify.yml        |  15 +
_skeleton_role_/tasks/main.yml.j2                  |  18 ++
_skeleton_role_/vars/main.yml.j2                   |  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/__init__.py                                |   0
library/check_flavors.py                           |   4 +-
library/check_ironic_boot_config.py                | 188 ++++++++++++
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 +-
molecule-requirements.txt                          |  10 +
playbooks/ceph-health.yaml                         |   4 +-
playbooks/check-latest-minor-version.yaml          |  12 -
playbooks/check-latest-packages-version.yaml       |  13 +
playbooks/deployment-images.yaml                   |  16 -
playbooks/ironic-boot-configuration.yaml           |   4 +-
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 +
...loyment-images_multi-arch-031eea343453e67c.yaml |  16 +
...p-range-validation-result-daddc8c015dd34c0.yaml |   2 +-
role-addition.yml                                  |  91 ++++++
roles/ceilometerdb-size/meta/main.yml              |  28 --
roles/ceph/meta/main.yml                           |  27 --
roles/ceph/tasks/ceph-health.yaml                  |  10 +-
roles/check-latest-minor-version/meta/main.yml     |  27 --
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 +
roles/check-network-gateway/meta/main.yml          |  27 --
.../meta/main.yml                                  |  27 --
.../containerized-undercloud-docker/meta/main.yml  |  27 --
roles/controller-token/meta/main.yml               |  27 --
.../molecule/default/Dockerfile.j2                 |  37 +++
.../controller-token/molecule/default/molecule.yml |  47 +++
.../controller-token/molecule/default/playbook.yml |  53 ++++
roles/controller-ulimits/meta/main.yml             |  27 --
.../molecule/default/Dockerfile.j2                 |  37 +++
.../molecule/default/molecule.yml                  |  49 ++++
.../molecule/default/playbook.yml                  |  43 +++
roles/ctlplane-ip-range/meta/main.yml              |  27 --
.../molecule/default/Dockerfile.j2                 |  37 +++
.../molecule/default/molecule.yml                  |  47 +++
.../molecule/default/playbook.yml                  |  83 ++++++
.../ctlplane-ip-range/molecule/default/prepare.yml |  49 ++++
roles/default-node-count/meta/main.yml             |  27 --
roles/deployment-images/defaults/main.yml          |   3 -
roles/deployment-images/meta/main.yml              |  27 --
roles/deployment-images/tasks/main.yml             |  22 --
roles/deployment-images/vars/main.yml              |  10 -
roles/dhcp-validations/meta/main.yml               |  28 --
roles/dns/meta/main.yml                            |  28 --
roles/dns/molecule/default/Dockerfile.j2           |  37 +++
roles/dns/molecule/default/molecule.yml            |  46 +++
roles/dns/molecule/default/playbook.yml            |  47 +++
roles/haproxy/meta/main.yml                        |  28 --
roles/haproxy/molecule/default/Dockerfile.j2       |  36 +++
roles/haproxy/molecule/default/molecule.yml        |  47 +++
roles/haproxy/molecule/default/playbook.yml        |  71 +++++
roles/image-serve/meta/main.yaml                   |  28 --
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  |   4 +-
roles/ironic-boot-configuration/meta/main.yml      |  27 --
roles/ironic-boot-configuration/tasks/main.yml     |  33 +--
roles/mysql-open-files-limit/meta/main.yml         |  27 --
roles/network-environment/meta/main.yml            |  27 --
roles/neutron-sanity-check/meta/main.yml           |  28 --
roles/no-op-firewall-nova-driver/defaults/main.yml |   2 +
roles/no-op-firewall-nova-driver/meta/main.yml     |  27 --
.../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/no-op/meta/main.yml                          |  27 --
roles/node-disks/meta/main.yml                     |  27 --
roles/node-health/meta/main.yml                    |  27 --
roles/nova-event-callback/meta/main.yml            |  27 --
roles/nova-status/meta/main.yml                    |  27 --
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 +-
roles/openshift-on-openstack/meta/main.yml         |  28 --
.../tasks/openshift-hw-requirements.yaml           |  10 +-
roles/openstack-endpoints/meta/main.yml            |  27 --
roles/ovs-dpdk-pmd/meta/main.yml                   |  28 --
roles/pacemaker-status/meta/main.yml               |  28 --
roles/rabbitmq-limits/meta/main.yml                |  28 --
roles/repos/meta/main.yml                          |  27 --
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                         |  22 +-
.../meta/main.yml                                  |   0
roles/service-status/tasks/main.yaml               |  16 +
roles/stack-health/meta/main.yml                   |  27 --
roles/stonith-exists/meta/main.yml                 |  27 --
roles/switch-vlans/meta/main.yml                   |  27 --
roles/undercloud-cpu/meta/main.yml                 |  28 --
.../undercloud-cpu/molecule/default/Dockerfile.j2  |  37 +++
roles/undercloud-cpu/molecule/default/molecule.yml |  46 +++
roles/undercloud-cpu/molecule/default/playbook.yml |  42 +++
roles/undercloud-debug/meta/main.yml               |  27 --
.../molecule/default/Dockerfile.j2                 |  37 +++
.../undercloud-debug/molecule/default/molecule.yml |  47 +++
.../undercloud-debug/molecule/default/playbook.yml |  58 ++++
roles/undercloud-disk-space/meta/main.yml          |  28 --
.../molecule/default/Dockerfile.j2                 |  37 +++
.../molecule/default/molecule.yml                  |  46 +++
.../molecule/default/playbook.yml                  |  44 +++
roles/undercloud-heat-purge-deleted/meta/main.yml  |  28 --
roles/undercloud-process-count/meta/main.yml       |  27 --
roles/undercloud-ram/meta/main.yml                 |  27 --
.../undercloud-ram/molecule/default/Dockerfile.j2  |  37 +++
roles/undercloud-ram/molecule/default/molecule.yml |  46 +++
roles/undercloud-ram/molecule/default/playbook.yml |  42 +++
roles/undercloud-ram/tasks/main.yml                |   3 +-
roles/undercloud-selinux-mode/defaults/main.yml    |   1 -
roles/undercloud-selinux-mode/meta/main.yml        |  28 --
roles/undercloud-service-status/meta/main.yml      |  28 --
roles/undercloud-tokenflush/meta/main.yml          |  28 --
roles/xfs-check-ftype/meta/main.yml                |  27 --
.../xfs-check-ftype/molecule/default/Dockerfile.j2 |  37 +++
.../xfs-check-ftype/molecule/default/molecule.yml  |  48 +++
.../xfs-check-ftype/molecule/default/playbook.yml  |  21 ++
roles/xfs-check-ftype/molecule/default/prepare.yml |  60 ++++
roles/xfs-check-ftype/molecule/default/verify.yml  |  15 +
scripts/bindep-install                             |  45 +++
scripts/run-local-test                             |  70 +++++
scripts/tripleo-ansible-inventory                  |  10 +-
test-requirements.txt                              |   1 +
tools/releasenotes_tox.sh                          |   3 +-
tools/validate-files.py                            |   1 +
tox.ini                                            | 129 ++++++--
validations/callback_plugins/validation_output.py  |   5 +-
validations/files/rogue_dhcp.py                    |   5 +-
validations/library/docker_facts.py                |   8 +-
validations/library/ini.py                         |   1 +
validations/lookup_plugins/ironic_nodes.py         |   7 +-
validations/lookup_plugins/nova_servers.py         |  10 +-
zuul.d/base.yaml                                   |  21 ++
zuul.d/layout.yaml                                 |  31 +-
zuul.d/molecule.yaml                               | 136 +++++++++
zuul.d/playbooks/pre.yml                           |  28 ++
zuul.d/playbooks/run-local.yml                     |  13 +
zuul.d/playbooks/run.yml                           |  19 ++
265 files changed, 4958 insertions(+), 1599 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/test-requirements.txt b/test-requirements.txt
index 25a16ff..98d36dd 100644
--- a/test-requirements.txt
+++ b/test-requirements.txt
@@ -17,0 +18 @@ netaddr>=0.7.18 # BSD
+pre-commit # MIT






More information about the Release-announce mailing list