2018-09-04 10:13 GMT+02:00 Ehud Yonasi <eyonasi@redhat.com>:Hey,I see failures on hosted-engine and when i was looking at the build-artifacts jobs of he-setup: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!Not sure if the restoing caused the mentioned traceback.We got an accidental deletion of the last year of development on hosted engine setup master branch and we had to restore it causing a few hundreds of jenkins job to be triggered.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.NullPointerExceptionat 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:Error while running thread
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/lago/utils.py", line 58, in _ret_via_queue
queue.put({'return': func()})
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
deploy_hosted_engine=True,
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/services.py", line 11530, in add
return self._internal_add(host, headers, query, wait)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 232, in _internal_add
return future.wait() if wait else future
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 55, in wait
return self._code(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 229, in callback
self._check_fault(response)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 132, in _check_fault
self._raise_error(response, body)
File "/usr/lib64/python2.7/site-packages/ovirtsdk4/service.py", line 118, in _raise_error
raise error
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.
Who can help me with this issue?Thanks,Galit--