blob: 51a11b60bcadbcdaa83e85cf1982f173779e01d9 [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
Dan Smithcace4042023-10-23 11:21:24 -07006 source {{ devstack_conf_dir }}/inc/python
7 setup_devstack_virtualenv
8 $PYTHON {{ devstack_conf_dir }}/tools/get-stats.py \
Dan Smithc2772c22022-04-08 08:48:49 -07009 --db-user="$DATABASE_USER" \
10 --db-pass="$DATABASE_PASSWORD" \
11 --db-host="$DATABASE_HOST" \
12 {{ apache_logs }} > {{ stage_dir }}/performance.json
13 vars:
14 apache_logs: >-
15 {% for i in debian_suse_apache_deref_logs.results | default([]) + redhat_apache_deref_logs.results | default([]) %}
16 --apache-log="{{ i.stat.path }}"
17 {% endfor %}
Dan Smith1b601c72022-04-25 07:47:56 -070018 ignore_errors: yes