RFE: consolidate ref's to dstat log file to a shared variable

Bug #1674382 reported by Matt Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
Medium
Unassigned

Bug Description

As part of a patch to remove old log files vs. appending forever (https://review.openstack.org/#/c/437148) In the comment / feedback thread it was suggested that we refactor all of the hard coded instances of "/var/log/extra/dstat.csv" to a variable. Here's the current list...

#---
[tripleo-quickstart] $ grep -rn dstat-csv
roles/environment/teardown/tasks/main.yml:55: file: dest=/var/log/extra/dstat-csv.log state=absent
roles/environment/setup/tasks/main.yml:95: we probably need to in general audit to look for other issues of this type. \
#---
tripleo-quickstart-extras] $ grep -rn dstat-csv
roles/validate-tempest/tasks/stackviz.yml:27: stat: path=/var/log/extra/dstat-csv.log
roles/validate-tempest/tasks/stackviz.yml:32: tempest_dstat_opt: '--dstat /var/log/extra/dstat-csv.log'
roles/collect-logs/tasks/collect.yml:100: stat: path=/var/log/extra/dstat-csv.log
roles/collect-logs/tasks/collect.yml:111: shell: "/tmp/dstat_graph/generate_page.sh /var/log/extra/dstat-csv.log > /var/log/extra/dstat.html"
roles/undercloud-deploy/tasks/install-undercloud.yml:8: dstat -tcmndrylpg --nocolor --output /var/log/extra/dstat-csv.log 1 7200 \
---

Tags: ci quickstart
Attila Darazs (adarazs)
tags: added: ci quickstart
affects: tripleo-quickstart → tripleo
Ronelle Landy (rlandy)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Medium
John Trowbridge (trown)
Changed in tripleo:
milestone: none → pike-3
Changed in tripleo:
milestone: pike-3 → pike-rc1
Changed in tripleo:
milestone: pike-rc1 → queens-1
Changed in tripleo:
milestone: queens-1 → queens-2
Changed in tripleo:
milestone: queens-2 → queens-3
Changed in tripleo:
milestone: queens-3 → queens-rc1
Changed in tripleo:
milestone: queens-rc1 → rocky-1
Changed in tripleo:
assignee: nobody → Rafael Folco (rafaelfolco)
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-quickstart-extras (master)

Reviewed: https://review.openstack.org/557455
Committed: https://git.openstack.org/cgit/openstack/tripleo-quickstart-extras/commit/?id=b5e349bc478a5b3bf4bd896224a888843a2fc21b
Submitter: Zuul
Branch: master

commit b5e349bc478a5b3bf4bd896224a888843a2fc21b
Author: Rafael Folco <email address hidden>
Date: Wed Mar 28 14:46:43 2018 -0300

    Collect dstat on overcloud nodes

    Start dstat on overcloud before tempest runs.

    Closes-Bug: #1674382

    Change-Id: Ifd4bea27b2c5f31b30580c098024ba55c8abda51

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
Matt Young (halcyondude) wrote :

The commit landed doesn't include dstat being launched during libvirt provisioning, but it does cover the other cases (UC install, OC nodes)

flipping back to triaged...we need a commit to TQ, although this introduced a TQ --> TQE dependency. Not sure (atm) what the right thing to do here is...thoughts?

Changed in tripleo:
status: Fix Released → In Progress
Changed in tripleo:
milestone: rocky-1 → rocky-2
Changed in tripleo:
milestone: rocky-2 → rocky-3
Changed in tripleo:
milestone: rocky-3 → rocky-rc1
Changed in tripleo:
milestone: rocky-rc1 → stein-1
Changed in tripleo:
milestone: stein-1 → stein-2
Changed in tripleo:
assignee: Rafael Folco (rafaelfolco) → nobody
Changed in tripleo:
milestone: stein-2 → stein-3
Revision history for this message
Juan Antonio Osorio Robles (juan-osorio-robles) wrote :

Is this still an issue?

Changed in tripleo:
milestone: stein-3 → train-1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-quickstart-extras 2.1.1

This issue was fixed in the openstack/tripleo-quickstart-extras 2.1.1 release.

Changed in tripleo:
milestone: train-1 → train-2
Changed in tripleo:
milestone: train-2 → train-3
Changed in tripleo:
milestone: train-3 → ussuri-1
Changed in tripleo:
milestone: ussuri-1 → ussuri-2
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-2 → ussuri-3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-3 → ussuri-rc3
wes hayutin (weshayutin)
Changed in tripleo:
milestone: ussuri-rc3 → victoria-1
Changed in tripleo:
milestone: victoria-1 → victoria-3
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.