Add sanity checks to the baremetal overcloud and upgrades playbooks
When the deployed overcloud contains only a controller node it is not possible to test the overcloud with the validate-simple or tempest-related roles. https://review.openstack.org/#/c/429716/ add the sanity checks availble in Triple-CI to tripleo-quickstart-extras. This review adds the option to call the sanity check role in the baremetal and upgrade-baremetal playbooks. Change-Id: I49c866ddadf429bc299d54f301f06ab48756fe67
This commit is contained in:
parent
7861ec2cef
commit
9dbc27a2d4
@ -71,6 +71,16 @@
|
|||||||
debug: var=overcloud_deploy_result
|
debug: var=overcloud_deploy_result
|
||||||
failed_when: overcloud_deploy_result == "failed"
|
failed_when: overcloud_deploy_result == "failed"
|
||||||
|
|
||||||
|
# Execute sanity checks agsinst the overcloud deployment
|
||||||
|
- name: Sanity check the overcloud services
|
||||||
|
hosts: undercloud
|
||||||
|
tags:
|
||||||
|
- overcloud-validate
|
||||||
|
gather_facts: no
|
||||||
|
roles:
|
||||||
|
- { role: validate-sanity-checks,
|
||||||
|
when: run_sanity_checks|default(false)|bool }
|
||||||
|
|
||||||
# Validate the deployment
|
# Validate the deployment
|
||||||
- name: validate the overcloud
|
- name: validate the overcloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
@ -88,3 +98,4 @@
|
|||||||
gather_facts: no
|
gather_facts: no
|
||||||
roles:
|
roles:
|
||||||
- { role: validate-tempest, when: run_tempest|bool }
|
- { role: validate-tempest, when: run_tempest|bool }
|
||||||
|
|
||||||
|
@ -8,6 +8,17 @@
|
|||||||
roles:
|
roles:
|
||||||
- { role: overcloud-upgrade, deployment_type: baremetal }
|
- { role: overcloud-upgrade, deployment_type: baremetal }
|
||||||
|
|
||||||
|
# Execute sanity checks against the overcloud deployment
|
||||||
|
- name: Sanity check the overcloud services
|
||||||
|
hosts: undercloud
|
||||||
|
tags:
|
||||||
|
- overcloud-validate
|
||||||
|
gather_facts: no
|
||||||
|
roles:
|
||||||
|
- { role: validate-sanity-checks,
|
||||||
|
sanity_checks_log: validate_sanity_checks_upgraded.log,
|
||||||
|
when: run_sanity_checks|default(false)|bool }
|
||||||
|
|
||||||
# Validate the deployment
|
# Validate the deployment
|
||||||
- name: validate the overcloud
|
- name: validate the overcloud
|
||||||
hosts: undercloud
|
hosts: undercloud
|
||||||
|
Loading…
Reference in New Issue
Block a user