Travis is failing for ovirt-engine
by Sandro Bonazzola
Hi,
I was wondering why sonar reports were not updated recently and I seen that
travis is failing:
etting environment variables from .travis.yml
272$ export SONAR_TOKEN=[secure]
273
cache.1
274Setting up build cache
275$ export CASHER_DIR=${TRAVIS_HOME}/.casher
2760.29s$ Installing caching utilities
2770.00s1.42sattempting to download cache archive
278fetching master/cache--linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk11.tgz
279fetching master/cache-linux-xenial-e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855--jdk-openjdk11.tgz
280fetching master/cache--jdk-openjdk11.tgz
281could not download cache
2820.00s0.89sadding /home/travis/.m2 to cache
283
284$ java -Xmx32m -version
285openjdk version "11.0.2" 2019-01-15
286OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
287OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
288$ javac -J-Xmx32m -version
289javac 11.0.2
install
2900.00s$ true
2910.05s$ sudo -u postgres psql -c "CREATE USER engine_test WITH
PASSWORD 'test';"
292could not change directory to
"/home/travis/build/oVirt/ovirt-engine": Permission denied
293psql: error: could not connect to server: No such file or directory
294 Is the server running locally and accepting
295 connections on Unix domain socket "/var/run/postgresql/.s.PGSQL.5432"?
296The command "sudo -u postgres psql -c "CREATE USER engine_test WITH
PASSWORD 'test';"" failed and exited with 2 during .
297
298Your build has been stopped.
+Martin Perina <mperina(a)redhat.com> , +Roman Mohr <rmohr(a)redhat.com> any
idea on how to fix it?
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.
<https://mojo.redhat.com/docs/DOC-1199578>*
3 years, 11 months
how does host's status changes ? Especially Unassigned or NonOperational or NonResponsible
by lifuqiong@sunyainfo.com
Hi all,
I'm confusing in Host's status in Ovirt Eninge.
When will the host's status become Unassigned or NonOperational or NonResponsible? and If the host's status change to these statuses, What will ovirt response to it?
After reading Ovirt Engine's source code, I find Only HostMonitoring.java and AutoRecoveryManager.java will change the status of Host.
for example, If the host's status is changed to NonOperational, The AutoRecoveryManager will traverse the NonOperational hosts and calling ActivateVdsCommand.java, which will only set the Host's status to Unassigned ? But I don't know What's the next step?
So where I can find the article or manual or other helpful information about this question?
Thank you .
Your sincerely
Mark
3 years, 11 months
centos stream - packages conflicts
by lejeczek
hi guys,
bit of a heads-up here...
-> $ dnf update
Last metadata expiration check: 14:44:18 ago on Wed 13 Jan
2021 21:48:53 GMT.
Error:
Problem 1: package ovirt-host-4.4.1-4.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package cockpit-bridge-234-1.el8.x86_64 conflicts with
cockpit-dashboard < 233 provided by
cockpit-dashboard-217-1.el8.noarch
- cannot install the best update candidate for package
ovirt-host-4.4.1-4.el8.x86_64
- cannot install the best update candidate for package
cockpit-bridge-217-1.el8.x86_64
Problem 2: problem with installed package
ovirt-host-4.4.1-4.el8.x86_64
- package ovirt-host-4.4.1-4.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package cockpit-system-234-1.el8.noarch obsoletes
cockpit-dashboard provided by cockpit-dashboard-217-1.el8.noarch
- cannot install the best update candidate for package
cockpit-dashboard-217-1.el8.noarch
Problem 3: package
ovirt-hosted-engine-setup-2.4.9-1.el8.noarch requires
ovirt-host >= 4.4.0, but none of the providers can be installed
- package ovirt-host-4.4.1-4.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package ovirt-host-4.4.1-1.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package ovirt-host-4.4.1-2.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package ovirt-host-4.4.1-3.el8.x86_64 requires
cockpit-dashboard, but none of the providers can be installed
- package cockpit-system-234-1.el8.noarch obsoletes
cockpit-dashboard provided by cockpit-dashboard-217-1.el8.noarch
- cannot install the best update candidate for package
ovirt-hosted-engine-setup-2.4.9-1.el8.noarch
- cannot install the best update candidate for package
cockpit-system-217-1.el8.noarch
(try to add '--allowerasing' to command line to replace
conflicting packages or '--skip-broken' to skip
uninstallable packages or '--nobest' to use not only best
candidate packages)
regards, L.
3 years, 11 months
oVirt 4.4.5: CentOS Linux or CentOS Stream?
by Sandro Bonazzola
Hi,
on master we switched both oVirt Node and oVirt Appliance to CentOS Stream
in order to catch gaps earlier.
We are composing today 4.4.5 RC1 and we haven't backported yet the
switching to CentOS Stream within Node and Appliance.
Are you aware of any existing issue preventing us to switch to CentOS
Stream with 4.4.5 RC2 next week?
Is there any reason for holding the switch for Node and Appliance and
postponing the move to CentOS Stream to 4.4.6?
Thanks,
--
Sandro Bonazzola
MANAGER, SOFTWARE ENGINEERING, EMEA R&D RHV
Red Hat EMEA <https://www.redhat.com/>
sbonazzo(a)redhat.com
<https://www.redhat.com/>
*Red Hat respects your work life balance. Therefore there is no need to
answer this email out of your office hours.*
3 years, 11 months
Duplicate key Error
by tommy
Hi, everyone:
I meet this error in my env.
Jan 13 15:36:15 ooengh2.tltd.com libvirtd[1883]: internal error: Duplicate
key
Jan 13 15:36:15 ooengh2.tltd.com vdsm[2486]: ERROR Internal server error
Traceback (most recent call
last):
File
"/usr/lib/python2.7/site-packages/yajsonrpc/__init__.py", line 345, in
_handle_request
res = method(**params)
File
"/usr/lib/python2.7/site-packages/vdsm/rpc/Bridge.py", line 198, in
_dynamicMethod
result = fn(*methodArgs)
File "<string>", line 2, in
getCapabilities
File
"/usr/lib/python2.7/site-packages/vdsm/common/api.py", line 50, in method
ret = func(*args, **kwargs)
File
"/usr/lib/python2.7/site-packages/vdsm/API.py", line 1371, in
getCapabilities
c = caps.get()
File
"/usr/lib/python2.7/site-packages/vdsm/host/caps.py", line 93, in get
machinetype.compatible_cpu_models())
File
"/usr/lib/python2.7/site-packages/vdsm/common/cache.py", line 43, in
__call__
value = self.func(*args)
File
"/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 142, in
compatible_cpu_models
all_models =
domain_cpu_models(c, arch, cpu_mode)
File
"/usr/lib/python2.7/site-packages/vdsm/machinetype.py", line 97, in
domain_cpu_models
domcaps =
conn.getDomainCapabilities(None, arch, None, virt_type, 0)
File
"/usr/lib/python2.7/site-packages/vdsm/common/libvirtconnection.py", line
131, in wrapper
ret = f(*args, **kwargs)
File
"/usr/lib/python2.7/site-packages/vdsm/common/function.py", line 94, in
wrapper
return func(inst, *args,
**kwargs)
File
"/usr/lib64/python2.7/site-packages/libvirt.py", line 3844, in
getDomainCapabilities
if ret is None: raise
libvirtError ('virConnectGetDomainCapabilities() failed', conn=self)
libvirtError: internal error:
Duplicate key
Someone can give me some advice ?
Thanks.
3 years, 11 months
Re: Ovirt Question
by Steven Rosenberg
Dear Lavi,
I am ccing others who may have a better idea than me. In the meantime if
you could provide the engine and vdsm logs, we may be able to
ascertain what is actually failing.
Thank you for your enquiry.
With Best Regards.
Steven.
On Sun, Jan 10, 2021 at 6:19 PM Lavi Bochnik <lavi.bochnik(a)gmail.com> wrote:
> Hi,
>
> I came across your page in github:
> https://github.com/oVirt/ovirt-engine-sdk/tree/master/sdk/examples
>
> I wonder if its possible to define Affinity label to a new VM while adding
> the VM.
> I tried this:
> vm = vms_service.add(
> types.Vm(
> ........
> affinity_labels=types.AffinityLabel(id=label_id)
> )
>
> But I'm getting this error:
> TypeError: 'AffinityLabel' object is not iterable
>
> ** I'm taking the label_id from the list of Affinity labels beforehands.
>
> I saw your example of assigning the label to VM. but this is good for when
> the VM is already up and running.
>
> Can you please advise how to assign an affinity label at the time of
> adding/creating a new VM?
>
> Thanks in advance,
> Lavi
>
>
>
>
3 years, 11 months
Re: Change in releng-tools[master]: 4.4.5_rc1: Add otopi-1.9.3
by Yedidyah Bar David
On Wed, Jan 13, 2021 at 4:11 PM Code Review <gerrit(a)ovirt.org> wrote:
>
> From Jenkins CI <jenkins(a)ovirt.org>:
>
> Jenkins CI has posted comments on this change. ( https://gerrit.ovirt.org/c/releng-tools/+/112962 )
>
> Change subject: 4.4.5_rc1: Add otopi-1.9.3
> ......................................................................
>
>
> Patch Set 1: Continuous-Integration-1
>
> Build Failed
>
> https://jenkins.ovirt.org/job/releng-tools_standard-check-patch/1976/ : FAILURE
I think it failed due to:
[2021-01-13T14:07:34.367Z] 2021-01-13
14:07:34,249::ERROR::repoman.common.sources.jenkins::URL:
https://jenkins.ovirt.org/job/cockpit-ovirt_standard-on-merge/146//api/js...
[2021-01-13T14:07:34.367Z] Status: 404
And indeed, this shows 404:
https://jenkins.ovirt.org/job/cockpit-ovirt_standard-on-merge/146/
How to continue?
ci re-merge in https://gerrit.ovirt.org/c/cockpit-ovirt/+/112812 ?
Something else?
Also: I wasn't aware of the following: Does this mean that we must
press "Keep this build forever" for every build to be released? If so,
can this somehow be automatic? E.g. by making build-artifacts of
releng-tools do this for each build it added? Extra points for also
changing its description accordingly...
Thanks and best regards,
>
>
> --
> To view, visit https://gerrit.ovirt.org/c/releng-tools/+/112962
> To unsubscribe, or for help writing mail filters, visit https://gerrit.ovirt.org/settings
>
> Gerrit-Project: releng-tools
> Gerrit-Branch: master
> Gerrit-Change-Id: Ib1860e7a3a96f219d86dc921784a53800fa198fb
> Gerrit-Change-Number: 112962
> Gerrit-PatchSet: 1
> Gerrit-Owner: Yedidyah Bar David <didi(a)redhat.com>
> Gerrit-Reviewer: Asaf Rachmani <arachman(a)redhat.com>
> Gerrit-Reviewer: Dusan Fodor <dfodor(a)redhat.com>
> Gerrit-Reviewer: Jenkins CI <jenkins(a)ovirt.org>
> Gerrit-Reviewer: Lev Veyde <lveyde(a)redhat.com>
> Gerrit-Reviewer: Nir Levy <nlevy(a)redhat.com>
> Gerrit-Reviewer: Sandro Bonazzola <sbonazzo(a)redhat.com>
> Gerrit-Reviewer: Yedidyah Bar David <didi(a)redhat.com>
> Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>
> Gerrit-Comment-Date: Wed, 13 Jan 2021 14:11:29 +0000
> Gerrit-HasComments: No
> Gerrit-Has-Labels: Yes
> Gerrit-MessageType: comment
>
--
Didi
3 years, 11 months
basic suite master fails on test_add_vm_pool
by Galit Rosenthal
Hi,
Basic suite master fails on test_add_vm_pool [1]:
2021-01-13 04:49:22,106+01 INFO
[org.ovirt.engine.core.bll.AddVmPoolCommand] (default task-1)
[dfd8e322-0ae8-4b41-ab77-a06df07f7e1f] Lock freed to object
'EngineLock:{exclusiveLocks='[test-pool=VM_POOL_NAME]', sharedLocks=''}'
2021-01-13 04:49:22,164+01 DEBUG
[org.ovirt.engine.core.common.di.interceptor.DebugLoggingInterceptor]
(default task-1) [dfd8e322-0ae8-4b41-ab77-a06df07f7e1f] method:
getByNameForDataCenter, params: [ef42b9cc-d4e4-4400-bed1-076c81262682,
test-pool-1, null, false], timeElapsed: 33ms
2021-01-13 04:49:22,164+01 DEBUG
[org.ovirt.engine.core.bll.IsVmWithSameNameExistQuery] (default
task-1) [dfd8e322-0ae8-4b41-ab77-a06df07f7e1f] Query
IsVmWithSameNameExistQuery took 33 ms
2021-01-13 04:49:22,165+01 ERROR
[org.ovirt.engine.core.bll.AddVmPoolCommand] (default task-1) []
Command 'org.ovirt.engine.core.bll.AddVmPoolCommand' failed: null
2021-01-13 04:49:22,165+01 ERROR
[org.ovirt.engine.core.bll.AddVmPoolCommand] (default task-1) []
Exception: java.lang.NullPointerException
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommonVmPoolCommand.buildAddVmParameters(CommonVmPoolCommand.java:316)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommonVmPoolCommand.addVmsToPool(CommonVmPoolCommand.java:250)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommonVmPoolCommand.executeCommand(CommonVmPoolCommand.java:232)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeWithoutTransaction(CommandBase.java:1175)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeActionInTransactionScope(CommandBase.java:1333)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.runInTransaction(CommandBase.java:2009)
at org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInSuppressed(TransactionSupport.java:140)
at org.ovirt.engine.core.utils//org.ovirt.engine.core.utils.transaction.TransactionSupport.executeInScope(TransactionSupport.java:79)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.execute(CommandBase.java:1393)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.CommandBase.executeAction(CommandBase.java:425)
at deployment.engine.ear.bll.jar//org.ovirt.engine.core.bll.executor.DefaultBackendActionExecutor.execute(DefaultBackendActionExecutor.java:13)
Can some one take a look?
Thanks
Galit
[1]
https://jenkins.ovirt.org/job/ovirt-system-tests_basic-suite-master_el8ni...
--
Galit Rosenthal
SOFTWARE ENGINEER
Red Hat <https://www.redhat.com/>
galit(a)redhat.com T: 972-9-7692230
<https://www.redhat.com/>
3 years, 11 months