[CI] Fix libvirt logs collection in metal3 job

When the metal3 job fails the libvirt logs can't be collected
causing the entire log collection process to fail, de facto
making any troubleshooting process very difficult if not
impossible.
We need to ignore the error form the libvirt logs collection
task to allow the logs collection to finish correctly.

Change-Id: Ibbbb86457cbcf6c28392baad52478dc232d160bd
This commit is contained in:
Riccardo Pittau 2025-03-11 14:26:56 +01:00
parent fef0cfec78
commit 3925c90a66

View File

@ -103,6 +103,7 @@
- lsblk -ap
- name: Copy libvirt logs
ignore_errors: true
copy:
src: /var/log/libvirt/qemu/
dest: "{{ logs_root }}/libvirt/"