[ovirt-devel] [ovirt-system-tests] ssh to an oVirt VM in Lago

Milan Zamazal mzamazal at redhat.com
Wed May 31 08:10:08 UTC 2017


Nadav Goldin <ngoldin at redhat.com> writes:

> I would start first by making sure the VM is booting properly using
> SPICE from the GUI, when the tests ends, you should be able to log
> into the Engine GUI(run 'lago ovirt status' inside your deployment
> directory to get the link, the directory should be something like
> ovirt-system-tests/deployment-SUITE-NAME). Then in the GUI, start the
> VM and click on 'console', the username/password should be
> root/123456.

It's actually "cirros"/"cubswin:)".

> If it is booting properly - first would be to check if it even gets an
> IP(my guess is not - I'm not even sure if dhcp is running in that
> layer, maybe we should setup one..).

Yes, it should get everything, it's possible to log in there via ssh on
my setup.

Valentina Makarova <makarovavs07 at gmail.com> writes:

> And a second question is about ssh to this vm connection from my laptop's
> console.
> According run_vm test from  004_basic_sanity.py (
> https://github.com/oVirt/ovirt-system-tests/blob/master/basic-suite-master/test-scenarios/004_basic_sanity.py#L385
> ) vm0 should contain interface with ip 192.168.200.200, but ping this from
> engine (192.168.200.4) Destination Host Unreachable. And 'ping vm0' defined
> vm0 as 192.168.201.213 and also couldn't reach vm0.

192.168.201.213 should be working, I can both ping and ssh the
corresponding IP on my computer.  Do you run Lago directly on your
computer or in a VM?  If you run it on your computer, can't it conflict
with another network in your environment?  Maybe checking from inside
the VM as described by Nadav can help.

> And in webadmin (https://engine/ovirt-engine/webadmin/#vms) IP Address
> field is empty.

This is OK, I think ovirt-guest-agent must be installed and running in
the VM to report the IP address.  If it is not then the information is
missing in the UI but that doesn't mean the network is not working.

Regards,
Milan


More information about the Devel mailing list