
On Wed, Dec 14, 2022 at 5:54 PM Nathanaël Blanchet <blanchet@abes.fr> wrote:
Le 14/12/2022 à 16:42, Arik Hadas a écrit :
On Wed, Dec 14, 2022 at 5:26 PM Nathanaël Blanchet via Users < users@ovirt.org> wrote:
Hello,
I am used to create new vm with ovirt_vm module.
Now, I want that the disk of each new created vm to be with the incremental statement.
I tried so: disks: - id: "{{result.disk.id}}" bootable: True interface: virtio_scsi backup: incremental
but it seems that the backup item is not implemented.
How to attach a disk with the incremental statement?
Unlike bootable, disk interface and such settings that are per relation between a disk and a vm, the 'backup' (method) setting is a property of the disk itself. If the disk was created with incremental backup enabled, it would remain with incremental backup enabled when attached to a vm
The exact workflow is:
- The disk is created with incremental backup enabled - The disk is attached to a vm(incremental backup is ok at this step) - the vm is exported as a template - *The disk of the new vm created from the template doesn't have the incremental backup enabled!*
Sounds like the imported disk of the template is not set with incremental
backup, what version of ovirt do you use? As part of the fix for https://bugzilla.redhat.com/show_bug.cgi?id=2081556, which was merged to 4.5.1, we started writing the incremental-backup property to OVAs (I assume you refer to export-to-OVA since you wrote that you export a VM as a template) - if you use an older version (than 4.5.1), this could explain it. Otherwise, please provide the output of: select * from base_disks where disk_id in (select device_id from vm_device where vm_id in (select vm_guid from vm_static where vm_name='<template-name>')); _______________________________________________
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/VALEN65GD3DLDT...