tripleo-quickstart-extras/playbooks/upgrade-baremetal.yml
Ronelle Landy 9dbc27a2d4 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
2017-02-16 10:43:16 -05:00

30 lines
789 B
YAML

---
# Upgrade Undercloud and Overcloud on top of a quickstart Baremetal deployment
- include: baremetal-full-deploy.yml
- name: Upgrade Tripleo
hosts: undercloud
gather_facts: no
roles:
- { 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
- name: validate the overcloud
hosts: undercloud
tags:
- overcloud-validate
gather_facts: no
roles:
- { role: validate-simple, when: test_ping|bool }