Bug 1919803 - engine-setup doesn't setup the latest ovirt-engine
Summary: engine-setup doesn't setup the latest ovirt-engine
Keywords:
Status: CLOSED DUPLICATE of bug 1908617
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 4.4.5.1
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ovirt-4.4.5
: ---
Assignee: Yedidyah Bar David
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-25 08:08 UTC by Michael Burman
Modified: 2021-07-11 01:56 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2021-01-26 11:26:29 UTC
oVirt Team: Integration
Embargoed:
pm-rhel: ovirt-4.4+
sbonazzo: blocker?


Attachments (Terms of Use)
engine-setup logfiles from upstream installation (1.38 MB, application/x-xz)
2021-01-25 12:24 UTC, Dominik Holler
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 113137 0 master ABANDONED minidnf: Override conf best 2021-08-03 12:13:48 UTC
oVirt gerrit 113151 0 master MERGED minidnf: Pass cli to init_plugins 2021-02-16 13:51:02 UTC

Description Michael Burman 2021-01-25 08:08:47 UTC
Description of problem:
engine-setup doesn't setup the latest ovirt-engine

We have noticed that engine-setup doesn't setup and install latest engine, even if the relevant packages were just downloaded.

After installing latest 4.4.5-11 or 4.4.5-2 rpm and running update to the engine packages. The engine-setup executed right after doesn't install the new ovirt-engine packages as expected.
This is most probaly becuase the repo link contains both 4.4.4.7 and 4.4.5 packages and engine-setup got confused by it.

Version-Release number of selected component (if applicable):
4.4.5-11

How reproducible:
100%

Steps to Reproduce:
1. Have a running 4.4.4.7 or 4.4.5-11 RHV engine
2. Install latest 4.4.5-2 rpm
3. update ovirt-engine
4. run engine-setup

Actual results:
All ovirt-engine packages are updated as expected. BUt, engine-setup doesn't recognize any updates and doesn't install anything.
While the UI plugin shows Version 4.4.5.2-0.1.el8ev
the query on the host shows rhvm-4.4.4.7-0.1.el8ev.noarch
The engine-backend wasn't installed. 

Expected results:
engine-setup must recognize the new ovirt-engine packages and install them as expected. 

Additional info:
I suspect that the reason for it is that the link repo contain 4.4.4.7 and 4.4.5-2 ovirt-engine packages and this confuses the engine.
http://bob.eng.lab.tlv.redhat.com/builds/4.4/rhv-4.4.5-1/el8/noarch/
http://bob.eng.lab.tlv.redhat.com/builds/4.4/rhv-4.4.5-2/el8/noarch/

Comment 1 Lukas Svaty 2021-01-25 09:08:03 UTC
Updating severity - upgrade issues.

Comment 2 Dominik Holler 2021-01-25 10:12:21 UTC
[root@ovirt-master ~]#yum versionlock status
Last metadata expiration check: 0:02:58 ago on Mon 25 Jan 2021 11:06:19 AM CET.
No package found for: status
[root@ovirt-master ~]# cat /etc/yum/pluginconf.d/versionlock.list
ovirt-engine-tools-backup-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-ui-extensions-1.2.4-1.20201218gita3cfc8f.el8.noarch
ovirt-engine-extension-aaa-jdbc-1.2.1-0.119.202006231307.el8.noarch
ovirt-engine-wildfly-overlay-21.0.2-1.el8.noarch
ovirt-engine-dbscripts-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-restapi-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-dwh-4.4.5-0.0.master.20210106102915.el8.noarch
ovirt-engine-backend-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-tools-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-webadmin-portal-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
ovirt-engine-wildfly-21.0.2-1.el8.x86_64
ovirt-engine-4.4.5-0.0.master.20210107093954.git9543a72eaaf.el8.noarch
[root@ovirt-master ~]# cp /etc/yum/pluginconf.d/versionlock.list .
[root@ovirt-master ~]# yum versionlock clear
Last metadata expiration check: 0:03:48 ago on Mon 25 Jan 2021 11:06:19 AM CET.
[root@ovirt-master ~]# yum update
Last metadata expiration check: 0:03:53 ago on Mon 25 Jan 2021 11:06:19 AM CET.
Dependencies resolved.
========================================================================
 Package                      Arch   Version
                                            Repository             Size
========================================================================
Upgrading:
 ovirt-engine                 noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot  13 M
 ovirt-engine-backend         noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot 7.2 M
 ovirt-engine-dbscripts       noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot 340 k
 ovirt-engine-dwh             noarch 4.4.6-0.0.master.20210124105143.el8
                                            ovirt-master-snapshot 2.2 M
 ovirt-engine-restapi         noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot 5.3 M
 ovirt-engine-tools           noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot 319 k
 ovirt-engine-tools-backup    noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot  36 k
 ovirt-engine-webadmin-portal noarch 4.4.5.3-0.0.master.20210124185803.gitfa64f21ea45.el8
                                            ovirt-master-snapshot 8.6 M
 ovirt-engine-wildfly         x86_64 22.0.0-1.el8
                                            ovirt-master-snapshot 188 M
 ovirt-engine-wildfly-overlay noarch 22.0.0-1.el8
                                            ovirt-master-snapshot 8.8 k

Transaction Summary
========================================================================
Upgrade  10 Packages

Total download size: 225 M

Comment 3 Yedidyah Bar David 2021-01-25 12:17:35 UTC
Please attach setup logs. Thanks.

Comment 4 Dominik Holler 2021-01-25 12:24:36 UTC
Created attachment 1750500 [details]
engine-setup logfiles from upstream installation

Comment 6 Yedidyah Bar David 2021-01-26 11:26:29 UTC
Decided to close as duplicate of bug 1908617, as current was caused by the fix for that one - and since it's in QE, no need to have to bugs.

*** This bug has been marked as a duplicate of bug 1908617 ***


Note You need to log in before you can comment on or make changes to this bug.