Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1167903

Summary: versionlock.list is not filtered if engine is not installed
Product: [oVirt] ovirt-engine Reporter: Yedidyah Bar David <didi>
Component: Setup.EngineAssignee: Ido Rosenzwig <irosenzw>
Status: CLOSED CURRENTRELEASE QA Contact: Radim Hrazdil <rhrazdil>
Severity: medium Docs Contact:
Priority: low    
Version: 3.5.5CC: bugs, dfediuck, lsurette, lsvaty, rbalakri, sbonazzo, sradco, srevivo, ykaul, ylavi
Target Milestone: ovirt-4.2.0Flags: rule-engine: ovirt-4.2+
lsvaty: testing_ack+
Target Release: 4.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-12-20 10:41:55 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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.