Bug 2048888 - Bad repositories on fresh install of oVirt Node
Summary: Bad repositories on fresh install of oVirt Node
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-node
Classification: oVirt
Component: Installation & Update
Version: 4.4.10
Hardware: All
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.4.10-1
: 4.4.10
Assignee: Lev Veyde
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-01 05:19 UTC by k.balcius
Modified: 2022-02-02 21:18 UTC (History)
3 users (show)

Fixed In Version: ovirt-node-ng-installer-4.4.10-2022020214.el8.iso
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-02 16:12:07 UTC
oVirt Team: Node
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-44586 0 None None None 2022-02-01 05:21:10 UTC

Description k.balcius 2022-02-01 05:19:48 UTC
Description of problem:


Version-Release number of selected component (if applicable):
Tried with 4.4.9 and with 4.4.10

How reproducible:
Fresh install of Ovirt node

Steps to Reproduce:
1. Install new node (4.4.9 or 4.4.10)
2. connect to server and execute "dnf update"
3. Get Error about no mirrors in repositories list

Actual results:

Cannot do system update through "dnf update"
Cannot configure Gluster, it fails on package installation step

Expected results:



Additional info:

These three mirror lists are the problem.
$releasever is set to "8" it seems it should be "8-stream" for these lists.
Thent it forms URL's correctly.


[ovirt-4.4-centos-gluster8]
name = CentOS-$releasever - Gluster 8
mirrorlist = http://mirrorlist.centos.org?arch=$basearch&release=$releasever&repo=storage-gluster-8
gpgcheck = 1
enabled = 1
gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Storage
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options




[ovirt-4.4-centos-opstools]
name = CentOS-8 - OpsTools - collectd
mirrorlist = http://mirrorlist.centos.org/?arch=$basearch&release=$releasever&repo=opstools-collectd-5
gpgcheck = 1
enabled = 1
gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-OpsTools
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options



[ovirt-4.4-openstack-victoria]
name = OpenStack Victoria Repository
baseurl = http://mirror.centos.org/centos/$releasever/cloud/$basearch/openstack-victoria/
gpgcheck = 1
enabled = 1
module_hotfixes = 1
gpgkey = https://www.centos.org/keys/RPM-GPG-KEY-CentOS-SIG-Cloud
includepkgs = ovirt-node-ng-image-update ovirt-node-ng-image ovirt-engine-appliance vdsm-hook-fcoe vdsm-hook-vhostmd vdsm-hook-openstacknet vdsm-hook-ethtool-options

Comment 1 Lev Veyde 2022-02-02 16:08:53 UTC
The issue was due to the CentOS 8 becoming EOL'd, and all OS related yum repos being removed.
Thus links to the repos at the expected locations becoming broken.

We provided a fixed ovirt-release build:

https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ovirt-release-host-node-4.4.10.1-1.el8.noarch.rpm

and have built a new oVirt node-ng image:

https://resources.ovirt.org/pub/ovirt-4.4/iso/ovirt-node-ng-installer/4.4.10-2022020214/el8/ovirt-node-ng-installer-4.4.10-2022020214.el8.iso

Comment 2 Lev Veyde 2022-02-02 16:11:10 UTC
The fixed ovirt-release package is here:

https://resources.ovirt.org/pub/ovirt-4.4/rpm/el8/noarch/ovirt-release44-4.4.10.1-1.el8.noarch.rpm

Comment 3 abdulk.ellahib 2022-02-02 21:18:38 UTC
It seems the issue is ongoing with the new release except that it occurs during engine deployment despite no issue with dnf update or mirrors - running this new release package

Last metadata expiration check: 0:16:24 ago on Wed 02 Feb 2022 01:57:52 PM MST.
Dependencies resolved.
Nothing to do.
Complete!


Error during EngineDeployment:
[ ERROR ] fatal: [localhost -> 192.168.222.193]: FAILED! => {"changed": false, "msg": "Failed to download metadata for repo 'ovirt-4.4-centos-gluster8': Cannot prepare internal mirrorlist: No URLs in mirrorlist", "rc": 1, "results": []}
[ INFO ] TASK [ovirt.ovirt.hosted_engine_setup : Sync on engine machine]

Should I make a new bug report for this?


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