Re: Import ova Thin provisioned disk conversion to pre allocated disks fails

Hi Arik, I don’t see an option to select ‘allocation-policy=clone and specifying that the VM disk(s) should be preallocated’ when creating a VM from the template. Regard Simon

On Sat, Mar 12, 2022 at 9:06 AM Simon Scott <simon@justconnect.ie> wrote:
Hi Arik,
I don’t see an option to select ‘allocation-policy=clone and specifying that the VM disk(s) should be preallocated’ when creating a VM from the template.
From the API you need to specify clone=True as in [1] and the volume type+format as in [2] In the webadmin, it is part of the Resource Allocation tab (specifically its 'Storage Allocation' section) in the add-vm dialog [1] https://github.com/oVirt/python-ovirt-engine-sdk4/blob/c5ea821acc80da12a30b6... [2] https://github.com/oVirt/python-ovirt-engine-sdk4/blob/c5ea821acc80da12a30b6...
Regard
Simon _______________________________________________ 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/PM2YIHRODYWHKS...

I tried '2' but the disk is still Thin provisioned.
participants (3)
-
Arik Hadas
-
Simon Scott
-
simon@justconnect.ie