Nudging to see if anyone has experience with this?
Don
I have a single ovirt manager and 2 ovirt hosts, each has a local storage domain. I am using the upload_ova_as_template.py and my template upload works on a single host but not both. If I use the gui method, there is the option of "clone" and putting in a new name for the template. This seems to work most of the time, but it has failed a couple of times also. I would like to add the same "clone" and "name" option to the upload_ova_as_temple.py. What is the best way to do this since I need to have unique UUIDs for the template disks? This is a unique setup in the fact that I can't use shared storage and this should be doable as I was able to do it in the ovirt gui.
If it's just a one-time operation, I'd rather try to create a VM out of the template that was imported successfully (with disk-provisioning = clone), create a second template out of it, remove the original template and then upload the template from the OVA to the other storage domain.
Changing the script to obtain import as clone is also possible but it requires some programming skills - you'd need to either generate or provide the script with different name for the template and UUIDs for the disks and then (1) use the new UUIDs when uploading the disks and (2) change the OVF that is loaded from the OVA to have the new name and UUIDs before providing the OVF to the engine.
_______________________________________________
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/U6Q5P7YKDBJARPPNFJOXAMP2AMKEJDNK/