blob: f9bb0f7851e42e72460cb2048ee5ea8d87ce0c66 [file] [log] [blame]
Dan Smithc2772c22022-04-08 08:48:49 -07001- name: Generate statistics
2 shell:
3 executable: /bin/bash
4 cmd: |
5 source {{ devstack_conf_dir }}/stackrc
6 python3 {{ devstack_conf_dir }}/tools/get-stats.py \
7 --db-user="$DATABASE_USER" \
8 --db-pass="$DATABASE_PASSWORD" \
9 --db-host="$DATABASE_HOST" \
10 {{ apache_logs }} > {{ stage_dir }}/performance.json
11 vars:
12 apache_logs: >-
13 {% for i in debian_suse_apache_deref_logs.results | default([]) + redhat_apache_deref_logs.results | default([]) %}
14 --apache-log="{{ i.stat.path }}"
15 {% endfor %}
Dan Smith1b601c72022-04-25 07:47:56 -070016 ignore_errors: yes