set owner and group to no for fetch-devstack-log-dir

As the user on the node under test may not exist on
the zuul executor node we do not copy the log owner
or group to avoid the rsync task failing when it
tries to chown the files.

Change-Id: I500cf3692a4d27b0c2a0a4f5586580d180a8778e
This commit is contained in:
Sean Mooney 2019-01-29 18:17:30 +00:00
parent 7a52311d80
commit ee4b6a0128
1 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,10 @@
# as the user in the guest may not exist on the executor
# we do not preserve the group or owner of the copied logs.
- name: Collect devstack logs
synchronize:
dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
mode: pull
src: "{{ devstack_base_dir }}/logs"
group: no
owner: no