df408ef9d3
dstat async task with poll=0 should fire and forget, with 1 sec max limit for the shell to run and send its process to bg. The change includes: - Ignore errors on dstat play. - Enable dstat only when tempest runs. - Kills dstat before parsing logs and creating charts. - Remove dstat_count. Closes-Bug: #1760917 Change-Id: I9ee407e8274f3ab6c3aea3650a25cd31772a81d6
48 lines
1.1 KiB
YAML
48 lines
1.1 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: no
|
|
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: no
|
|
roles:
|
|
- { role: validate-simple, when: test_ping|bool }
|
|
|
|
# Execute tempest against the overcloud deployment
|
|
- name: Execute tempest against the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-validate
|
|
gather_facts: no
|
|
roles:
|
|
- { role: validate-tempest, when: run_tempest|bool }
|
|
|
|
- name: Delete the overcloud
|
|
hosts: undercloud
|
|
tags:
|
|
- overcloud-delete
|
|
gather_facts: no
|
|
roles:
|
|
- { role: overcloud-delete,
|
|
when: step_delete_overcloud|default(false)|bool }
|
|
|