Skip to content

Commit 6eeb20f

Browse files
committed
Collect kubelet logs before synchronization
The task that was responsible for collecting kubelet logs was done after the synchronization, so in some jobs we did not get kubelet service logs. Signed-off-by: Daniel Pawlik <[email protected]>
1 parent b9f05e2 commit 6eeb20f

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

ci/playbooks/collect-logs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -180,3 +180,10 @@
180180
no_log: true
181181
args:
182182
chdir: "{{ ansible_user_dir }}/zuul-output/logs/"
183+
184+
- name: Copy files from workspace on node
185+
vars:
186+
work_dir: "{{ ansible_user_dir }}/zuul-output/logs"
187+
ansible.builtin.include_role:
188+
name: fetch-output
189+
ignore_errors: true # noqa: ignore-errors

ci/playbooks/e2e-collect-logs.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,10 @@
5050
no_log: true
5151
args:
5252
chdir: "{{ ansible_user_dir }}/zuul-output/logs/"
53+
54+
- name: Copy files from workspace on node
55+
vars:
56+
work_dir: "{{ ansible_user_dir }}/zuul-output/logs"
57+
ansible.builtin.include_role:
58+
name: fetch-output
59+
ignore_errors: true # noqa: ignore-errors

0 commit comments

Comments
 (0)