Browse Source

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
Sean Mooney 2 months ago
parent
commit
ee4b6a0128
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      roles/fetch-devstack-log-dir/tasks/main.yaml

+ 5
- 0
roles/fetch-devstack-log-dir/tasks/main.yaml View File

@@ -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 4
 - name: Collect devstack logs
2 5
   synchronize:
3 6
     dest: "{{ zuul.executor.log_root }}/{{ inventory_hostname }}"
4 7
     mode: pull
5 8
     src: "{{ devstack_base_dir }}/logs"
9
+    group: no
10
+    owner: no

Loading…
Cancel
Save