While using an LVM based storage pool, I noticed Failed to delete volume errors. libvirt seems to tolerate removing qcow2 storage before destroying the VM, but lvm logical volumes cannot be remove before the VM has been stopped (destroyed).
A simple fix is to switch the order of included tasks in tasks/main.yml.
(I hope to submit a PR with some enhancements in due course)
While using an LVM based storage pool, I noticed
Failed to delete volume
errors. libvirt seems to tolerate removing qcow2 storage before destroying the VM, but lvm logical volumes cannot be remove before the VM has been stopped (destroyed).A simple fix is to switch the order of included tasks in
tasks/main.yml
.(I hope to submit a PR with some enhancements in due course)