<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jul 18, 2017 at 11:47 AM Petr Kotas <<a href="mailto:pkotas@redhat.com">pkotas@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="ltr"><div><div>Hi Marc,<br><br></div>I have been working on a development environment for the oVirt. The environment is basically two VMs running beside together. One runs the engine, second is a host that runs the vdsm with nested virtualization.</div><div dir="auto"> I am now working on the vagrant file with orchestration to make the environment setup easier. So if You would wait for a few more days, You will be able to start from my setup.</div><div dir="auto"><br></div></div></div></blockquote><div>Interesting, can you share a link?<br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div dir="ltr"><div dir="auto"></div><div>As for the containers. For you to have a full test setup, you would need to place a VM inside the container and run a nested virtualization inside. This is what the two projects you mentioned are doing. Therefore they are not that lightweight as you would like.</div><div dir="auto"><br></div><div dir="auto">I would recommend using the VM environment, which is the simplest solution.</div><div dir="auto"><br></div><div dir="auto">I will send a reply again once my environment is up.</div></div></div><div dir="auto"><div dir="ltr"><div dir="auto"><br></div><div dir="auto">Petr</div><div dir="auto"><br></div><div dir="auto"><br></div><br><br></div></div><div dir="auto"><br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Thu, Jul 13, 2017 at 4:52 PM, Greg Sheremeta <span dir="ltr"><<a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Does ovirt-system-tests meet your needs? It can leave the VMs standing when it's done.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_8910069742430828896m_-537228721758052259m_6014791360629163715h5">On Thu, Jul 13, 2017 at 10:39 AM, Marc Young <span dir="ltr"><<a href="mailto:3vilpenguin@gmail.com" target="_blank">3vilpenguin@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_8910069742430828896m_-537228721758052259m_6014791360629163715h5"><div dir="ltr">I've been trying for weeks to come up with a better (most specifically lighter) testing environment for external API requests (specifically vagrant).<div><br></div></div></div></div></blockquote></div></div></blockquote></div></div></div></blockquote><div><br> <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_8910069742430828896m_-537228721758052259m_6014791360629163715h5"><div dir="ltr"><div></div><div>Right now It basically hooks into a real running oVirt to spin up and test VMs. It works but it's not portable or lightweight.</div><div><br></div><div>I've been looking into the docker containers:</div><div> <a href="https://github.com/oVirt/ovirt-container-engine" target="_blank">https://github.com/oVirt/ovirt-container-engine</a> (doesnt look like this is going to stay maintained? )</div><div> <a href="https://github.com/oVirt/ovirt-containers" target="_blank">https://github.com/oVirt/ovirt-containers</a> (this requires openshift making it a giant yak to shave)</div><div><br></div><div>Are there any thoughts on where to head from here? Im looking to purely launch oVirt of specific versions and run some tests against it (launching real VMs). </div><div><br></div><div>I got the first docker one working, but it turned into a turtles problem because there was no host, and adding a host requires ssh to be running (which isnt), etc etc.</div></div>
<br></div></div></blockquote></div></div></blockquote></div></div></div></blockquote><div><br><div><br></div><div><br>I too
thing ovirt-system-tests may be a good fit. It has already suites for
master branch (coming 4.2) and 4.1 and writing a test is very easy, it uses
the python SDK which is exactly what you want.<br><br></div><div></div>Basically you can write your own suite, by copy-paste an already existing suite and just modify it to your needs. <br><br></div><div>You said you wanted real VMs, but in case you want to test API calls and interaction you can consider vdsmfake[1] which will simulate multi hosts and multi vms all in one<br><br>[1] <a href="https://github.com/oVirt/ovirt-vdsmfake">https://github.com/oVirt/ovirt-vdsmfake</a><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div class="gmail_extra" dir="auto"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_8910069742430828896m_-537228721758052259m_6014791360629163715h5"></div></div>_______________________________________________<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><span class="m_8910069742430828896m_-537228721758052259m_6014791360629163715HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="m_8910069742430828896m_-537228721758052259m_6014791360629163715HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_8910069742430828896m_-537228721758052259m_6014791360629163715m_7304864424087506151gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Greg Sheremeta, MBA<br><span style="font-size:12.8px">Sr. Software Engineer</span><br></div><div>Red Hat, Inc.<br><a href="mailto:gshereme@redhat.com" target="_blank">gshereme@redhat.com</a><br></div></div></div></div></div>
</font></span></div>
<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></blockquote></div><br></div>
</div>
_______________________________________________<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></blockquote></div></div>