Capture probe test logs

Change-Id: Ib2f3aa1d70e6d28e00570fe21352031dc41325d0
This commit is contained in:
Tim Burke 2018-03-06 23:42:24 +00:00
parent e5ce83b967
commit 1b546f6b77
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