Merge "Extract all errors from tripleo deployment"

This commit is contained in:
Zuul
2017-11-13 04:09:59 +00:00
committed by Gerrit Code Review

View File

@@ -187,6 +187,11 @@
- name: Collect text version of the journal from last four hours
shell: journalctl --since=-4h --lines=100000 > /var/log/journal.txt
- name: Collect errors
shell: >
grep -rE '^[-0-9]+ [0-9:\.]+ [0-9 ]*ERROR ' /var/log/ > /tmp/errors.txt;
mv /tmp/errors.txt /var/log/extra/errors.txt
- name: Create a index file for logstash
shell: >
for i in {{ artcl_logstash_files|default([])|join(" ") }}; do