Bug 1766579 - imgbased build is not disabling anymore repositories
Summary: imgbased build is not disabling anymore repositories
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: imgbased
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-4.4.0
: 1.2.6
Assignee: Yuval Turgeman
QA Contact: Wei Wang
URL:
Whiteboard:
Depends On:
Blocks: 1696701
TreeView+ depends on / blocked
 
Reported: 2019-10-29 12:49 UTC by Sandro Bonazzola
Modified: 2020-05-20 20:00 UTC (History)
12 users (show)

Fixed In Version: imgbased-1.2.6
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-05-20 20:00:14 UTC
oVirt Team: Node
Embargoed:
sbonazzo: ovirt-4.4?
sbonazzo: blocker?
shlei: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 104451 0 'None' MERGED Disable repos using configparser 2020-05-21 02:03:57 UTC

Description Sandro Bonazzola 2019-10-29 12:49:15 UTC
oVirt Node 4.4.0 presents oVirt repos all enabled.

Each one of them has 2 enabled entry:
"enabled=1"
and
"enabled = 1"

seems like regex used in build module is failing disabling the repos for enabling only the one needed for Node updates.

Comment 3 shiyi lei 2019-10-31 06:51:44 UTC
I reproduced this bug:

Test Step:
1. Install ovirt-node-ng-installer-4.4.0-2019102907.el8.iso;
2. Login to RHVH and check:
   # cd /etc/yum.repos.d
   # vi ovirt-master-snapshot.repo

Test Result:
 imgbased: set-enabled
[ovirt-master-snapshot]
enabled=1
name = Latest oVirt master nightly snapshot
baseurl = https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/el$releasever/
enabled = 1
gpgcheck = 0
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance

[ovirt-master-snapshot-static]
enabled=1
name = Latest oVirt master additional nightly snapshot
baseurl = https://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/el$releasever/
enabled = 1
gpgcheck = 0
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance


Therefore, QE can reproduce this bug.

Comment 5 Wei Wang 2019-12-16 04:18:08 UTC
Test Version:
ovirt-node-ng-installer-4.4.0-2019121507.el8.iso
imgbased-1.2.6-0.1.el8.noarch

Test Steps:
According to comment 3

Result:
Each one of them has one enabled entry.


Bug is fixed, change to "VERIFIED"

Comment 6 Sandro Bonazzola 2020-05-20 20:00:14 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 release, 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.