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

Bug 1766579

Summary: imgbased build is not disabling anymore repositories
Product: [oVirt] imgbased Reporter: Sandro Bonazzola <sbonazzo>
Component: GeneralAssignee: Yuval Turgeman <yturgema>
Status: CLOSED CURRENTRELEASE QA Contact: Wei Wang <weiwang>
Severity: urgent Docs Contact:
Priority: urgent    
Version: ---CC: bugs, cshao, lsvaty, mavital, nlevy, peyu, qiyuan, sbonazzo, shlei, weiwang, yaniwang, yturgema
Target Milestone: ovirt-4.4.0Keywords: Regression
Target Release: 1.2.6Flags: sbonazzo: ovirt-4.4?
sbonazzo: blocker?
shlei: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: imgbased-1.2.6 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-05-20 20:00:14 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Node RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1696701    

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.