Merge "remove older and slower portions of collect-logs"

This commit is contained in:
Zuul 2018-11-16 09:16:27 +00:00 committed by Gerrit Code Review
commit 712b4da542
1 changed files with 0 additions and 22 deletions

View File

@ -284,28 +284,6 @@
cat $i; done | grep "^20.*|" | sort -sk1,2 |
sed "s/\(20[0-9][0-9]-[0-9][0-9]-[0-9][0-9] [0-9][0-9]:[0-9][0-9]:[0-9][0-9]\.*[0-9]*\)\(.*\)/\1 INFO \2/g" > /var/log/extra/logstash.txt
# Collect host info as done presently in TripleO-CI.
# Will be deprecated.
- name: Create get_host_info script
template:
src: "get_host_info.sh.j2"
dest: "/tmp/get_host_info.sh"
mode: 0755
- name: Copy heat-deploy-times.py to host
copy:
src: heat-deploy-times.py
dest: "/tmp/heat-deploy-times.py"
mode: 0755
- name: Call get_host_info script
shell: /tmp/get_host_info.sh &>/var/log/host_info.txt
- name: Erase temporary log directory if exists
file:
path: "/tmp/{{ inventory_hostname }}"
state: absent
- name: Set default collect list
set_fact:
collect_list: "{{ artcl_collect_list }} + {{ artcl_collect_list_append|default([]) }}"