Fwd: [rhev-devel] Error Message in HE master suite: "Operation
Failed". Fault detail is "[Cannot add Host. You are using an unmanaged hosted
engine VM ....
by Ehud Yonasi
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-artif...
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(a)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(a)redhat.com>
Cc: rhev-devel <rhev-devel(a)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.
[1]
https://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-te...
On Tue, Sep 4, 2018 at 9:21 AM, Galit Rosenthal <grosenth(a)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.
>
>
>
> https://jenkins.ovirt.org/view/oVirt%20system%20tests/job/ovirt-system-te...
>
> Who can help me with this issue?
>
> Thanks,
> Galit
>
> --
>
> GALIT ROSENTHAL
>
> SOFTWARE ENGINEER
>
> Red Hat
>
> <https://www.redhat.com/>
>
> galit(a)gmail.com T: 972-9-7692230
> <https://red.ht/sig>
>
6 years, 3 months
Build failed in Jenkins: system-sync_mirrors-epel-el6-x86_64 #1830
by jenkins@jenkins.phx.ovirt.org
See <http://jenkins.ovirt.org/job/system-sync_mirrors-epel-el6-x86_64/1830/dis...>
------------------------------------------
Started by timer
[EnvInject] - Loading node environment variables.
Building remotely on mirrors.phx.ovirt.org (mirrors) in workspace <http://jenkins.ovirt.org/job/system-sync_mirrors-epel-el6-x86_64/ws/>
> git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
> git config remote.origin.url http://gerrit.ovirt.org/jenkins.git # timeout=10
Cleaning workspace
> git rev-parse --verify HEAD # timeout=10
Resetting working tree
> git reset --hard # timeout=10
> git clean -fdx # timeout=10
Pruning obsolete local branches
Fetching upstream changes from http://gerrit.ovirt.org/jenkins.git
> git --version # timeout=10
> git fetch --tags --progress http://gerrit.ovirt.org/jenkins.git +refs/heads/*:refs/remotes/origin/* --prune
> git rev-parse origin/master^{commit} # timeout=10
Checking out Revision c9e3c53cb807ba71508f614c1deb34f9a4d68de8 (origin/master)
> git config core.sparsecheckout # timeout=10
> git checkout -f c9e3c53cb807ba71508f614c1deb34f9a4d68de8
Commit message: "system-tests: drop sbonazzo from notified list"
> git rev-list --no-walk c9e3c53cb807ba71508f614c1deb34f9a4d68de8 # timeout=10
[system-sync_mirrors-epel-el6-x86_64] $ /bin/bash -xe /tmp/jenkins1090516763783944665.sh
+ jenkins/scripts/mirror_mgr.sh resync_yum_mirror epel-el6 x86_64 jenkins/data/mirrors-reposync.conf
Checking if mirror needs a resync
Traceback (most recent call last):
File "/usr/bin/reposync", line 343, in <module>
main()
File "/usr/bin/reposync", line 175, in main
my.doRepoSetup()
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 681, in doRepoSetup
return self._getRepos(thisrepo, True)
File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 721, in _getRepos
self._repos.doSetup(thisrepo)
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 157, in doSetup
self.retrieveAllMD()
File "/usr/lib/python2.7/site-packages/yum/repos.py", line 88, in retrieveAllMD
dl = repo._async and repo._commonLoadRepoXML(repo)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 1465, in _commonLoadRepoXML
local = self.cachedir + '/repomd.xml'
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 774, in <lambda>
cachedir = property(lambda self: self._dirGetAttr('cachedir'))
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 757, in _dirGetAttr
self.dirSetup()
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 735, in dirSetup
self._dirSetupMkdir_p(dir)
File "/usr/lib/python2.7/site-packages/yum/yumRepo.py", line 712, in _dirSetupMkdir_p
raise Errors.RepoError, msg
yum.Errors.RepoError: Error making cache directory: /home/jenkins/mirrors_cache/centos-updates-el7 error was: [Errno 17] File exists: '/home/jenkins/mirrors_cache/centos-updates-el7'
Build step 'Execute shell' marked build as failure
6 years, 3 months