From ee4b6a0128bad7ae64e9ae7a9c79470585e93dc6 Mon Sep 17 00:00:00 2001 From: Sean Mooney Date: Tue, 29 Jan 2019 18:17:30 +0000 Subject: [PATCH] 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 --- roles/fetch-devstack-log-dir/tasks/main.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/fetch-devstack-log-dir/tasks/main.yaml b/roles/fetch-devstack-log-dir/tasks/main.yaml index 5a198b21b4..276c4e0eb5 100644 --- a/roles/fetch-devstack-log-dir/tasks/main.yaml +++ b/roles/fetch-devstack-log-dir/tasks/main.yaml @@ -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