RETIRED, A collection of Ansible playbooks to detect and report potential issues during TripleO deployments
Go to file
Cédric Jeanneret 1c03c9fc56 New validation: ensure we have access to the right package version
This validation takes a list of dict describing the packages we want to
verify.
The main goal is to ensure we are avoiding issues at some point with
particularly sensitive packages, such as podman.

We can't use the "package_facts" ansible module, since we're allowing to
check available packages - i.e. versions that aren't installed on the
system.

With the current default, we ensure we get podman 1.6.4 on every nodes
(overcloud and undercloud).
This can be used during an upgrade in order to ensure we're not using
the wrong podman version - either as an inflight validation, or as a
manual step.

Also, it supports the full version number, with the release itself.

This means you can pass "1.6.4-15" for podman, in order to ensure you
get the precise version you want.

Please check the molecule tests in order to see how this validation can
be used.

Please note, the "yum list" part is slow since it will check on the
remote repositories for the available versions!

Last note, we're using "yum" here since the validation might be needed
on pre-dnf releases (namely, centos-7 or rhel-7).

Change-Id: I021a7ad03902ca506885769c1cadc4a449bebbfb
2020-08-24 07:44:44 +02:00
.ansible-lint_rules Add custom ansible-lint rule for Role Names 2020-02-19 09:02:18 +01:00
_skeleton_role_ Convert all of the fedora28 container usage to CentOS8 2020-03-30 06:54:09 +02:00
callback_plugins Stop to use the __future__ module. 2020-06-02 21:05:42 +02:00
doc New validation: ensure we have access to the right package version 2020-08-24 07:44:44 +02:00
library Stop to use the __future__ module. 2020-06-02 21:05:42 +02:00
lookup_plugins Linting hardening with pre-commit 2019-08-06 15:21:25 +02:00
playbooks New validation: ensure we have access to the right package version 2020-08-24 07:44:44 +02:00
releasenotes Switch to newer openstackdocstheme and reno versions 2020-06-03 20:43:22 +02:00
roles New validation: ensure we have access to the right package version 2020-08-24 07:44:44 +02:00
scripts Ensures script is executable 2020-07-24 10:33:25 +02:00
tests Remove the useless pytest import. 2020-05-15 11:49:46 +02:00
tools Migrate molecule jobs from centos 7 to 8 2020-03-27 07:38:58 +00:00
tripleo_validations Remove mock as test requirement 2020-07-13 10:20:07 +02:00
zuul.d New validation: ensure we have access to the right package version 2020-08-24 07:44:44 +02:00
.ansible-lint Validate the playboooks metadata structure 2020-01-13 14:03:10 +01:00
.coveragerc Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.gitignore Add Ansible specific files to .gitignore 2017-10-06 13:31:28 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:30:05 +00:00
.mailmap Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.pre-commit-config.yaml Removed workaround for ansible-lint issue 2019-12-09 16:44:34 +00:00
.testr.conf Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
.yamllint Validate the playboooks metadata structure 2020-01-13 14:03:10 +01:00
CONTRIBUTING.rst Update the bugs link to storyboard 2019-01-10 14:21:08 +00:00
HACKING.rst Update the doc links to the newest ones 2018-03-14 01:19:54 -07:00
LICENSE Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
MANIFEST.in Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
README.rst Documentation update with the new validations architecture 2019-06-21 11:09:28 +02:00
ansible-test-env.rc Convert tox to native zuul 2019-08-09 09:24:17 +02:00
ansible.cfg Add a validation-specific Ansible output callback 2016-10-13 14:37:42 +02:00
babel.cfg Initial Cookiecutter Commit. 2016-05-27 15:00:12 +02:00
bindep.txt Migrate molecule jobs from centos 7 to 8 2020-03-27 07:38:58 +00:00
groups.yaml Add pre/post ceph validation groups 2020-01-14 14:18:45 +00:00
hosts.sample Documentation how validations work 2016-08-01 15:20:52 +02:00
lower-constraints.txt Add new dependency for the tests: lxml 2020-08-05 16:43:59 +02:00
molecule-requirements.txt Add new dependency for the tests: lxml 2020-08-05 16:43:59 +02:00
requirements.txt tripleo-validations failing on lower constraints 2020-03-27 07:37:53 +00:00
role-addition.yml Correct role name in generated playbook 2020-08-05 13:30:23 +02:00
setup.cfg Update python version. 2020-05-26 12:28:40 +02:00
setup.py Cleanup py27 support 2020-04-13 19:03:51 +02:00
test-requirements.txt Remove mock as test requirement 2020-07-13 10:20:07 +02:00
tox.ini Update python version. 2020-05-26 12:28:40 +02:00

README.rst

Team and repository tags

image

TripleO Validations

A collection of Ansible roles and playbooks to detect and report potential issues during TripleO deployments.

The validations will help detect issues early in the deployment process and prevent field engineers from wasting time on misconfiguration or hardware issues in their environments.

All validations are written in Ansible and are written in a way that's consumable by the Mistral validation framework or by Ansible directly. They are available independently from the UI or the command line client.