Merge "Capture probe test logs"

This commit is contained in:
Zuul 2018-03-13 03:39:03 +00:00 committed by Gerrit Code Review
commit 0a4d1b7e22
2 changed files with 17 additions and 0 deletions

View File

@ -117,6 +117,7 @@
- playbooks/saio_single_node_setup/setup_saio.yaml
- playbooks/saio_single_node_setup/make_rings.yaml
run: playbooks/probetests/run.yaml
post-run: playbooks/probetests/post.yaml
- project:
check:

View File

@ -0,0 +1,16 @@
- hosts: all
become: true
tasks:
- name: Ensure swift logs are readable before syncing
file:
path: '/var/log/swift'
mode: u=rwX,g=rX,o=rX
state: directory
recurse: yes
- name: Copy swift logs from worker nodes to executor node
synchronize:
src: '/var/log/swift'
dest: '{{ zuul.executor.log_root }}'
mode: pull
copy_links: true
verify_host: true