Hey,

I see failures on hosted-engine and when i was looking at the build-artifacts jobs of he-setup:
http://jenkins.ovirt.org/job/ovirt-hosted-engine-setup_master_build-artifacts-fc28-x86_64/

I can see a lot of triggering of old patches, so as far as i understand you restored that repository.

Is the error below is the root cause of that recovery?
Would appreciate a quick answer because we need to merge a patch to fix CQ failures because of that.

Thanks in advance!

Ehud Yonasi.


---------- Forwarded message ---------
From: Yaniv Kaul <ykaul@redhat.com>
Date: Tue, Sep 4, 2018 at 10:03 AM
Subject: Re: [rhev-devel] Error Message in HE master suite: "Operation Failed". Fault detail is "[Cannot add Host. You are using an unmanaged hosted engine VM ....
To: Galit Rosenthal <grosenth@redhat.com>
Cc: rhev-devel <rhev-devel@redhat.com>


Well, looking at engine.log[1], there's NPE around:
 ERROR [org.ovirt.engine.core.vdsbroker.monitoring.FullListAdapter] (EE-ManagedThreadFactory-engineScheduled-Thread-74) [57b53db9] Failed during parsing configuration of VM b9c1bf34-c42f-4999-97d4-8d4895826abd (<domain type='kvm' id='1'>
  <name>HostedEngine</name>
...
</domain>
), error is: {}: java.lang.NullPointerException
at org.ovirt.engine.core.vdsbroker.libvirt.VmConverter.extractCoreGeneralInfo(VmConverter.java:47) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.libvirt.VmConverter.convert(VmConverter.java:36) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.monitoring.FullListAdapter.extractCoreInfo(FullListAdapter.java:86) [vdsbroker.jar:]
at org.ovirt.engine.core.vdsbroker.monitoring.FullListAdapter.lambda$dumpXmls$0(FullListAdapter.java:54) [vdsbroker.jar:]
at java.util.stream.ReferencePipeline$3$1.accept(ReferencePipeline.java:193) [rt.jar:1.8.0_181]
at java.util.ArrayList$ArrayListSpliterator.forEachRemaining(ArrayList.java:1382) [rt.jar:1.8.0_181]



Y.

On Tue, Sep 4, 2018 at 9:21 AM, Galit Rosenthal <grosenth@redhat.com> wrote:

Hi,

This is an example of a he basic suite master that fails on :

Error Message:
00:26:36 Error while running thread
00:26:36 Traceback (most recent call last):
00:26:36   File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_via_queue
00:26:36     queue.put({'return': func()})
00:26:36   File "/home/jenkins/workspace/ovirt-system-tests_he-basic-suite-master/ovirt-system-tests/he-basic-suite-master/test-scenarios/002_bootstrap.py", line 379, in _add_he_host_4
00:26:36     deploy_hosted_engine=True,
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 11530, in add
00:26:36     return self._internal_add(host, headers, query, wait)
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 232, in _internal_add
00:26:36     return future.wait() if wait else future
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait
00:26:36     return self._code(response)
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 229, in callback
00:26:36     self._check_fault(response)
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 132, in _check_fault
00:26:36     self._raise_error(response, body)
00:26:36   File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 118, in _raise_error
00:26:36     raise error
00:26:36 Error: Fault reason is "Operation Failed". Fault detail is "[Cannot add Host. You are using an unmanaged hosted engine VM. Please add the first storage domain in order to start the hosted engine import process.]". HTTP response code is 409.