Thanks for the quick feedback. Didn't realize there was a better mailing
Basically what I'm trying to do is create a big suite of integration tests
for the vagrant provider.
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.
I'm looking at using bits and pieces from ovirt-system-tests and Lago to
bootstrap a simple cluster (master and single host).
Vagrant requires coming up from a template (and a modified one at that .
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.
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.
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
On Thu, Aug 24, 2017, 1:55 AM Nadav Goldin <ngoldin(a)redhat.com> wrote:
> Im currently neck deep in ovirt-system-tests and lago
I see alot of usages about importing VMs from templates, but are there
any examples of exporting a VM to template?
If you're referring to the available Lago templates it is described at
. With regard to the lago-ost-plugin(aka python-lago-ovirt), true,
we are lacking some docs there. Also note that for OST it self we have
, which has some more OST specific details.
Please elaborate on what you are trying to achieve, we might already
have that feature(but lacking docs, such as 'lago export').
On Thu, Aug 24, 2017 at 8:42 AM, Yaniv Kaul <ykaul(a)redhat.com> wrote:
> On Thu, Aug 24, 2017 at 4:56 AM, Marc Young <3vilpenguin(a)gmail.com>
>> Im currently neck deep in ovirt-system-tests and lago
>> I see alot of usages about importing VMs from templates, but are there
>> examples of exporting a VM to template?
> I assume you are looking into Lago templates, not oVirt templates?
> Currently, I'm not aware of a way. What template do you need?
>> Side note I cant find a good source of methods available for use in
>> python-lago-ovirt (or even python-lago). The docs are pretty lacking
> Can you open an issue about it? What do you wish to perform?
>>  http://lago.readthedocs.io/en/latest/lago.html
>> Devel mailing list
> lago-devel mailing list