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

Bug 2010049

Summary: ovirt-release-master installs non-existing repos
Product: [oVirt] ovirt-release Reporter: Nir Soffer <nsoffer>
Component: FedoraAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED CURRENTRELEASE QA Contact: Lucie Leistnerova <lleistne>
Severity: medium Docs Contact:
Priority: low    
Version: 4.4.9CC: bugs, mavital
Target Milestone: ovirt-4.5.0Flags: sbonazzo: ovirt-4.5+
sbonazzo: devel_ack+
Target Release: 4.5.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-01-19 14:59:20 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 Nir Soffer 2021-10-03 08:55:00 UTC
Description of problem:

Installing ovirt-relerase-master.rpm:
https://resources.ovirt.org/pub/yum-repo/ovirt-release-master.rpm

Installs /etc/yum.repos.d/ovirt-master-snapshot.repo with:

[ovirt-master-snapshot]
name=Latest oVirt master nightly snapshot
#baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot/rpm/fc$releasever/
mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-fc$releasever
enabled=1
gpgcheck=0
countme=1
fastestmirror=1

[ovirt-master-snapshot-static]
name=Latest oVirt master additional nightly snapshot
#baseurl=https://resources.ovirt.org/pub/ovirt-master-snapshot-static/rpm/fc$releasever/
mirrorlist=https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-static-fc$releasever
enabled=1
gpgcheck=0
countme=1
fastestmirror=1

Accessing the mirrorlist returns:

$ curl -i https://resources.ovirt.org/pub/yum-repo/mirrorlist-ovirt-master-snapshot-fc34
HTTP/1.1 200 OK
Date: Sun, 03 Oct 2021 08:51:39 GMT
Server: Apache/2.4.6 (CentOS)
Vary: Accept-Encoding
Connection: close
Transfer-Encoding: chunked
Content-Type: text/plain

# Generated on Sun Oct  3 08:51:39 UTC 2021
# Mirrorlist mirrorlist-ovirt-master-snapshot-fc34 not available, make sure it's in the form mirrorlist-ovirt-${version}-${distribution}.
# And that is one of:

I guess that there are no mirrors since we don't support Fedora now, but this is an issue for developers, since most developers use latest Fedora version.

If we don't build any package for Fedora, we should not install repo files with broken URLs.

Last, returning "200 OK" when we don't have any mirror smells wrong, based on the error message, this should be "404 Not Found".

Comment 1 Sandro Bonazzola 2022-04-20 06:30:33 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

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