SIG Packages in Extras

Hello everyone. We have pushed updates today (9/14, 07:00GMT) that have some incremental updates from Red Hat (firefox/thunderbird), but also additional updates:

  • rocky-release updates to 8.4-34 - this adds provides for centos-release, among other changes
  • centos-release-* packages added to the extras repository

We have done this for users who want to still use CentOS SIG content but also have an easier time to transition from CentOS to Rocky by the time the CentOS 8 EOL hits. A bulletpoint list of reasons we did this is because:

  • RHEL Buildroots have been requested in the CentOS CBS - This means that we will very likely still see non-stream repos for SIG packages upstream by the time CentOS 8 goes EOL - This will be a massive benefit to Rocky and other Enterprise Linux’s
  • Migrating from CentOS 8 to Rocky 8 should be seamless: We’ve had numerous users try to migrate and fail while using centos-release-* packages for SIGs - the update to rocky-release helps address that problem
  • We did not want to duplicate certain efforts that would give us little gain - this is especially true for things like glusterfs, openstack
  • Focus can be put into Rocky SIGs that do not exist upstream - for example, altarch or even rpi specific stuff that a couple of us in RelEng have put a lot of efforts in on the side

The mirrors should sync over time to provide this content. You can find out what release packages are available by running dnf search centos-release - If you find the release package you want to install doesn’t install or there is one that is upstream but we don’t have, please let us know! In the meanwhile, myself and RelEng will be coming up with ideas and a game plan on how we want to enable the community for Rocky-specific SIGs. More information will come out soon in Mattermost (under ~development and ~siggeneral) when we have it for the community.

3 Likes

Are you sure that will work out? I would expect CentOS SIGs to produce content for CentOS Stream, and CentOS Stream is not guaranteed to be ABI compliant to RHEL and Clones and SIG content probably will possibly not be ABI compliant too. EPEL handle this with EPEL-next[1]. Not sure if CentOS SIGs will differentiate between “stable” and “next”.

[1]
https://fedoraproject.org/wiki/EPEL_Next

The idea that is proposed in that link is that when the CBS has RHEL buildroots, SIGs would just rebuild their packages against it, so they are available for non-stream enterprise linux, whether it’s RHEL, Rocky, or others. Right now their CBS koji has differing tags between non-stream and stream already. If and when the RHEL buildroots are made available, the non-stream tags would just hook into that rather than CentOS stream.

Hi,
Hi, I’m trying to install a SIG openstack repository and it is failing

yum install centos-release-openstack-victoria

Last metadata expiration check: 2:28:20 ago on Tue 21 Sep 2021 07:08:22 AM CEST.
Error:
Problem: conflicting requests

  • nothing provides centos-release-rabbitmq-38 needed by centos-release-openstack-victoria-1-2.el8.noarch

Do you know where I can find the centos-release-rabbitmq-38 repo, it’is not reachable in my rocky server

The right way is to report the issue in Rocky’s bugzilla.

The dirty way is to manually define the necessary CentOS SIG repositories.
mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=messaging-rabbitmq-38

Thank a lot, I investigate how claim for that in the Rocky’s bugzilla, is new for me 


The missing packages should be added to extras. It will take some time for the mirrors to sync. Reference bug.

Thank, you are the best !!!

Hello,

There is a problem with centos-release-advanced-virtualization SIG package. It address the CentOS Stream advanced virtualization repository which in return needs some updates from the CentOS Stream BaseOS.

Any way to switch back to CenOS Linux advanced virtualization repository ?

Installé:
centos-release-advanced-virtualization-1.0-3.el8.noarch centos-release-virt-common-1-2.el8.noarch

Terminé !
[root@localhost scripts]# dnf update
CentOS-8 - Advanced Virtualization 316 kB/s | 193 kB 00:00
Erreur :
ProblĂšme 1: cannot install the best update candidate for package swtpm-0.5.2-3.20201226gite59c0c1.el8.x86_64

  • nothing provides selinux-policy >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
  • nothing provides selinux-policy-base >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
    ProblĂšme 2: package swtpm-tools-0.6.0-2.20210607gitea627b3.el8s.x86_64 requires swtpm = 0.6.0-2.20210607gitea627b3.el8s, but none of the providers can be installed
  • cannot install the best update candidate for package swtpm-tools-0.5.2-3.20201226gite59c0c1.el8.x86_64
  • nothing provides selinux-policy >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
  • nothing provides selinux-policy-base >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
    ProblĂšme 3: problem with installed package swtpm-0.5.2-3.20201226gite59c0c1.el8.x86_64
  • package swtpm-0.5.2-3.20201226gite59c0c1.el8.x86_64 requires swtpm-libs = 0.5.2-3.20201226gite59c0c1.el8, but none of the providers can be installed
  • cannot install both swtpm-libs-0.6.0-2.20210607gitea627b3.el8s.x86_64 and swtpm-libs-0.5.2-3.20201226gite59c0c1.el8.x86_64
  • cannot install both swtpm-libs-0.5.2-3.20201226gite59c0c1.el8.x86_64 and swtpm-libs-0.6.0-2.20210607gitea627b3.el8s.x86_64
  • cannot install the best update candidate for package swtpm-libs-0.5.2-3.20201226gite59c0c1.el8.x86_64
  • nothing provides selinux-policy >= 3.14.3-74.el8 needed by swtpm-0.6.0-1.20210607gitea627b3.el8s.x86_64
  • nothing provides selinux-policy-base >= 3.14.3-74.el8 needed by swtpm-0.6.0-1.20210607gitea627b3.el8s.x86_64
  • nothing provides selinux-policy >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
  • nothing provides selinux-policy-base >= 3.14.3-79.el8 needed by swtpm-0.6.0-2.20210607gitea627b3.el8s.x86_64
    (essayez d’ajouter « --allowerasing » Ă  la ligne de commande pour remplacer les paquets en conflit ou « --skip-broken » pour ignorer les paquets non installables ou « --nobest » pour ne pas utiliser seulement les meilleurs paquets candidats)

You can try changing /etc/dnf/vars/avstream to be 8 and /etc/dnf/vars/avdir to advanced-virtualization

Ok, theses changes are working fine thanks, but why leave the centos-release-advanced-virtualization package broken ?

Unfortunately it’s not under our control. We rebuild the release packages that come from CentOS. See: Tree - rpms/centos-release-advanced-virtualization - CentOS Git server

This would be something to ask the maintainer in CentOS.

You have to patch the spec file for Rocky Linux :

diff -up {SPECS,rocky}/centos-release-advanced-virtualization.spec
— SPECS/centos-release-advanced-virtualization.spec 2021-06-11 19:16:40.000000000 +0200
+++ rocky/centos-release-advanced-virtualization.spec 2021-10-24 22:06:33.797269956 +0200
@@ -1,7 +1,7 @@
Summary: Advanced Virtualization packages from the CentOS Virtualization SIG repository
Name: centos-release-advanced-virtualization
Version: 1.0
-Release: 3%{?dist}
+Release: 3%{?dist}.rocky
License: GPLv2
URL: SpecialInterestGroup/Virtualization - CentOS Wiki
Source0: CentOS-Advanced-Virtualization.repo
@@ -25,7 +25,7 @@ install -D -m 644 %{SOURCE0} %{buildroot

%post
source /etc/os-release
-if [[ $ID == ‘centos’ && $NAME == *‘Stream’ ]] || [ $ID != ‘centos’ ]; then
+if [[ $ID == ‘centos’ && $NAME == *‘Stream’ ]] || [ $ID != ‘rocky’ ]; then
echo “8-stream” > /etc/dnf/vars/avstream
echo “advancedvirt-common” > /etc/dnf/vars/avdir
else
@@ -46,6 +46,9 @@ fi
%license COPYING

%changelog
+* Sun Oct 24 2021 Jean-Marc Liger ligenix@iscp.fr - 1.0-3.rocky
± Add support for Rocky Linux
+

  • Add support for CentOS Stream 8 repos

https://copr.fedorainfracloud.org/coprs/ligenix/enterprise-sandbox/builds/

Hello,

I’ve test theses changes with success, any way to push an update centos-release-advanced-virtualization package ?

Thanks

I’ve opened an issue with the Virtualization SIG upstream in CentOS, which provides this package.

As I explain in the ticket, we can patch the release package, but we’d much prefer to make sure the issue is resolved for everyone in the EL community, too!

https://pagure.io/centos-sig-virt/sig/issue/1

I agree it’s the best way to go, I’ve seen the package have also been updated in rocky repo, to let the advanced virtualization packages been installed.

1 Like

https://git.centos.org/rpms/centos-release-advanced-virtualization/pull-request/2

PR has been opened with CentOS here! Hopefully we’ll see it propagate down soon once it’s merged

1 Like

According to the centos-devel list CentOS SIGs can opt-in to keep the content , otherwise SIG content will be removed.

https://lists.centos.org/pipermail/centos-devel/2022-January/120120.html
https://pagure.io/centos-infra/issues?status=Closed&tags=cbs-rhel8-buildroot&close_status=

1 Like

:grimacing: :grimacing:

Just a quick reminder about SIG content also going away end of this
month, except for SIGs who have opted-in to start building against
RHEL8 (and so far we only got kmods/ceph/nfs-ganesha so all the rest
will disappear - see
Issues - centos-infra - Pagure.io)

Not sure i understand all of this, but when i install centos-release-openstack-yoga-1-1.el8.noarch, i get this error when using yum:

CentOS-8 - NFV OpenvSwitch 112 B/s | 38 B 00:00
Error: Failed to download metadata for repo ‘centos-nfv-openvswitch’: Cannot prepare internal mirrorlist: No URLs in mirrorlist