On Mon, Jun 28, 2021 at 11:23 AM Eyal Shenitzky <eshenitz@redhat.com> wrote:
Hi,

You are probably creating the VM as a dependent on the template (thin VM), it means that the VM's disk should be created on the same storage domain as the template disk.

In order to create the VM with a disk on a different storage domain, you can either create the VM as an independent (clone) or copy the template disk to the storage domain you want to create the VM disk on.

On Sun, 27 Jun 2021 at 18:40, Nur Imam Febrianto <nur_imam@outlook.com> wrote:

Hi,


Want to ask about template. For example I have a several template (with disk) stored in some Storage Domain. If I create a VM from the template, and when I change the parameter of cloned disk into another storage domain (different with where the template are stored). The VM always failed to be created. This only occurs in VM creation phase, if I create the VM at same storage domain where the templates are stored, it created successfully. Is this are “normal” behavior ?


No, you should be able to create cloned disks on a storage domain that is different from the one(s) the template image(s) is on.

How did you try to do that?
If you tried to create thin-provisioned disks as Eyal mentioned above via the API, the operation should fail with an error of TEMPLATE_IMAGE_NOT_EXIST (it shouldn't be possible to select a storage domain that doesn't hold the template image via the webadmin)

If you specified that the disks should be cloned to a different storage domain correctly then the engine.log should reveal what is the problem.

 

Thanks before.

 

Regards,

Nur Imam Febrianto

_______________________________________________
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/F6BCRDFJBCOGA6GLJWWLIBXMFFKCD75C/


--
Regards,
Eyal Shenitzky
_______________________________________________
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/3RPONNQIRSIO6CQPX3WWJXXSAFTRISFP/