CentOS 8 : Migrer vers Red Hat Enterprise Linux 8 avec convert2rhel
Table des matières
CentOS 8 n'est plus maintenue depuis décembre 2021.
Si vous avez encore des systèmes CentOS 8, il est possible de les convertir en Red Hat Enterprise Linux 8 si vous avez une licence (Professionnelle ou Développeur)
Nous allons voir comment faire cela dans cet article.
CentOS 8 n'étant plus maintenue, il va falloir modifier les miroirs vers le serveur d'archives "Vault".
Pour modifier tous les fichiers de dépôts d'un coup, je vous propose ces lignes sed :
La première commande sed va commenter la ligne mirrorlist.
La deuxième commande sed va décommenter la ligne baseurl et remplacer l'URL qui commence par mirror par vault (le serveur d'archives). Le délimiteur de cette commande n'est pas la barre oblique mais l'arobase, car il y a des barres obliques dans l'expression à remplacer.
Mettez à jour votre CentOS 8 :
Si les dépôts CentOS ont été mise à jour, relancer les commandes sed :
Récupérer les clés GPG du dépôt Red Hat, les certificats et le fichier repo dans lequel se trouve l'outil :
Installer enfin l'outil convert2rhel
Redémarrer le serveur pour bien être sur le dernier noyau :
On va lancer l'outil convert2rhel, en le forçant en anglais.
On va indiquer dans la ligne de commande également nos identifiants du portail Red Hat + l'option --auto-attach pour attacher la licence à notre système Red Hat nouvellement converti :
Vous trouverez les logs sur le système concerné juste en dessous.
Une fois l'opération terminée, un reboot et nous voici sur Red Hat Enterprise Linux !
-->
Introduction
CentOS 8 n'est plus maintenue depuis décembre 2021.
Si vous avez encore des systèmes CentOS 8, il est possible de les convertir en Red Hat Enterprise Linux 8 si vous avez une licence (Professionnelle ou Développeur)
Nous allons voir comment faire cela dans cet article.
Prérequis
CentOS 8 n'étant plus maintenue, il va falloir modifier les miroirs vers le serveur d'archives "Vault".
Pour modifier tous les fichiers de dépôts d'un coup, je vous propose ces lignes sed :
Code BASH :
sed -e 's/^mirrorlist/#mirrorlist/g' -i /etc/yum.repos.d/CentOS-*repo sed -e 's@^#baseurl=http://mirror.@baseurl=http://vault.@g' -i /etc/yum.repos.d/CentOS-*repo
La première commande sed va commenter la ligne mirrorlist.
La deuxième commande sed va décommenter la ligne baseurl et remplacer l'URL qui commence par mirror par vault (le serveur d'archives). Le délimiteur de cette commande n'est pas la barre oblique mais l'arobase, car il y a des barres obliques dans l'expression à remplacer.
Mettez à jour votre CentOS 8 :
Code BASH :
dnf upgrade -y
Si les dépôts CentOS ont été mise à jour, relancer les commandes sed :
Code BASH :
sed -e 's/^mirrorlist/#mirrorlist/g' -i /etc/yum.repos.d/CentOS-*repo sed -e 's@^#baseurl=http://mirror.@baseurl=http://vault.@g' -i /etc/yum.repos.d/CentOS-*repo
Installation de l'outil convert2rhel
Récupérer les clés GPG du dépôt Red Hat, les certificats et le fichier repo dans lequel se trouve l'outil :
Code BASH :
curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://www.redhat.com/security/data/fd431d51.txt curl --create-dirs -o /etc/rhsm/ca/redhat-uep.pem https://ftp.redhat.com/redhat/convert2rhel/redhat-uep.pem curl -o /etc/yum.repos.d/convert2rhel.repo https://ftp.redhat.com/redhat/convert2rhel/8/convert2rhel.repo
Installer enfin l'outil convert2rhel
Code BASH :
dnf -y install convert2rhel
Redémarrer le serveur pour bien être sur le dernier noyau :
Code BASH :
reboot
Lancer la conversion
On va lancer l'outil convert2rhel, en le forçant en anglais.
On va indiquer dans la ligne de commande également nos identifiants du portail Red Hat + l'option --auto-attach pour attacher la licence à notre système Red Hat nouvellement converti :
Code BASH :
LANG=C convert2rhel --username Adrien_D --password MotDePasseDuPortailRedHat --auto-attach
Vous trouverez les logs sur le système concerné juste en dessous.
Une fois l'opération terminée, un reboot et nous voici sur Red Hat Enterprise Linux !
Pour info : Les logs de l'opération
Code TEXT :
[03/03/2023 11:38:03] TASK - [Prepare: Gather system information] ******************************* Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option. The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va.log file. Checking internet connectivity using address 'http://static.redhat.com/test/rhel-networkmanager.txt'. Successfully connected to address 'http://static.redhat.com/test/rhel-networkmanager.txt', internet connection seems to be available. Name: CentOS Linux OS version: 8.5 Architecture: x86_64 Config filename: centos-8-x86_64.cfg [03/03/2023 11:38:51] TASK - [Prepare: Clear YUM/DNF version locks] ***************************** Usage of YUM/DNF versionlock plugin not detected. [03/03/2023 11:38:51] TASK - [Prepare: Clean yum cache metadata] ******************************** Cached yum metadata cleaned successfully. [03/03/2023 11:38:52] TASK - [Prepare: Checking if --enablerepo repositories are accessible] **** Skipping the check of repositories due to the use of RHSM for the conversion. [03/03/2023 11:38:52] TASK - [Prepare: Checking if this is the latest version of Convert2RHEL] ** Latest available Convert2RHEL version is installed. Continuing conversion. [03/03/2023 11:38:53] TASK - [Prepare: Checking the firmware interface type (BIOS/UEFI)] ******** BIOS detected. [03/03/2023 11:38:53] TASK - [Prepare: Checking if loaded kernel modules are not tainted] ******* No tainted kernel module is loaded. [03/03/2023 11:38:53] TASK - [Prepare: Checking /mnt and /sys are read-write] ******************* Read-only /mnt or /sys mount points not detected. [03/03/2023 11:38:53] TASK - [Prepare: Check kernel compatibility with RHEL] ******************** The booted kernel 4.18.0-348.7.1.el8_5.x86_64 is compatible with RHEL. [03/03/2023 11:38:54] TASK - [Prepare: Checking if the installed packages are up-to-date] ******* System is up-to-date. [03/03/2023 11:38:59] TASK - [Prepare: Checking if the loaded kernel version is the most recent] The currently loaded kernel is at the latest version. [03/03/2023 11:39:00] TASK - [Prepare: Check that DBus Daemon is running] *********************** DBus Daemon is running [03/03/2023 11:39:00] TASK - [Prepare: Backup System] ******************************************* Backing up /etc/system-release. Backing up /etc/os-release. Backing up .repo files from /etc/yum.repos.d/. Backing up variables files from /etc/yum/vars. Backing up variables files from /etc/dnf/vars. [03/03/2023 11:39:00] TASK - [Convert: List third-party packages] ******************************* WARNING - Only packages signed by CentOS Linux are to be replaced. Red Hat support won't be provided for the following third party packages: Package Vendor/Packager Repository ------- --------------- ---------- MariaDB-client-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-common-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-server-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-shared-10.5.19-1.el8.x86_64 MariaDB Corporation Ab @mariadb epel-release-8-18.el8.noarch Fedora Project @epel galera-4-26.4.14-1.el8.x86_64 Codership Oy @mariadb python3-beautifulsoup4-4.6.3-2.el8.1.noarch Fedora Project @epel python3-cssselect-0.9.2-10.el8.noarch Fedora Project @epel Continue with the system conversion? [y/n]: y [03/03/2023 11:39:16] TASK - [Convert: Remove excluded packages] ******************************** Searching for the following excluded packages: centos-logos* ................................... 1 centos-indexhtml ................................ 0 centos-obsolete-packages ........................ 0 centos-gpg-keys ................................. 1 centos-backgrounds .............................. 0 WARNING - The following packages will be removed... Package Vendor/Packager Repository ------- --------------- ---------- centos-logos-85.8-2.el8.x86_64 CentOS @BaseOS centos-gpg-keys-8-3.el8.noarch CentOS @BaseOS Continue with the system conversion? [y/n]: y Backing up centos-logos-85.8-2.el8.x86_64. Successfully downloaded the centos-logos-85.8-2.el8.x86_64 package. Backing up centos-gpg-keys-8-3.el8.noarch. Successfully downloaded the centos-gpg-keys-8-3.el8.noarch package. Removing package: centos-logos-85.8-2.el8.x86_64 Removing package: centos-gpg-keys-8-3.el8.noarch [03/03/2023 11:39:37] TASK - [Convert: Resolve possible edge cases] ***************************** Checking if java-1.7.0-openjdk is installed. java-1.7.0-openjdk not installed. Checking if shim-x64 package is installed. shim-x64 package is not installed. Nothing to do. Checking if the iwl7260-firmware and iwlax2xx-firmware packages are installed. Relevant to Oracle Linux 8 only. Skipping. [03/03/2023 11:39:37] TASK - [Convert: Import Red Hat GPG keys] ********************************* GPG key 37017186 imported GPG key /usr/share/convert2rhel/gpg-keys/RPM-GPG-KEY-redhat-legacy-release imported successfuly. GPG key /usr/share/convert2rhel/gpg-keys/RPM-GPG-KEY-redhat-release imported successfuly. [03/03/2023 11:39:38] TASK - [Convert: Subscription Manager - Download packages] **************** Successfully downloaded the subscription-manager package. Successfully downloaded the subscription-manager-rhsm-certificates package. Successfully downloaded the python3-subscription-manager-rhsm package. Successfully downloaded the dnf-plugin-subscription-manager package. Successfully downloaded the python3-syspurpose package. Successfully downloaded the python3-cloud-what package. Successfully downloaded the json-c.x86_64 package. [03/03/2023 11:39:47] TASK - [Convert: Subscription Manager - Replace] ************************** Unregistering the system. WARNING - System unregistration result: This system is currently not registered. Removing installed subscription-manager/katello-ca-consumer packages. Upon continuing, we will uninstall the following subscription-manager/katello-ca-consumer packages: Package Vendor/Packager Repository ------- --------------- ---------- dnf-plugin-subscription-manager-1.28.21-3.el8.x86_64 CentOS @BaseOS python3-subscription-manager-rhsm-1.28.21-3.el8.x86_64 CentOS @BaseOS subscription-manager-1.28.21-3.el8.x86_64 CentOS @BaseOS subscription-manager-rhsm-certificates-1.28.21-3.el8.x86_64 CentOS @BaseOS python3-syspurpose-1.28.21-3.el8.x86_64 CentOS @BaseOS python3-cloud-what-1.28.21-3.el8.x86_64 CentOS @BaseOS Continue with the system conversion? [y/n]: y Backing up dnf-plugin-subscription-manager. Successfully downloaded the dnf-plugin-subscription-manager package. Backing up python3-subscription-manager-rhsm. Successfully downloaded the python3-subscription-manager-rhsm package. Backing up subscription-manager. Successfully downloaded the subscription-manager package. Backing up subscription-manager-rhsm-certificates. Successfully downloaded the subscription-manager-rhsm-certificates package. Backing up python3-syspurpose. Successfully downloaded the python3-syspurpose package. Backing up python3-cloud-what. Successfully downloaded the python3-cloud-what package. Removing package: dnf-plugin-subscription-manager Removing package: python3-subscription-manager-rhsm Removing package: subscription-manager Removing package: subscription-manager-rhsm-certificates Removing package: python3-syspurpose Removing package: python3-cloud-what Checking for subscription-manager RPMs. Installing subscription-manager RPMs. Last metadata expiration check: 0:01:27 ago on Fri Mar 3 11:39:28 2023. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: dnf-plugin-subscription-manager x86_64 1.28.32-1.el8 @commandline 314 k python3-cloud-what x86_64 1.28.32-1.el8 @commandline 313 k python3-subscription-manager-rhsm x86_64 1.28.32-1.el8 @commandline 391 k python3-syspurpose x86_64 1.28.32-1.el8 @commandline 330 k subscription-manager x86_64 1.28.32-1.el8 @commandline 1.2 M subscription-manager-rhsm-certificates x86_64 1.28.32-1.el8 @commandline 288 k Upgrading: json-c x86_64 0.13.1-3.el8 @commandline 41 k Transaction Summary ================================================================================ Install 6 Packages Upgrade 1 Package Total size: 2.8 M Downloading Packages: Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-cloud-what-1.28.32-1.el8.x86_64 1/8 Upgrading : json-c-0.13.1-3.el8.x86_64 2/8 Installing : dnf-plugin-subscription-manager-1.28.32-1.el8.x86_64 3/8 Installing : python3-syspurpose-1.28.32-1.el8.x86_64 4/8 Installing : subscription-manager-rhsm-certificates-1.28.32-1.el8 5/8 Installing : python3-subscription-manager-rhsm-1.28.32-1.el8.x86_ 6/8 Running scriptlet: subscription-manager-1.28.32-1.el8.x86_64 7/8 Installing : subscription-manager-1.28.32-1.el8.x86_64 7/8 Running scriptlet: subscription-manager-1.28.32-1.el8.x86_64 7/8 Cleanup : json-c-0.13.1-2.el8.x86_64 8/8 Running scriptlet: json-c-0.13.1-2.el8.x86_64 8/8 Verifying : subscription-manager-1.28.32-1.el8.x86_64 1/8 Verifying : subscription-manager-rhsm-certificates-1.28.32-1.el8 2/8 Verifying : python3-subscription-manager-rhsm-1.28.32-1.el8.x86_ 3/8 Verifying : dnf-plugin-subscription-manager-1.28.32-1.el8.x86_64 4/8 Verifying : python3-syspurpose-1.28.32-1.el8.x86_64 5/8 Verifying : python3-cloud-what-1.28.32-1.el8.x86_64 6/8 Verifying : json-c-0.13.1-3.el8.x86_64 7/8 Verifying : json-c-0.13.1-2.el8.x86_64 8/8 Upgraded: json-c-0.13.1-3.el8.x86_64 Installed: dnf-plugin-subscription-manager-1.28.32-1.el8.x86_64 python3-cloud-what-1.28.32-1.el8.x86_64 python3-subscription-manager-rhsm-1.28.32-1.el8.x86_64 python3-syspurpose-1.28.32-1.el8.x86_64 subscription-manager-1.28.32-1.el8.x86_64 subscription-manager-rhsm-certificates-1.28.32-1.el8.x86_64 Complete! Packages installed: /usr/share/convert2rhel/subscription-manager/subscription-manager-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/subscription-manager-rhsm-certificates-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/python3-subscription-manager-rhsm-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/dnf-plugin-subscription-manager-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/python3-syspurpose-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/python3-cloud-what-1.28.32-1.el8.x86_64.rpm /usr/share/convert2rhel/subscription-manager/json-c-0.13.1-3.el8.x86_64.rpm [03/03/2023 11:40:58] TASK - [Convert: Subscription Manager - Verify installation] ************** subscription-manager installed correctly. [03/03/2023 11:40:58] TASK - [Convert: Install RHEL certificates for RHSM] ********************** Certificate 479.pem copied to /etc/pki/product-default/. [03/03/2023 11:40:58] TASK - [Convert: Remove packages containing .repo files] ****************** Searching for packages containing .repo files or affecting variables in the .repo files: centos-release* ................................. 0 centos-repos .................................... 0 centos-linux-repos .............................. 1 centos-stream-repos ............................. 0 centos-linux-release ............................ 1 centos-stream-release ........................... 0 WARNING - The following packages will be removed... Package Vendor/Packager Repository ------- --------------- ---------- centos-linux-repos-8-3.el8.noarch CentOS @BaseOS centos-linux-release-8.5-1.2111.el8.noarch CentOS @BaseOS Continue with the system conversion? [y/n]: y Backing up centos-linux-repos-8-3.el8.noarch. Successfully downloaded the centos-linux-repos-8-3.el8.noarch package. Backing up centos-linux-release-8.5-1.2111.el8.noarch. Successfully downloaded the centos-linux-release-8.5-1.2111.el8.noarch package. Removing package: centos-linux-repos-8-3.el8.noarch warning: /etc/yum.repos.d/CentOS-Linux-PowerTools.repo saved as /etc/yum.repos.d/CentOS-Linux-PowerTools.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-Plus.repo saved as /etc/yum.repos.d/CentOS-Linux-Plus.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo saved as /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-FastTrack.repo saved as /etc/yum.repos.d/CentOS-Linux-FastTrack.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-Extras.repo saved as /etc/yum.repos.d/CentOS-Linux-Extras.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-Devel.repo saved as /etc/yum.repos.d/CentOS-Linux-Devel.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo saved as /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-BaseOS.repo saved as /etc/yum.repos.d/CentOS-Linux-BaseOS.repo.rpmsave warning: /etc/yum.repos.d/CentOS-Linux-AppStream.repo saved as /etc/yum.repos.d/CentOS-Linux-AppStream.repo.rpmsave Removing package: centos-linux-release-8.5-1.2111.el8.noarch [03/03/2023 11:41:24] TASK - [Convert: Subscription Manager - Subscribe system] ***************** Registering the system using subscription-manager ... Unregistering the system to clear the server's state for our registration. Unregistering the system. WARNING - System unregistration result: This system is currently not registered. Stopping the RHSM service so that registration does not think that the host is already registered. RHSM service stopped. Gathering subscription-manager registration info ... ... activation key not found, using given username and password ... username detected ... password detected Restoring /etc/os-release from backup Registering via username/password: register --force --username=Adrien_D System registration succeeded. Auto-attaching compatible subscriptions to the system ... Installed Product Current Status: Product Name: Red Hat Enterprise Linux for x86_64 Status: Subscribed [03/03/2023 11:41:38] TASK - [Convert: Get RHEL repository IDs] ********************************* RHEL repository IDs to enable: rhel-8-for-x86_64-baseos-rpms, rhel-8-for-x86_64-appstream-rpms [03/03/2023 11:41:38] TASK - [Convert: Subscription Manager - Check required repositories] ****** Verifying needed RHEL repositories are available ... Repositories available through RHSM: satellite-maintenance-6.11-for-rhel-8-x86_64-debug-rpms satellite-tools-6.5-for-rhel-8-x86_64-source-rpms rhel-8-for-x86_64-appstream-debug-rpms rhv-4-tools-beta-for-rhel-8-x86_64-debug-rpms satellite-tools-6.6-for-rhel-8-x86_64-source-rpms satellite-maintenance-6.12-for-rhel-8-x86_64-debug-rpms satellite-utils-6.12-for-rhel-8-x86_64-rpms satellite-tools-6.8-for-rhel-8-x86_64-source-rpms satellite-utils-6.11-for-rhel-8-x86_64-rpms rhel-8-for-x86_64-supplementary-debug-rpms satellite-tools-6.8-for-rhel-8-x86_64-rpms satellite-utils-6-beta-for-rhel-8-x86_64-debug-rpms satellite-tools-6-beta-for-rhel-8-x86_64-rpms rhv-4-tools-for-rhel-8-x86_64-debug-rpms ansible-2.8-for-rhel-8-x86_64-rpms openstack-15-tools-for-rhel-8-x86_64-debug-rpms openstack-16-tools-for-rhel-8-x86_64-debug-rpms rh-gluster-3-client-for-rhel-8-x86_64-debug-rpms ansible-2.8-for-rhel-8-x86_64-debug-rpms rhceph-4-tools-for-rhel-8-x86_64-rpms satellite-tools-6.7-for-rhel-8-x86_64-source-rpms satellite-tools-6-beta-for-rhel-8-x86_64-source-rpms rhceph-6-tools-for-rhel-8-x86_64-rpms rhceph-5-tools-for-rhel-8-x86_64-source-rpms rhv-4-tools-beta-for-rhel-8-x86_64-source-rpms satellite-client-6-for-rhel-8-x86_64-source-rpms satellite-maintenance-6.11-for-rhel-8-x86_64-source-rpms satellite-tools-6.8-for-rhel-8-x86_64-debug-rpms satellite-tools-6.10-for-rhel-8-x86_64-rpms ansible-2.9-for-rhel-8-x86_64-source-rpms rhel-8-for-x86_64-appstream-source-rpms satellite-tools-6.6-for-rhel-8-x86_64-rpms satellite-tools-6.10-for-rhel-8-x86_64-source-rpms satellite-tools-6.5-for-rhel-8-x86_64-rpms satellite-tools-6.9-for-rhel-8-x86_64-debug-rpms satellite-tools-6.6-for-rhel-8-x86_64-debug-rpms codeready-builder-for-rhel-8-x86_64-debug-rpms openstack-17.1-tools-for-rhel-8-x86_64-debug-rpms rhel-8-for-x86_64-baseos-debug-rpms satellite-tools-6.7-for-rhel-8-x86_64-rpms satellite-utils-6-beta-for-rhel-8-x86_64-source-rpms ansible-2-for-rhel-8-x86_64-debug-rpms satellite-client-6-for-rhel-8-x86_64-debug-rpms ansible-2.9-for-rhel-8-x86_64-rpms openstack-17.1-tools-for-rhel-8-x86_64-source-rpms rhceph-5-tools-for-rhel-8-x86_64-debug-rpms rhv-4-tools-for-rhel-8-x86_64-source-rpms satellite-utils-6-beta-for-rhel-8-x86_64-rpms rhel-8-for-x86_64-baseos-source-rpms rhel-8-for-x86_64-appstream-rpms satellite-maintenance-6.12-for-rhel-8-x86_64-rpms satellite-tools-6.9-for-rhel-8-x86_64-source-rpms rhceph-4-tools-for-rhel-8-x86_64-source-rpms satellite-tools-6.7-for-rhel-8-x86_64-debug-rpms rhceph-6-tools-for-rhel-8-x86_64-debug-rpms openstack-17.1-tools-for-rhel-8-x86_64-rpms rhel-8-for-x86_64-supplementary-rpms satellite-utils-6.11-for-rhel-8-x86_64-debug-rpms openstack-15-tools-for-rhel-8-x86_64-rpms ansible-2.8-for-rhel-8-x86_64-source-rpms codeready-builder-for-rhel-8-x86_64-source-rpms rhel-8-for-x86_64-supplementary-source-rpms codeready-builder-for-rhel-8-x86_64-rpms rhel-8-for-x86_64-baseos-rpms ansible-2.9-for-rhel-8-x86_64-debug-rpms ansible-2-for-rhel-8-x86_64-source-rpms satellite-utils-6.12-for-rhel-8-x86_64-debug-rpms openstack-16-tools-for-rhel-8-x86_64-source-rpms satellite-maintenance-6.11-for-rhel-8-x86_64-rpms satellite-tools-6.9-for-rhel-8-x86_64-rpms satellite-maintenance-6-beta-for-rhel-8-x86_64-source-rpms satellite-utils-6.11-for-rhel-8-x86_64-source-rpms satellite-client-6-for-rhel-8-x86_64-rpms satellite-maintenance-6.12-for-rhel-8-x86_64-source-rpms openstack-16-tools-for-rhel-8-x86_64-rpms satellite-tools-6.5-for-rhel-8-x86_64-debug-rpms satellite-utils-6.12-for-rhel-8-x86_64-source-rpms rhceph-6-tools-for-rhel-8-x86_64-source-rpms satellite-maintenance-6-beta-for-rhel-8-x86_64-rpms openstack-15-tools-for-rhel-8-x86_64-source-rpms ansible-2-for-rhel-8-x86_64-rpms rhv-4-tools-beta-for-rhel-8-x86_64-rpms rhceph-5-tools-for-rhel-8-x86_64-rpms satellite-tools-6-beta-for-rhel-8-x86_64-debug-rpms rh-gluster-3-client-for-rhel-8-x86_64-source-rpms rhceph-4-tools-for-rhel-8-x86_64-debug-rpms rhv-4-tools-for-rhel-8-x86_64-rpms rh-gluster-3-client-for-rhel-8-x86_64-rpms satellite-maintenance-6-beta-for-rhel-8-x86_64-debug-rpms satellite-tools-6.10-for-rhel-8-x86_64-debug-rpms Needed RHEL repositories are available. [03/03/2023 11:41:45] TASK - [Convert: Subscription Manager - Disable all repositories] ********* Repositories disabled. [03/03/2023 11:41:53] TASK - [Convert: Subscription Manager - Enable RHEL repositories] ********* Repositories enabled through subscription-manager [03/03/2023 11:42:00] TASK - [Convert: Final system checks before main conversion] ************** Comparing the loaded kernel modules with the modules available in the following RHEL kernel packages available in the enabled repositories: kernel-core-0:4.18.0-348.23.1.el8_5.x86_64 kernel-debug-core-0:4.18.0-348.23.1.el8_5.x86_64 kernel-debug-modules-0:4.18.0-348.23.1.el8_5.x86_64 kernel-debug-modules-extra-0:4.18.0-348.23.1.el8_5.x86_64 kernel-modules-0:4.18.0-348.23.1.el8_5.x86_64 kernel-modules-extra-0:4.18.0-348.23.1.el8_5.x86_64 kmod-kvdo-0:6.2.5.72-81.el8.x86_64 kmod-redhat-atlantic-0:4.18.0_255.el8_dup8.3-1.el8_3.x86_64 kmod-redhat-bnxt_en-0:1.10.0_dup8.1-2.el8_1.x86_64 kmod-redhat-btusb-0:0.8_4.18.0_80.23_dup8.0-4.el8_0.x86_64 kmod-redhat-cfg80211-0:4.18.0_348_dup8.5-2.el8_5.x86_64 kmod-redhat-ice-0:0.8.2_k_dup8.2-1.el8_2.x86_64 kmod-redhat-ionic-0:4.18.0.210_dup8.2-2.el8_2.x86_64 kmod-redhat-iwlwifi-0:4.18.0_107_dup8.0-5.el8_0.x86_64 kmod-redhat-mac80211-0:4.18.0_348_dup8.5-2.el8_5.x86_64 kmod-redhat-mlx5_core-0:5.0_0_dup8.2-2.el8_2.x86_64 kmod-redhat-mpt3sas-0:35.101.00.00_dup8.3-1.el8_3.x86_64 kmod-redhat-mt7921-0:4.18.0_363_dup8.5-2.el8_5.x86_64 kmod-redhat-oracleasm-8:2.0.8-12.el8.x86_64 kmod-redhat-oracleasm-kernel_4_18_0_240-8:2.0.8-1.3.el8_3.x86_64 kmod-redhat-oracleasm-kernel_4_18_0_240_14_1-8:2.0.8-1.3.el8_3.x86_64 kmod-redhat-rtw89-0:4.18.0_363_dup8.5-1.el8_5.x86_64 [03/03/2023 11:42:35] TASK - [Validate the dnf transaction] ************************************** Enabling RHEL repositories: rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-appstream-rpms Adding CentOS Linux packages to the dnf transaction set. Resolving the dependencies of the packages in the dnf transaction set. Downloading the packages that were added to the dnf transaction set. Validating the dnf transaction set, no modifications to the system will happen this time. Successfully validated the dnf transaction set. WARNING - ******************************************************** WARNING - The tool allows rollback of any action until this point. WARNING - By continuing all further changes on the system will need to be reverted manually by the user, if necessary. WARNING - ******************************************************** Continue with the system conversion? [y/n]: y [03/03/2023 11:44:20] TASK - [Convert: Replace system packages] ********************************* Enabling RHEL repositories: rhel-8-for-x86_64-baseos-rpms rhel-8-for-x86_64-appstream-rpms Adding CentOS Linux packages to the dnf transaction set. Resolving the dependencies of the packages in the dnf transaction set. Downloading the packages that were added to the dnf transaction set. Replacing CentOS Linux packages. This process may take some time to finish. System packages replaced successfully. [03/03/2023 11:56:25] TASK - [Convert: Prepare kernel] ****************************************** Installing RHEL kernel ... Updating Subscription Management repositories. Last metadata expiration check: 0:14:14 ago on Fri Mar 3 11:42:13 2023. Package kernel-4.18.0-348.7.1.el8_5.x86_64 is already installed. Package kernel-4.18.0-193.19.1.el8_2.x86_64 is already installed. Package kernel-4.18.0-348.23.1.el8_5.x86_64 is already installed. Dependencies resolved. Nothing to do. Complete! Verifying that RHEL kernel has been installed RHEL kernel has been installed. Searching for non-RHEL kernels ... None found. Fixing GRUB boot loader entries. The default is /boot/loader/entries/14eefa2717fe43fd94f1c0748b61cccc-4.18.0-348.23.1.el8_5.x86_64.conf with index 0 and kernel /boot/vmlinuz-4.18.0-348.23.1.el8_5.x86_64 Checking for incorrect boot kernel [03/03/2023 11:56:31] TASK - [Convert: List remaining non-Red Hat packages] ********************* Listing packages not signed by Red Hat The following packages were left unchanged. Package Vendor/Packager Repository ------- --------------- ---------- MariaDB-client-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-common-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-server-10.5.19-1.el8.x86_64 MariaDB Foundation @mariadb MariaDB-shared-10.5.19-1.el8.x86_64 MariaDB Corporation Ab @mariadb epel-release-8-18.el8.noarch Fedora Project @epel galera-4-26.4.14-1.el8.x86_64 Codership Oy @mariadb python3-beautifulsoup4-4.6.3-2.el8.1.noarch Fedora Project @epel python3-cssselect-0.9.2-10.el8.noarch Fedora Project @epel [03/03/2023 11:56:34] TASK - [Convert: Configure the bootloader] ******************************** BIOS detected. Nothing to do. [03/03/2023 11:56:34] TASK - [Convert: Patch yum configuration file] **************************** Skipping patching, yum configuration file not modified [03/03/2023 11:56:34] TASK - [Convert: Lock releasever in RHEL repositories] ******************** Skipping locking RHEL repositories to a specific EUS minor version. [03/03/2023 11:56:34] TASK - [Final: RPM files modified by the conversion] ********************** Running the 'rpm -Va' command which can take several minutes. It can be disabled by using the --no-rpm-va option. Arptryx (live) 2022-08-27 18_02 [41178704219]The 'rpm -Va' output has been stored in the /var/log/convert2rhel/rpm_va_after_conversion.log file. Comparison of modified rpm files from before and after the conversion: --- /var/log/convert2rhel/rpm_va.log +++ /var/log/convert2rhel/rpm_va_after_conversion.log @@ -1 +0,0 @@ -.......T. /etc/rhsm/ca/redhat-uep.pem @@ -3,22 +2 @@ -.......T. c /etc/selinux/targeted/contexts/customizable_types -.M....G.. g /var/log/lastlog -.M....... g /etc/cni/net.d -.M....... g /etc/cni/net.d/87-podman-bridge.conflist -.M....... g /var/log/dnf.librepo.log -.M....... g /var/log/hawkey.log -S.5....T. c /etc/chrony.conf -S.5....T. c /etc/yum.repos.d/CentOS-Linux-AppStream.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-BaseOS.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-ContinuousRelease.repo -.......T. c /etc/yum.repos.d/CentOS-Linux-Debuginfo.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-Devel.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-Extras.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-FastTrack.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-HighAvailability.repo -.......T. c /etc/yum.repos.d/CentOS-Linux-Media.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-Plus.repo -S.5....T. c /etc/yum.repos.d/CentOS-Linux-PowerTools.repo -.......T. c /etc/yum.repos.d/CentOS-Linux-Sources.repo -.......T. /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release -S.5....T. c /etc/sudoers -SM5....T. c /etc/snmp/snmpd.conf +.M....... g /var/lib/plymouth/boot-duration @@ -30 +7,0 @@ -.M....... g /var/lib/plymouth/boot-duration @@ -31,0 +9,8 @@ +SM5....T. c /etc/snmp/snmpd.conf +.M....... g /var/log/dnf.librepo.log +.M....... g /var/log/hawkey.log +.......T. c /etc/selinux/targeted/contexts/customizable_types +S.5....T. c /etc/cni/net.d/87-podman-bridge.conflist +S.5....T. c /etc/chrony.conf +S.5....T. c /etc/sudoers +.M....G.. g /var/log/lastlog [03/03/2023 11:57:06] TASK - [Final: Updating GRUB2 configuration] ****************************** Backing up /boot/grub2/grub.cfg. Backing up /boot/grub2/grubenv. Successfully updated GRUB2 on the system. [03/03/2023 11:57:12] TASK - [Final: Remove temporary folder /var/lib/convert2rhel/] ************ Temporary folder /var/lib/convert2rhel/ removed Writing breadcrumbs to '/etc/migration-results'. Writing RHSM custom facts to '/etc/rhsm/facts/convert2rhel.facts'. [03/03/2023 11:57:12] TASK - [Final: Updating RHSM custom facts] ******************************** Updating RHSM custom facts collected during the conversion. RHSM custom facts uploaded successfully. Conversion successful! WARNING - In order to boot the RHEL kernel, restart of the system is needed.