Bug 2010049 - ovirt-release-master installs non-existing repos
Summary: ovirt-release-master installs non-existing repos
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-release
Classification: oVirt
Component: Fedora
Version: 4.4.9
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Sandro Bonazzola
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-03 08:55 UTC by Nir Soffer
Modified: 2022-04-20 06:30 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2022-01-19 14:59:20 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.5+
sbonazzo: devel_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43739 0 None None None 2021-10-03 09:00:56 UTC
oVirt gerrit 116926 0 master MERGED packaging: address errors 2021-10-04 09:02:57 UTC

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.


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