summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Mooney <work@seanmooney.info>2019-01-29 18:17:30 +0000
committerSean Mooney <work@seanmooney.info>2019-01-29 18:21:44 +0000
commitee4b6a0128bad7ae64e9ae7a9c79470585e93dc6 (patch)
treeaa8910b92a4474717988437c35d2b7c8bdbb88fd
parent7a52311d803ab76703956969760d63c5d82cffae (diff)
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
Notes
Notes (review): Code-Review+2: Jens Harbott (frickler) <j.harbott@x-ion.de> Code-Review+2: James E. Blair <corvus@inaugust.com> Code-Review+2: garyk <gkotton@vmware.com> Workflow+1: garyk <gkotton@vmware.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Sun, 03 Feb 2019 12:43:45 +0000 Reviewed-on: https://review.openstack.org/633796 Project: openstack-dev/devstack Branch: refs/heads/master
-rw-r--r--roles/fetch-devstack-log-dir/tasks/main.yaml5
1 files changed, 5 insertions, 0 deletions
diff --git a/roles/fetch-devstack-log-dir/tasks/main.yaml b/roles/fetch-devstack-log-dir/tasks/main.yaml
index 5a198b2..276c4e0 100644
--- a/roles/fetch-devstack-log-dir/tasks/main.yaml
+++ b/roles/fetch-devstack-log-dir/tasks/main.yaml
@@ -1,5 +1,10 @@
1# as the user in the guest may not exist on the executor
2# we do not preserve the group or owner of the copied logs.
3
1- name: Collect devstack logs 4- name: Collect devstack logs
2 synchronize: 5 synchronize:
3 dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}" 6 dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
4 mode: pull 7 mode: pull
5 src: "{{ devstack_base_dir }}/logs" 8 src: "{{ devstack_base_dir }}/logs"
9 group: no
10 owner: no