On Thu, Nov 17, 2022 at 7:30 PM Nathanaël Blanchet via Users <users@ovirt.org> wrote:

Hello,

I've struggled for hours with enabling incremental backup on disk level with the ansible ovirt.ovirt.ovirt_disk module:

- name: modify incremental backup state
ovirt.ovirt.ovirt_disk:
auth: "{{ ovirt_auth }}"
id: "{{disk_id}}"
backup: "incremental"

But the disk never gets into an incremental state.

What's the matter?

Enabling 'incremental backup' for a disk may require changing its format (from RAW to QCOW) and that, among other reasons, lead to modeling this as an action on the disk rather than an update of its state.
There's an open PR for adding this action to Ansible: https://github.com/oVirt/ovirt-ansible-collection/pull/601

PS: I know I can do the same with curl, but this is not what I want.

Thank you

-- 
Nathanaël Blanchet

Supervision réseau
SIRE
227 avenue Professeur-Jean-Louis-Viala
34193 MONTPELLIER CEDEX 5 	
Tél. 33 (0)4 67 54 84 55
Fax  33 (0)4 67 54 84 14
blanchet@abes.fr
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/users@ovirt.org/message/HCIL6XTF6RSDPFMH42MGAGSFWRYHWYVP/