Bug 1599525 - ovirt-web-ui is not getting updating during engine-setup which is creating unexpected results
Summary: ovirt-web-ui is not getting updating during engine-setup which is creating un...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.2.4
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.3.0
: ---
Assignee: Michal Skrivanek
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1609175
TreeView+ depends on / blocked
 
Reported: 2018-07-10 02:32 UTC by nijin ashok
Modified: 2020-02-26 07:52 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1609175 (view as bug list)
Environment:
Last Closed: 2019-05-08 12:37:51 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1608093 0 medium CLOSED VM Portal white screen within a few seconds of initial render 2021-12-10 16:55:26 UTC
Red Hat Product Errata RHEA-2019:1085 0 None None None 2019-05-08 12:38:14 UTC
oVirt gerrit 93039 0 master MERGED packaging: add ovirt-web-ui to auto-upgraded packages 2020-02-25 12:16:43 UTC
oVirt gerrit 93348 0 ovirt-engine-4.2 MERGED packaging: add ovirt-web-ui to auto-upgraded packages 2020-02-25 12:16:43 UTC

Internal Links: 1608093

Description nijin ashok 2018-07-10 02:32:31 UTC
Description of problem:

Currently, the ovirt-web-ui is not getting updated during engine-setup. So if a user upgrades the RHV-M from 4.1 to 4.2, the ovirt-web-ui package will be still from 4.1.

The server was upgraded successfully to 4.2 but ovirt-web-ui is not upgraded.

rpm -qa|egrep -i "rhvm|web-ui"
rhvm-doc-4.2.5-1.el7ev.noarch
rhvm-4.2.4.5-0.1.el7_3.noarch
ovirt-web-ui-1.2.1-1.el7ev.noarch
rhvm-setup-plugins-4.2.9-1.el7ev.noarch
rhvm-dependencies-4.2.1-1.el7ev.noarch
rhvm-branding-rhv-4.2.3-1.el7ev.noarch


Because of 4.1 ovirt-web-ui and 4.2 manager, the customer was seeing all the VMs in the user portal although the user doesn't have permission to see these users. This was resolved after he upgraded the ovirt-web-ui manually.


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

RHV 4.2.4

How reproducible:

100%

Steps to Reproduce:

1. Upgrade RHV-M from 4.1 to 4.2. 
2. The ovirt-web-ui is not getting updated and has to update manually.

Actual results:

ovirt-web-ui not getting updated during engine-setup

Expected results:


Additional info:

Comment 1 Michal Skrivanek 2018-07-11 03:41:01 UTC
we would add it to the list of packages updated by engine-setup. No need to lock/hide it really, but updating it as part of regular engine upgrade as makes sense.
Didi, where exactly it should be added?

Comment 2 Yedidyah Bar David 2018-07-11 05:08:17 UTC
(In reply to Michal Skrivanek from comment #1)
> we would add it to the list of packages updated by engine-setup. No need to
> lock/hide it really, but updating it as part of regular engine upgrade as
> makes sense.
> Didi, where exactly it should be added?

In packaging/setup/ovirt_engine_setup/engine/constants.py : DEFAULT_ADDITIONAL_PACKAGES .

Comment 3 Yedidyah Bar David 2018-07-11 05:11:23 UTC
Please note that you now just require it, by the engine, without any version. Is a new version compatible with an old engine? If not, this will fail:

1. Install and setup old engine (say, 4.1)
2. Add newer repo/channel (say, 4.2)
3. yum update (but do not run engine-setup)
4. restart engine?

If you want to prevent that, either require/conflict with specific versions, or add also to versionlock. Or both.

Comment 4 Michal Skrivanek 2018-07-11 06:17:05 UTC
It is compatible, it’s just outdated when people only use engine-setup and not do full yum update

Comment 6 Lucie Leistnerova 2018-09-06 07:10:09 UTC
engine-setup updates ovirt-web-ui package

verified in ovirt-engine-setup-4.3.0-0.0.master.20180903111244.git94dce75.el7.noarch

Comment 8 errata-xmlrpc 2019-05-08 12:37:51 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:1085

Comment 9 Daniel Gur 2019-08-28 13:13:40 UTC
sync2jira

Comment 10 Daniel Gur 2019-08-28 13:17:54 UTC
sync2jira


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