Bug 1167903 - versionlock.list is not filtered if engine is not installed
Summary: versionlock.list is not filtered if engine is not installed
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Setup.Engine
Version: 3.5.5
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ovirt-4.2.0
: 4.2.0
Assignee: Ido Rosenzwig
QA Contact: Radim Hrazdil
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-11-25 15:25 UTC by Yedidyah Bar David
Modified: 2019-04-28 13:57 UTC (History)
10 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:41:55 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.2+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 79705 0 master MERGED packaging: setup: Add dwh-packages to versionlock filter 2017-07-27 07:24:00 UTC

Description Yedidyah Bar David 2014-11-25 15:25:24 UTC
Description of problem:

If e.g. we install only ovirt-engine-reports and then upgrade, each upgrade adds another line to /etc/yum/pluginconf.d/versionlock.list .

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

3.5

How reproducible:

always

Steps to Reproduce:
1. install and setup on machine A
2. install and setup dwh/reports on other machines
3. run engine-setup again on the other machines

Actual results:

duplicate lines appear in versionlock.list

Expected results:

Only a single line should appear

Additional info:

See bug 1150108 .

We need to clean up versionlock management - perhaps separate some code to base/common.

Comment 1 Red Hat Bugzilla Rules Engine 2015-10-19 10:57:22 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Sandro Bonazzola 2016-05-02 09:47:47 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 3 Yaniv Lavi 2016-05-23 13:12:46 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 4 Ido Rosenzwig 2017-07-27 12:08:13 UTC
Bug can be tested with the following flows:

1. setup engine+dwh, check versionlock, upgrade, check versionlock
2. setup engine only, check versionlock, setup/upgrade and add DWH (--reconfigure-optional-components), check versionlock
3. Install dwh only on separate machine, setup, check versionlock, upgrade, check versionlock
4. install dwh+engine on separate machine, setup dwh only, check versionlock, upgrade, check versionlock

Comment 5 Radim Hrazdil 2017-09-12 10:32:22 UTC
Verified that after performing flows suggested by Ido in comment 4, no lines are duplicated in
ovirt-engine-4.2.0-0.0.master.20170911195522.

Comment 6 Sandro Bonazzola 2017-12-20 10:41:55 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

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


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