Run dstat on overcloud nodes

It's make sure, all the overcloud nodes are known and then
run dstat before running tempest on it.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: Ia0e5218a4ff294db27b758caaa453d47945e82ec
This commit is contained in:
Chandan Kumar (raukadah) 2022-06-06 17:58:28 +05:30
parent 8de2c51407
commit e96dbc48d4
2 changed files with 18 additions and 2 deletions

View File

@ -1,7 +1,23 @@
--- ---
- name: Run dump vars on all!localhost
hosts: all:!localhost:!127.0.0.2
roles:
- dump_vars
- name: Ensure the overcloud nodes are added to the generated inventory
hosts: undercloud
gather_facts: true
tags:
- overcloud-validate
vars:
inventory: all
roles:
- tripleo-inventory
ignore_errors: true
# Execute sanity checks agsinst the overcloud deployment # Execute sanity checks agsinst the overcloud deployment
- name: setup dstat performance monitoring - name: setup dstat performance monitoring
hosts: overcloud hosts: all:!localhost:!127.0.0.2!undercloud
tags: tags:
- overcloud-validate - overcloud-validate
roles: roles:

View File

@ -20,7 +20,7 @@
--nocolor --nocolor
--output /var/log/extra/{{ dstat_log_name }} --output /var/log/extra/{{ dstat_log_name }}
{{ dstat_delay }} {{ dstat_delay }}
> /dev/null & >> /var/log/extra/dstat.txt &
args: args:
executable: /bin/bash executable: /bin/bash
async: 1 async: 1