Skip to content

Commit

Permalink
ovirt-collect-logs: Collect core dumps from hypervisors
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Mar 6, 2017
1 parent 6af9e85 commit 344ed41
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion roles/ovirt-collect-logs/tasks/hypervisor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@
with_items:
- "etc"

- name: Link vdsm and libfirt logs
- name: Register coredump path
shell: "cat /proc/sys/kernel/core_pattern | xargs dirname | head -n 1"
register: coredumpdir

- name: Link vdsm and libvirt logs
file:
src: "{{ item.src }}"
dest: "{{ ovirt_collect_logs_tmp_dir }}/{{ item.dest }}"
Expand All @@ -35,6 +39,9 @@
-
src: "/var/log/ovirt-hosted-engine-ha"
dest: "hosted-engine-logs"
-
src: "{{ coredumpdir }}"
dest: "coredumps"
ignore_errors: true

- name: Dump mount
Expand Down

0 comments on commit 344ed41

Please sign in to comment.