High Availability - CentOS 8 Repo Missing

Issues related to applications and software problems and general support
Post Reply
User avatar
penguinpages
Posts: 91
Joined: 2015/07/21 13:58:05

High Availability - CentOS 8 Repo Missing

Post by penguinpages » 2020/12/16 20:42:39

Upgrading my HA DNS / LDAP / IPLB nodes from CentOS7 to 8.

# Noted steps have no group "HighAvailability"
dnf --enablerepo=HighAvailability -y install pacemaker pcs

# Found this thread
https://bugs.centos.org/view.php?id=16553

# Tried to track down packages and maybe even link to the CentOS repo.. as seems the conversation dropped off but I need to setup IPLB for my OCP cluster again
http://mirror.centos.org/centos/8/HighA ... x86_64/os/

But hoping their is a site I missed / or cleaner way to do this vs hacking through manual packages to get IPLB ( PCSD, Crosync, PaceMaker ) installed.

Thanks in advance

User avatar
jlehtone
Posts: 4530
Joined: 2007/12/11 08:17:33
Location: Finland

Re: High Availability - CentOS 8 Repo Missing

Post by jlehtone » 2020/12/16 22:53:57

8.3 did rename repos.
Do dnf repolist all
Does any of them look like it could be the HA?

User avatar
penguinpages
Posts: 91
Joined: 2015/07/21 13:58:05

Re: High Availability - CentOS 8 Repo Missing

Post by penguinpages » 2020/12/17 12:52:58

< Trees for forest issue>

Thanks for helping

[root@ns02 lib]# dnf repolist all |grep High
ha CentOS Linux 8 - HighAvailability disabled
[root@ns02 lib]# dnf --enablerepo=ha -y install pacemaker pcs

User avatar
penguinpages
Posts: 91
Joined: 2015/07/21 13:58:05

Re: High Availability - CentOS 8 Repo Missing

Post by penguinpages » 2020/12/18 17:50:57

<sigh>

Glutton for punishment

I decided if I am going to rebuild my master / control plane nodes to CentOS8... I should , with the new announcement.. move to streams version.

####
[root@ns01 .ssh]# dnf install centos-release-stream -y
Last metadata expiration check: 0:42:01 ago on Fri 18 Dec 2020 11:57:32 AM EST.
Dependencies resolved.
=========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
centos-release-stream x86_64 8.1-1.1911.0.7.el8 extras 11 k

Transaction Summary
=========================================================================================================================================================================================================================================
Install 1 Package

Total download size: 11 k
Installed size: 6.6 k
Downloading Packages:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64.rpm 29 kB/s | 11 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 12 kB/s | 11 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
Verifying : centos-release-stream-8.1-1.1911.0.7.el8.x86_64 1/1
dnf swap centos-{linux,stream}-repos y

Installed:
centos-release-stream-8.1-1.1911.0.7.el8.x86_64

Complete!
[root@ns01 .ssh]# dnf swap centos-{linux,stream}-repos -y
CentOS-Stream - AppStream 5.7 MB/s | 6.3 MB 00:01
CentOS-Stream - Base 1.9 MB/s | 2.4 MB 00:01
CentOS-Stream - Extras 1.9 kB/s | 7.0 kB 00:03
Dependencies resolved.
=========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
centos-stream-release noarch 8.4-1.el8 Stream-BaseOS 21 k
replacing centos-linux-release.noarch 8.3-1.2011.el8
replacing centos-release-stream.x86_64 8.1-1.1911.0.7.el8
centos-stream-repos noarch 8-2.el8 Stream-BaseOS 19 k
Removing:
centos-linux-repos noarch 8-2.el8 @BaseOS 26 k

Transaction Summary
=========================================================================================================================================================================================================================================
Install 2 Packages
Remove 1 Package

[root@ns01 .ssh]# dnf swap centos-{linux,stream}-repos -y
CentOS Stream 8 - AppStream 7.6 MB/s | 6.3 MB 00:00
CentOS Stream 8 - BaseOS 1.3 MB/s | 2.4 MB 00:01
CentOS Stream 8 - Extras 24 kB/s | 7.0 kB 00:00
No match for argument: centos-linux-repos
No packages marked for removal.
Package centos-stream-repos-8-2.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@ns01 .ssh]# dnf distro-sync
Last metadata expiration check: 0:00:11 ago on Fri 18 Dec 2020 12:42:00 PM EST.
Error:
Problem 1: package corosync-3.0.3-4.el8.x86_64 requires corosynclib(x86-64) = 3.0.3-4.el8, but none of the providers can be installed
- corosynclib-3.0.3-4.el8.x86_64 does not belong to a distupgrade repository
- problem with installed package corosync-3.0.3-4.el8.x86_64
Problem 2: package pacemaker-2.0.4-6.el8.x86_64 requires pacemaker-cluster-libs(x86-64) = 2.0.4-6.el8, but none of the providers can be installed
- pacemaker-cluster-libs-2.0.4-6.el8.x86_64 does not belong to a distupgrade repository
- problem with installed package pacemaker-2.0.4-6.el8.x86_64
Problem 3: package pacemaker-cli-2.0.4-6.el8.x86_64 requires pacemaker-libs(x86-64) = 2.0.4-6.el8, but none of the providers can be installed
- pacemaker-libs-2.0.4-6.el8.x86_64 does not belong to a distupgrade repository
- problem with installed package pacemaker-cli-2.0.4-6.el8.x86_64
Problem 4: package pacemaker-2.0.4-6.el8.x86_64 requires pacemaker-cluster-libs(x86-64) = 2.0.4-6.el8, but none of the providers can be installed
- cannot install both pacemaker-cluster-libs-2.0.5-4.el8.x86_64 and pacemaker-cluster-libs-2.0.4-6.el8.x86_64
- package pcs-0.10.6-4.el8.x86_64 requires pcmk-cluster-manager >= 2.0.0, but none of the providers can be installed
- cannot install the best update candidate for package pacemaker-cluster-libs-2.0.4-6.el8.x86_64
- problem with installed package pcs-0.10.6-4.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@ns01 .ssh]# dnf --enablerepo=ha -y install pacemaker pcs
CentOS Stream 8 - HighAvailability 149 kB/s | 504 kB 00:03
Last metadata expiration check: 0:00:02 ago on Fri 18 Dec 2020 12:45:05 PM EST.
Package pacemaker-2.0.4-6.el8.x86_64 is already installed.
Package pcs-0.10.6-4.el8.x86_64 is already installed.
Dependencies resolved.
=========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================================
Upgrading:
pacemaker x86_64 2.0.5-4.el8 ha 444 k
pacemaker-cli x86_64 2.0.5-4.el8 ha 332 k
pacemaker-cluster-libs x86_64 2.0.5-4.el8 appstream 130 k
pacemaker-libs x86_64 2.0.5-4.el8 appstream 700 k
pacemaker-schemas noarch 2.0.5-4.el8 appstream 72 k
pcs x86_64 0.10.7-2.el8 ha 12 M

Transaction Summary
=========================================================================================================================================================================================================================================
Upgrade 6 Packages

Total download size: 13 M
Downloading Packages:
(1/6): pacemaker-schemas-2.0.5-4.el8.noarch.rpm 412 kB/s | 72 kB 00:00
(2/6): pacemaker-cluster-libs-2.0.5-4.el8.x86_64.rpm 517 kB/s | 130 kB 00:00
(3/6): pacemaker-libs-2.0.5-4.el8.x86_64.rpm 1.0 MB/s | 700 kB 00:00
(4/6): pacemaker-2.0.5-4.el8.x86_64.rpm 173 kB/s | 444 kB 00:02
(5/6): pacemaker-cli-2.0.5-4.el8.x86_64.rpm 122 kB/s | 332 kB 00:02
(6/6): pcs-0.10.7-2.el8.x86_64.rpm 521 kB/s | 12 MB 00:22
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 567 kB/s | 13 MB 00:24
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Running scriptlet: pacemaker-schemas-2.0.5-4.el8.noarch 1/1
Upgrading : pacemaker-schemas-2.0.5-4.el8.noarch 1/12
Running scriptlet: pacemaker-libs-2.0.5-4.el8.x86_64 2/12
Upgrading : pacemaker-libs-2.0.5-4.el8.x86_64 2/12
Upgrading : pacemaker-cli-2.0.5-4.el8.x86_64 3/12
Running scriptlet: pacemaker-cli-2.0.5-4.el8.x86_64 3/12
Upgrading : pacemaker-cluster-libs-2.0.5-4.el8.x86_64 4/12
Upgrading : pacemaker-2.0.5-4.el8.x86_64 5/12
Running scriptlet: pacemaker-2.0.5-4.el8.x86_64 5/12
Upgrading : pcs-0.10.7-2.el8.x86_64 6/12
Running scriptlet: pcs-0.10.7-2.el8.x86_64 6/12
Running scriptlet: pcs-0.10.6-4.el8.x86_64 7/12
Cleanup : pcs-0.10.6-4.el8.x86_64 7/12
Running scriptlet: pcs-0.10.6-4.el8.x86_64 7/12
Running scriptlet: pacemaker-2.0.4-6.el8.x86_64 8/12
Cleanup : pacemaker-2.0.4-6.el8.x86_64 8/12
Running scriptlet: pacemaker-2.0.4-6.el8.x86_64 8/12
Running scriptlet: pacemaker-cli-2.0.4-6.el8.x86_64 9/12
Cleanup : pacemaker-cli-2.0.4-6.el8.x86_64 9/12
Running scriptlet: pacemaker-cli-2.0.4-6.el8.x86_64 9/12
Cleanup : pacemaker-cluster-libs-2.0.4-6.el8.x86_64 10/12
Cleanup : pacemaker-libs-2.0.4-6.el8.x86_64 11/12
Cleanup : pacemaker-schemas-2.0.4-6.el8.noarch 12/12
Running scriptlet: pcs-0.10.7-2.el8.x86_64 12/12
Running scriptlet: pacemaker-schemas-2.0.4-6.el8.noarch 12/12
Verifying : pacemaker-cluster-libs-2.0.5-4.el8.x86_64 1/12
Verifying : pacemaker-cluster-libs-2.0.4-6.el8.x86_64 2/12
Verifying : pacemaker-libs-2.0.5-4.el8.x86_64 3/12
Verifying : pacemaker-libs-2.0.4-6.el8.x86_64 4/12
Verifying : pacemaker-schemas-2.0.5-4.el8.noarch 5/12
Verifying : pacemaker-schemas-2.0.4-6.el8.noarch 6/12
Verifying : pacemaker-2.0.5-4.el8.x86_64 7/12
Verifying : pacemaker-2.0.4-6.el8.x86_64 8/12
Verifying : pacemaker-cli-2.0.5-4.el8.x86_64 9/12
Verifying : pacemaker-cli-2.0.4-6.el8.x86_64 10/12
Verifying : pcs-0.10.7-2.el8.x86_64 11/12
Verifying : pcs-0.10.6-4.el8.x86_64 12/12

Upgraded:
pacemaker-2.0.5-4.el8.x86_64 pacemaker-cli-2.0.5-4.el8.x86_64 pacemaker-cluster-libs-2.0.5-4.el8.x86_64 pacemaker-libs-2.0.5-4.el8.x86_64 pacemaker-schemas-2.0.5-4.el8.noarch pcs-0.10.7-2.el8.x86_64

Complete!
[root@ns01 .ssh]# dnf distro-sync
Last metadata expiration check: 0:04:35 ago on Fri 18 Dec 2020 12:42:00 PM EST.
Error:
Problem 1: package corosync-3.0.3-4.el8.x86_64 requires corosynclib(x86-64) = 3.0.3-4.el8, but none of the providers can be installed
- corosynclib-3.0.3-4.el8.x86_64 does not belong to a distupgrade repository
- problem with installed package corosync-3.0.3-4.el8.x86_64
Problem 2: package corosync-3.0.3-4.el8.x86_64 requires corosynclib(x86-64) = 3.0.3-4.el8, but none of the providers can be installed
- cannot install both corosynclib-3.1.0-3.el8.x86_64 and corosynclib-3.0.3-4.el8.x86_64
- package pacemaker-2.0.5-4.el8.x86_64 requires corosync >= 2.0.0, but none of the providers can be installed
- cannot install the best update candidate for package corosynclib-3.0.3-4.el8.x86_64
- problem with installed package pacemaker-2.0.5-4.el8.x86_64
(try to add '--allowerasing' to command line to replace conflicting packages or '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
[root@ns01 .ssh]#

I will post as I learn more... but maybe others have run into this.

User avatar
penguinpages
Posts: 91
Joined: 2015/07/21 13:58:05

Re: High Availability - CentOS 8 Repo Missing

Post by penguinpages » 2020/12/18 18:00:18

Seems to be working:

####

[root@ns01 .ssh]# rpm -e corosynclib-3.0.3-4.el8.x86_64 --nodeps
[root@ns01 .ssh]# dnf install corosynclib
Last metadata expiration check: 0:14:47 ago on Fri 18 Dec 2020 12:42:00 PM EST.
Dependencies resolved.
=========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
corosynclib x86_64 3.1.0-3.el8 appstream 68 k

Transaction Summary
=========================================================================================================================================================================================================================================
Install 1 Package

Total download size: 68 k
Installed size: 121 k
Is this ok [y/N]: y
Downloading Packages:
corosynclib-3.1.0-3.el8.x86_64.rpm 179 kB/s | 68 kB 00:00
-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 76 kB/s | 68 kB 00:00
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
Preparing : 1/1
Installing : corosynclib-3.1.0-3.el8.x86_64 1/1
Running scriptlet: corosynclib-3.1.0-3.el8.x86_64 1/1
Verifying : corosynclib-3.1.0-3.el8.x86_64 1/1

Installed:
corosynclib-3.1.0-3.el8.x86_64

Complete!
[root@ns01 .ssh]# dnf install corosynclib
Last metadata expiration check: 0:15:29 ago on Fri 18 Dec 2020 12:42:00 PM EST.
Package corosynclib-3.1.0-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@ns01 .ssh]# dnf distro-sync
Last metadata expiration check: 0:15:50 ago on Fri 18 Dec 2020 12:42:00 PM EST.
Dependencies resolved.
=========================================================================================================================================================================================================================================
Package Architecture Version Repository Size
=========================================================================================================================================================================================================================================
Installing:
kernel x86_64 4.18.0-257.el8 baseos 4.9 M
kernel-core x86_64 4.18.0-257.el8 baseos 31 M
kernel-modules x86_64 4.18.0-257.el8 baseos 27 M
Upgrading: x86_64 1.7.3-15.el8 appstream 119 k
python3-urllib3 noarch 1.24.2-5.el8 baseos 177 k
<snip>
rubygem-rdoc noarch 6.0.1-105.module_el8.1.0+214+9be47fd7 appstream 486 k
rubygems noarch 2.7.6.2-105.module_el8.1.0+214+9be47fd7 appstream 308 k

Transaction Summary
=========================================================================================================================================================================================================================================
Install 12 Packages
Upgrade 190 Packages
Downgrade 19 Packages

Total download size: 483 M
Is this ok [y/N]: y
Downloading Packages:
(1/221): httpd-filesystem-2.4.37-30.module_el8.3.0+462+ba287492.0.1.noarch.rpm 207 kB/s | 37 kB 00:00
(2/221): httpd-tools-2.4.37-30.module_el8.3.0+462+ba287492.0.1.x86_64.rpm 351 kB/s | 104 kB 00:00
(3/221): mod_session-2.4.37-30.module_el8.3.0+462+ba287492.0.1.x86_64.rpm 448 kB/s | 71 kB 00:00
(4/221): mod_ssl-2.4.37-30.module_el8.3.0+462+ba287492.0.1.x86_64.rpm 750 kB/s | 133 kB 00:00
<snip>
(219/221): zlib-1.2.11-17.el8.x86_64.rpm

Post Reply