Thanks for the quick feedback. Didn't realize there was a better mailing list.<div><br></div><div>Basically what I'm trying to do is create a big suite of integration tests for the vagrant provider.</div><div><br></div><div>My first attempt of tests basically assumes there's an active ovirt setup to use and uses secrets to run vagrant configs and assertions. It works but having a cluster up isn't a good practice.</div><div><br></div><div>I'm looking at using bits and pieces from ovirt-system-tests and Lago to bootstrap a simple cluster (master and single host).</div><div><br></div><div>Vagrant requires coming up from a template (and a modified one at that [1]. So I was hoping to use lago and the Lago ost to create a VM (done). Run things against it (done) then create an ovirt vm template from it (where I'm currently stuck). That would get me a great place to start running a matrix of the Ruby sdk versions, vagrant versions, and ovirt versions (4.0,4.1, etc) to run true integration tests on the vagrant provider.</div><div><br></div><div>The issue right now is the lago documentation is pretty scattered and limited so I'm left cargo culting allot of existing stuff and working off very limited examples. My suspicion is I'll need to mix and match the ovirt python sdk and Lago to get the template portion working.</div><div><br></div><div>I was surprised to see that the system tests assert alot around VM creating, snapshotting, stopping, and importing templates, but no tests around exporting templates</div><div><br></div><div>[1] <a href="https://github.com/myoung34/vagrant-ovirt4/blob/master/tools/prepare_redhat_for_box.sh">https://github.com/myoung34/vagrant-ovirt4/blob/master/tools/prepare_redhat_for_box.sh</a></div><div><br><div class="gmail_quote"><div dir="ltr">On Thu, Aug 24, 2017, 1:55 AM Nadav Goldin <<a href="mailto:ngoldin@redhat.com">ngoldin@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">> Im currently neck deep in ovirt-system-tests and lago<br>
I see alot of usages about importing VMs from templates, but are there<br>
any examples of exporting a VM to template?<br>
<br>
If you're referring to the available Lago templates it is described at<br>
[1]. With regard to the lago-ost-plugin(aka python-lago-ovirt), true,<br>
we are lacking some docs there. Also note that for OST it self we have<br>
[2], which has some more OST specific details.<br>
<br>
Please elaborate on what you are trying to achieve, we might already<br>
have that feature(but lacking docs, such as 'lago export').<br>
<br>
<br>
Thanks,<br>
<br>
Nadav.<br>
<br>
<br>
<br>
[1] <a href="http://lago.readthedocs.io/en/latest/Templates.html" rel="noreferrer" target="_blank">http://lago.readthedocs.io/en/latest/Templates.html</a><br>
[2] <a href="http://ovirt-system-tests.readthedocs.io" rel="noreferrer" target="_blank">http://ovirt-system-tests.readthedocs.io</a><br>
<br>
On Thu, Aug 24, 2017 at 8:42 AM, Yaniv Kaul <<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>> wrote:<br>
><br>
><br>
> On Thu, Aug 24, 2017 at 4:56 AM, Marc Young <<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>> wrote:<br>
>><br>
>> Im currently neck deep in ovirt-system-tests and lago<br>
>> I see alot of usages about importing VMs from templates, but are there any<br>
>> examples of exporting a VM to template?<br>
><br>
><br>
> I assume you are looking into Lago templates, not oVirt templates?<br>
> Currently, I'm not aware of a way. What template do you need?<br>
>><br>
>><br>
>> Side note I cant find a good source of methods available for use in<br>
>> python-lago-ovirt (or even python-lago). The docs[1] are pretty lacking<br>
><br>
><br>
> Can you open an issue about it? What do you wish to perform?<br>
> TIA,<br>
> Y.<br>
><br>
>><br>
>><br>
>> [1] <a href="http://lago.readthedocs.io/en/latest/lago.html" rel="noreferrer" target="_blank">http://lago.readthedocs.io/en/latest/lago.html</a><br>
>><br>
>> _______________________________________________<br>
>> Devel mailing list<br>
>> <a href="mailto:Devel@ovirt.org" target="_blank">Devel@ovirt.org</a><br>
>> <a href="http://lists.ovirt.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/devel</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> lago-devel mailing list<br>
> <a href="mailto:lago-devel@ovirt.org" target="_blank">lago-devel@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/lago-devel" rel="noreferrer" target="_blank">http://lists.ovirt.org/mailman/listinfo/lago-devel</a><br>
><br>
</blockquote></div></div>