Arik Thanks for the info. My simple setup is just a base for bigger clusters that I have to do and there will be multiple templates that I need to install. I have python programming skills but just needed some simple pointing in the right direction on where to make the addition changes to the code. It takes a little bit of time to get the services and types correct for what you want to accomplish and how it is implemented.
Don On Mon, May 24, 2021 at 2:51 PM Arik Hadas <[email protected]> wrote: > > > On Mon, May 24, 2021 at 6:49 PM Don Dupuis <[email protected]> wrote: > >> Nudging to see if anyone has experience with this? >> >> Don >> >> On Wed, May 19, 2021 at 11:18 PM Don Dupuis <[email protected]> wrote: >> >>> 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. > > >> >>> Thanks >>> Don >>> >> _______________________________________________ >> Users mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> 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/[email protected]/message/U6Q5P7YKDBJARPPNFJOXAMP2AMKEJDNK/ >> >
_______________________________________________ Users mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/HPEET3VX7WPCJI5GSRYTJIT3QTUFOWIX/

