b15f186003
In order to run os_tempest on FS039, os_tempest playbook i.e. tempest.yaml needs to be called during baremetal full overcloud validate step. This patch enables the same. https://tree.taiga.io/project/tripleo-ci-board/task/795 Change-Id: I287e7eb8c94c6af3d243235e25fd8aa060214b13 Signed-off-by: Chandan Kumar <chkumar@redhat.com>
62 lines
1.5 KiB
YAML
62 lines
1.5 KiB
YAML
---
|
|
# Execute sanity checks agsinst the overcloud deployment
|
|
- name: setup dstat performance monitoring
|
|
hosts: overcloud
|
|
tags:
|
|
- overcloud-validate
|
|
roles:
|
|
- {role: validate-perf,
|
|
when: validate_performance|bool and run_tempest|bool}
|
|
ignore_errors: true
|
|
|
|
- name: Sanity check the overcloud services
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: false
|
|
roles:
|
|
- {role: validate-sanity-checks,
|
|
when: run_sanity_checks|default(false)|bool}
|
|
|
|
# Validate the deployment
|
|
- name: validate the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: false
|
|
roles:
|
|
- {role: validate-simple, when: test_ping|bool}
|
|
|
|
# Execute tempest using validate-tempest against the overcloud deployment
|
|
- name: Execute tempest against the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: false
|
|
roles:
|
|
- {role: validate-tempest, when: run_tempest|bool}
|
|
|
|
# Execute tempest using os_tempest against the overcloud deployment
|
|
- name: Validate the deployment
|
|
hosts: undercloud
|
|
tasks:
|
|
- include_tasks: tempest.yml
|
|
vars:
|
|
tempest_install_method: distro
|
|
tempest_cloud_name: 'overcloud'
|
|
when:
|
|
- not run_tempest|bool
|
|
- use_os_tempest is defined
|
|
- use_os_tempest|bool
|
|
tags:
|
|
- overcloud-validate
|
|
|
|
- name: Delete the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-delete
|
|
gather_facts: false
|
|
roles:
|
|
- {role: overcloud-delete,
|
|
when: step_delete_overcloud|default(false)|bool}
|