[lago-devel] Fwd: test failed, Failed to connect to the engine

Yaniv Kaul ykaul at redhat.com
Tue Feb 2 15:09:11 UTC 2016


On Thu, Jan 28, 2016 at 3:01 PM, Yaniv Kaul <ykaul at redhat.com> wrote:

>
>
> On Thu, Jan 28, 2016 at 2:56 PM, Maor Lipchuk <mlipchuk at redhat.com> wrote:
>
>>
>>
>>
>>
>> ----- Original Message -----
>> > From: "Yaniv Kaul" <ykaul at redhat.com>
>> > To: "Maor Lipchuk" <mlipchuk at redhat.com>
>> > Cc: lago-devel at ovirt.org
>> > Sent: Thursday, January 28, 2016 12:59:38 PM
>> > Subject: Re: [lago-devel] Fwd: test failed, Failed to connect to the
>> engine
>> >
>> > On Thu, Jan 28, 2016 at 12:30 PM, Maor Lipchuk <mlipchuk at redhat.com>
>> wrote:
>> >
>> > > Hi all,
>> > >
>> > > I've been trying to use the LAGO setup, all worked well up to the
>> point
>> > > which I got an error on one of the tests :
>> > >
>> > >   Run test: 002_bootstrap.py: ERROR
>> > >   Error occured, aborting
>> > >   ....
>> > >   ... line 82, in do_ovirt_runtest
>> > >      raise RuntimeError('Some tests failed')
>> > >   RuntimeError: Some tests failed
>> > >
>> > > Looking in the nosetests it looks like it failed to connect to the
>> engine:
>> > >
>> > >   File "usr/lib/python2.7/site-packaged/pvortlago/virt.py", line 106,
>> in
>> > > _get_api
>> > >   raise RuntimeError('Failed to connect to the engine')
>> > >
>> >
>> > Can you check if the engine is up? In my case, it was not installed, as
>> the
>> > answer file was incorrect.
>> > See https://bugzilla.redhat.com/show_bug.cgi?id=1302045 for details and
>> > solution.
>> > Y.
>>
>> I don't see that ovirt-engine is installed on my env, but I do see that
>> the ovirt-release36-002-2 is installed.
>> I was trying to set the boolean to false as was mentioned in the bug to
>> see if that make any difference but still didn't had much luck.
>>
>
> Need to look at the engine's setup log, then.
>

I prepared a patch to the installation test that:
1. Verifies the installation succeeded (based on error code from the
installation)
2. Verifies the ovirt-engine service is up.

Only if both succeed, the test passes.
I've cloned the specific bug above to a general bug @
https://bugzilla.redhat.com/show_bug.cgi?id=1303973

Y.


> Y.
>
>
>>
>> >
>> > >
>> > >   tests="6" error="1"
>> > >
>> > > Is it only a test issue or is there something wrong with my engine?
>> > >
>> > > Regards,
>> > > Maor
>> > >
>> > >
>> > > _______________________________________________
>> > > lago-devel mailing list
>> > > lago-devel at ovirt.org
>> > > http://lists.ovirt.org/mailman/listinfo/lago-devel
>> > >
>> >
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/lago-devel/attachments/20160202/fe0d38cd/attachment-0001.html>


More information about the lago-devel mailing list