<div dir="ltr"><div><div><div><div><div><div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Thank you all for your advice!<br><br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Now I can ping 192.168.201.213 succesfully, I can get SPICE-connection.<br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">And I want to know your opinion about way to get connection via some test.<br><br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">I may use a pakamiko only like this :<br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-"><a href="https://github.com/vmakarova/ovirt-system-tests/commit/3e9e5ce697da7e0567aaad8397fa886469bc5ae3" target="_blank">https://github.com/vmakarova/<wbr>ovirt-system-tests/commit/<wbr>3e9e5ce697da7e0567aaad8397fa88<wbr>6469bc5ae3</a><br></span></span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Lago also use pakamiko, so there is not new dependencies. <br></span></span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-"><br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Is this a good way?<br><br></span></span></div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Or, may something using lago be better? <br>For example using lago.ssh.get_ssh_client() as a wrapper like this:<br><a href="https://github.com/vmakarova/ovirt-system-tests/commit/855dbdf379730d55daf51851052d71daa45d9a09" target="_blank">https://github.com/vmakarova/<wbr>ovirt-system-tests/commit/<wbr>855dbdf379730d55daf51851052d71<wbr>daa45d9a09</a><br><br></span></span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">Or Is there better way to do this?<br><br><br></span></span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">And few more questions about tests and ovirt network.<br><br></span></span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-">1) This address of vm0 192.168.201.213. </span></span><span class="gmail-im">What is this addres? Why it is ip of 'vm0'? <br></span><span class="gmail-im"><span id="gmail-result_box" class="gmail-" lang="en"><span class="gmail-">What gave it to vm0 and how the user may to understand that the address would be that?</span></span>
<br>
</span></div><div>There is not this ip in virsh net-list and net-dumpxml<br>
<br></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-"></span></span><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-"></span></span>2) <span class="gmail-im">In test vm_run (004_basic_sanity) we configure interface eth0 on vm0 with ip 192.168.200.200. <br>But this interface is unreacheble from engine-host.And when I ask vm0 'ip address' via ssh, <br>there is not interface eth1 there. What for does test add it, if it does not work? Should it work?<br>And why test finished successful if eth0 was not configured according a start_params?<br><br></span><br><span style="font-size:12.8px">Sincerely, <br>Valentina Makarova</span></div><div><span id="gmail-m_4656488174638764746gmail-result_box" class="gmail-m_4656488174638764746gmail-short_text" lang="en"><span class="gmail-m_4656488174638764746gmail-"></span></span></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-05-31 23:06 GMT+03:00 Yaniv Kaul <span dir="ltr"><<a href="mailto:ykaul@redhat.com" target="_blank">ykaul@redhat.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Wed, May 31, 2017 at 11:10 AM, Milan Zamazal <span dir="ltr"><<a href="mailto:mzamazal@redhat.com" target="_blank">mzamazal@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span>Nadav Goldin <<a href="mailto:ngoldin@redhat.com" target="_blank">ngoldin@redhat.com</a>> writes:<br>
<br>
> I would start first by making sure the VM is booting properly using<br>
> SPICE from the GUI, when the tests ends, you should be able to log<br>
> into the Engine GUI(run 'lago ovirt status' inside your deployment<br>
> directory to get the link, the directory should be something like<br>
> ovirt-system-tests/deployment-<wbr>SUITE-NAME). Then in the GUI, start the<br>
> VM and click on 'console', the username/password should be<br>
> root/123456.<br>
<br>
</span>It's actually "cirros"/"cubswin:)".<br>
<span><br>
> If it is booting properly - first would be to check if it even gets an<br>
> IP(my guess is not - I'm not even sure if dhcp is running in that<br>
> layer, maybe we should setup one..).<br>
<br>
</span>Yes, it should get everything, it's possible to log in there via ssh on<br>
my setup.<br>
<span><br>
Valentina Makarova <<a href="mailto:makarovavs07@gmail.com" target="_blank">makarovavs07@gmail.com</a>> writes:<br>
<br>
> And a second question is about ssh to this vm connection from my laptop's<br>
> console.<br>
> According run_vm test from 004_basic_sanity.py (<br>
> <a href="https://github.com/oVirt/ovirt-system-tests/blob/master/basic-suite-master/test-scenarios/004_basic_sanity.py#L385" rel="noreferrer" target="_blank">https://github.com/oVirt/ovirt<wbr>-system-tests/blob/master/<wbr>basic-suite-master/test-<wbr>scenarios/004_basic_sanity.py#<wbr>L385</a><br>
> ) vm0 should contain interface with ip 192.168.200.200, but ping this from<br>
> engine (192.168.200.4) Destination Host Unreachable. And 'ping vm0' defined<br>
> vm0 as 192.168.201.213 and also couldn't reach vm0.<br>
<br>
</span>192.168.201.213 should be working, I can both ping and ssh the<br>
corresponding IP on my computer. Do you run Lago directly on your<br>
computer or in a VM? If you run it on your computer, can't it conflict<br>
with another network in your environment? Maybe checking from inside<br>
the VM as described by Nadav can help.<br></blockquote><div><br></div></div></div><div>We can add a fake entry in Lago init file just as we do for hosted-engine.</div><div>Most importantly, it'll create a MAC to IP address mapping in libvirt's DHCP.</div><div>Of course, then we need to use this MAC.</div><div>I somehow remember doing this at some point but never completing the task :(</div><div>Y.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
<span><br>
> And in webadmin (<a href="https://engine/ovirt-engine/webadmin/#vms" rel="noreferrer" target="_blank">https://engine/ovirt-engine/w<wbr>ebadmin/#vms</a>) IP Address<br>
> field is empty.<br>
<br>
</span>This is OK, I think ovirt-guest-agent must be installed and running in<br>
the VM to report the IP address. If it is not then the information is<br>
missing in the UI but that doesn't mean the network is not working.<br>
<br>
Regards,<br>
Milan<br>
</span><div class="m_-3463980056568948714HOEnZb"><div class="m_-3463980056568948714h5">______________________________<wbr>_________________<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<wbr>/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>
</blockquote></div><br></div>