tripleo-quickstart-extras/roles/validate-sanity-checks
Sorin Sbarnea 72141b7fab Adopt yamllint strict linting
Upgrades yamllint to latest version and adots use of its strict
checking.

Fix all known problems reported by yamllint so we don't have to do
that while touching these files.

Change-Id: I4bdc520d9e2aff086c4b463718bc1e053261a4f5
Story: https://tree.taiga.io/project/tripleo-ci-board/task/381
2018-11-26 12:37:21 +00:00
..
defaults Implement overcloud sanity checks role 2017-02-22 20:14:09 +00:00
meta Adopt yamllint strict linting 2018-11-26 12:37:21 +00:00
tasks Add pipefail to each command that piped with timestamp 2017-03-26 19:49:32 +03:00
templates Implement overcloud sanity checks role 2017-02-22 20:14:09 +00:00
README.md Implement overcloud sanity checks role 2017-02-22 20:14:09 +00:00

README.md

Validate-Sanity-Checks

This role provides a script for executing sanity checks on an overcloud deployment. The role creates basic checks using openstack CLI depending on the services enabled on the overcloud deployment. These sanity checks are useful when a full overcloud is not deployed and the overcloud validation roles cannot be run.

Requirements

This role requires that the overcloud is deployed and the services of interest are available for testing.

Role Variables

  • sanity_content_name: <sanity_test> - The sanity tests to be run in checks
  • sanity_scripts: <validate-sanity-checks.sh.j2> - Script to create the sanity checks tests
  • sanity_checks_log: <validate_sanity_test.log> - Log file to store the output of the sanity checks
  • sanitytest_create: - Boolean variable whether to create the artifacts to test enabled services
  • sanitytest_cleanup: - Boolean variable whether to clean up the artifacts created by the sanity checks
  • sanity_step_sanity_checks: - Boolean variable whether to execute the sanity checks test

Dependencies

No dependencies.

Example Playbook

# Execute sanity checks against the overcloud deployment
- name: Sanity check the overcloud services
  hosts: undercloud
  roles:
    - { role: validate-sanity-checks,  when: run_sanity_checks|bool}

License

Apache 2.0

Author Information

TripleO CI Team