[lago-devel] Help debugging HC test failures

Sahina Bose sabose at redhat.com
Tue Nov 8 08:25:05 UTC 2016


Hi,

I need some help/pointers to solve the issues I'm running into while
running the gluster HC tests - https://gerrit.ovirt.org/57283

1. Once I run the suite, initialization completes successfully, but further
tests fail. Engine is running as per "hosted-engine --vm-status" on the
first host (lago_basic_suite_hc_host0) and I can ping the engine from the
host running the test

  File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 189, in
get_api
    return self.get_api_v3()
  File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 195, in
get_api_v3
    self._api_v3 = self._get_api(api_ver=3)
  File "/usr/lib/python2.7/site-packages/ovirtlago/virt.py", line 180, in
_get_api
    raise RuntimeError('Failed to connect to the engine')
RuntimeError: Failed to connect to the engine

Which logs should I look at to debug this issue?


2. Cannot access the web url of engine:
I've setup tunnelling: ssh -L
hc-engine.lago.local:8443:hc-engine.lago.local:443
root at rhsdev-grafton1.lab.eng.blr.redhat.com
But continue getting the error:
The client is not authorized to request an authorization. It's required to
access the system using FQDN.

3. Once the vms are left running for a while, connectivity is lost between
the vms and cannot connect to some of the VMs via lago shell .

[root at lago_basic_suite_hc_host0 ~]# ping lago_basic_suite_hc_host1
PING lago_basic_suite_hc_host1 (192.168.200.2) 56(84) bytes of data.
>From lago-basic-suite-hc-host0.lago.local (192.168.200.3) icmp_seq=1
Destination Host Unreachable

Looks like issue with network in VM  from console of VM
 deployment-basic_suite_hc]# virsh console
a2051d60-lago_basic_suite_hc_host1
Connected to domain a2051d60-lago_basic_suite_hc_host1

[root at lago_basic_suite_hc_host1 ~]# ip addr show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state
UP qlen 1000
    link/ether 54:52:c0:a8:c8:02 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::5652:c0ff:fea8:c802/64 scope link
       valid_lft forever preferred_lft forever




Any pointers are much appreciated.

thanks
sahina
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20161108/b8c7db8e/attachment-0001.html>


More information about the lago-devel mailing list