diff --git a/config/general_config/featureset004.yml b/config/general_config/featureset004.yml index 7eba344a6..0092dacfa 100644 --- a/config/general_config/featureset004.yml +++ b/config/general_config/featureset004.yml @@ -3,14 +3,6 @@ ssl_overcloud: false test_ping: true deployed_server: true -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - composable_scenario: multinode.yaml composable_services: false # Use default test template diff --git a/config/general_config/featureset005.yml b/config/general_config/featureset005.yml index 2437f7586..e97c00bcb 100644 --- a/config/general_config/featureset005.yml +++ b/config/general_config/featureset005.yml @@ -1,14 +1,6 @@ undercloud_generate_service_certificate: false enable_opstools_repo: true -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - deployed_server: true composable_scenario: scenario001-multinode.yaml composable_roles: true diff --git a/config/general_config/featureset006.yml b/config/general_config/featureset006.yml index 059f5fa6c..0f157c3d7 100644 --- a/config/general_config/featureset006.yml +++ b/config/general_config/featureset006.yml @@ -1,13 +1,5 @@ undercloud_generate_service_certificate: false -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - # pacemaker settings are configured in the scenario template # do not set `enable_pacemaker` in the featureset diff --git a/config/general_config/featureset007.yml b/config/general_config/featureset007.yml index f9c6cf006..74f69c72c 100644 --- a/config/general_config/featureset007.yml +++ b/config/general_config/featureset007.yml @@ -1,13 +1,5 @@ undercloud_generate_service_certificate: false -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - # pacemaker settings are configured in the scenario template # do not set `enable_pacemaker` in the featureset diff --git a/config/general_config/featureset008.yml b/config/general_config/featureset008.yml index 233f91e79..c7a96d42b 100644 --- a/config/general_config/featureset008.yml +++ b/config/general_config/featureset008.yml @@ -1,13 +1,5 @@ undercloud_generate_service_certificate: false -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - # pacemaker settings are configured in the scenario template # do not set `enable_pacemaker` in the featureset diff --git a/config/general_config/featureset010.yml b/config/general_config/featureset010.yml index e8c4370b3..608c48de1 100644 --- a/config/general_config/featureset010.yml +++ b/config/general_config/featureset010.yml @@ -25,14 +25,6 @@ undercloud_generate_service_certificate: false # This enables the deployment of the overcloud with SSL. ssl_overcloud: false -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: true -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: true -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - composable_roles: true overcloud_roles: - name: Controller diff --git a/config/general_config/featureset036.yml b/config/general_config/featureset036.yml index 392095de0..2a958bc45 100644 --- a/config/general_config/featureset036.yml +++ b/config/general_config/featureset036.yml @@ -10,14 +10,6 @@ use_os_tempest: false test_white_regex: '' -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: false -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: false -# Exit tripleo-quickstart on validations failure -exit_on_validations_failure: false - deployed_server: true composable_scenario: scenario002-multinode.yaml upgrade_composable_scenario: scenario002-multinode-containers.yaml diff --git a/config/general_config/featureset037.yml b/config/general_config/featureset037.yml index 2a7857975..47aa53343 100644 --- a/config/general_config/featureset037.yml +++ b/config/general_config/featureset037.yml @@ -38,10 +38,6 @@ containerized_overcloud: true undercloud_generate_service_certificate: false ssl_overcloud: false -run_tripleo_validations: false -run_tripleo_validations_negative_tests: false -exit_on_validations_failure: false - # extra testing disabled for now, may be enabled later depending on # job run time test_ping: false diff --git a/config/general_config/featureset051.yml b/config/general_config/featureset051.yml index d809da2dc..22e48df93 100644 --- a/config/general_config/featureset051.yml +++ b/config/general_config/featureset051.yml @@ -61,9 +61,6 @@ overcloud_ssh_user: >- # Mandatory for deployed_servers tripleo_upgrade_validations_non_fatal: true -run_tripleo_validations: false -run_tripleo_validations_negative_tests: false -exit_on_validations_failure: false # options below direct automatic doc generation by tripleo-collect-logs artcl_gen_docs: true artcl_create_docs_payload: diff --git a/config/general_config/minimal.yml b/config/general_config/minimal.yml index 4138fc21e..0e53795d7 100644 --- a/config/general_config/minimal.yml +++ b/config/general_config/minimal.yml @@ -13,11 +13,6 @@ overcloud_templates_path: /usr/share/openstack-tripleo-heat-templates undercloud_templates_path: /usr/share/openstack-tripleo-heat-templates step_introspect: true -# Disable validations and its negative tests -run_tripleo_validations: false -run_tripleo_validations_negative_tests: false - - # This enables container deployements after Pike containerized_overcloud: >- {% if release in ['newton', 'ocata', 'pike'] -%} diff --git a/doc/source/index.rst b/doc/source/index.rst index e534786ab..bf52dc68e 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -19,7 +19,6 @@ Contents: devmode devmode-ovb design - validations contributing working-with-extras rhosp diff --git a/doc/source/validations.rst b/doc/source/validations.rst deleted file mode 100644 index 4186a70ba..000000000 --- a/doc/source/validations.rst +++ /dev/null @@ -1,70 +0,0 @@ -TripleO-Validations -=================== - -Introduction to TripleO-Validations ------------------------------------ - -This is a collection of Ansible playbooks to detect and report potential issues -during TripleO deployments. - -The validations will help to 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. - -* Free software: Apache license -* Source: https://opendev.org/openstack/tripleo-validations -* Bugs: https://bugs.launchpad.net/tripleo/+bugs?field.tag=validations - -Running TripleO-Validations using TripleO-Quickstart ----------------------------------------------------- - -TripleO-Quickstart allows you to run TripleO-Validations through the two ways of -execution (according to the introduction above). The first one is using the -`Mistral framework` and will run all the validations tests by group. The second -one is using `Ansible` directly and the goal is to run negative tests. Both are -launched through shell scripts and these scripts will be available in the -undercloud in the home directory of the unprivileged account created by -TripleO-Quickstart (by default the ``stack`` user). - -Running Validations tests through Mistral -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -To enable TripleO-Validations run using `Mistral`, you need to set the -``run_tripleo_validations`` variable to ``True``. By default this variable -is set to ``False``. - -By Default, Tripleo-Quickstart won't fail when a validations test will fail. -If you want to disable this behaviour, you just need to set the -``exit_on_validations_failure`` to ``True``. - -.. WARNING:: - Note that for most of these validations, a failure does not mean that - you’ll be unable to deploy or run OpenStack. But it can indicate potential - issues with long-term or production setups. If you’re running an environment - for developing or testing TripleO, it’s okay that some validations fail. - In a production setup they should not. - -To run them manually, you can run the ``run-tripleo-validations.sh``. This script -takes the name of validation group as an argument:: - - $ bash ./run-tripleo-validations.sh [pre-introspection|pre-deployment|post-deployment] - -For more informations about each validations tests owning to these groups, you -can read: - -- `pre-introspection group `__ -- `pre-deployment group `__ -- `post-deployment group `__ - -.. NOTE:: - If you want to know more about running a single or a group of validations, please - take a look at the ``__ - -Running Negative tests using Ansible -^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ -To enable negative tests run using `Ansible`, you need to set the -``run_tripleo_validations_negative_tests`` variable to ``True``. By default -this variable is set to ``False``. diff --git a/fs-matrix.py b/fs-matrix.py index 634dfaced..75ea1f56d 100644 --- a/fs-matrix.py +++ b/fs-matrix.py @@ -56,7 +56,6 @@ features_map = { 'ffu_overcloud_upgrade': ['true', 'UPGff', 'Fast-forward Overcloud Upgrade'], 'standalone_role': ['Standalone.yaml', 'Stdln', 'Standalone Deploy'], - 'run_tripleo_validations': ['true', 'Valid', 'Validations'], 'test_ping': ['true', 'PingT', 'Ping and ssh tests'], 'run_tempest': ['true', 'Temps', 'run Tempest'], 'composable_scenario': ['', 'Scen#', 'Scenario ###'], diff --git a/roles/common/defaults/main.yml b/roles/common/defaults/main.yml index 43dd9eea8..e53735a6e 100644 --- a/roles/common/defaults/main.yml +++ b/roles/common/defaults/main.yml @@ -243,14 +243,6 @@ non_root_chown: false # This variable is set to true in config/environments/default_libvirt.yml enable_port_forward_for_tripleo_ui: false -# This enables the run of several tripleo-validations tests through Mistral -run_tripleo_validations: false -# This enables the run of tripleo-validations negative tests through shell -# scripts -run_tripleo_validations_negative_tests: false -# Exit tripleo-quickstart on validations failures -exit_on_validations_failure: false - # Update undercloud and overcloud images with the repos provided via the # release config. update_images: false