On Mon, Feb 01, 2021 at 12:26:00PM -0800, Konstantin Olchanski wrote:
> 
> Here we go. Conversion from CentOS-8 to RHEL-8 in 5 easy steps.
> 
> Instructions for converting CentOS to RHEL are posted here:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_articles_2360841&d=DwIDAw&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=IBWdeVmMPbkgwCr8Ir6R307eFH3-2aZ9vYnQ7mEhhHM&s=Hhj0voUDSXlQKw63jIuVJYcerY5Bmru62tOJwbHKuMk&e=
>  
> convert2rhel-0.15-1.el8.noarch.rpm from github is not signed
> To be continued...

[root@daqlabpc ~]# rpm -vh --install convert2rhel-0.15-1.el8.noarch.rpm 
error: Failed dependencies:
       dnf-utils is needed by convert2rhel-0.15-1.el8.noarch
       python3-pexpect is needed by convert2rhel-0.15-1.el8.noarch
[root@daqlabpc ~]# 

[root@daqlabpc ~]# yum install dnf-utils python3-pexpect
[root@daqlabpc ~]# rpm -vh --install convert2rhel-0.15-1.el8.noarch.rpm 

[root@daqlabpc ~]# convert2rhel --disable-submgr --enablerepo <RHEL_RepoID1> 
--enablerepo <RHEL_RepoID2> --debug

I do not know what REHEL_RepoID1 and ID2 are supposed to be. I do not have any 
Red Hat repos
in my /etc/yum.repos.d, I only have CentOS, epel, etc.

Dead end?

Let's try to use the subscription manager...

[root@daqlabpc ~]# convert2rhel --debug
...
WARNING - By continuing you accept this EULA.
Continue with the system conversion? [y/n]: y
...
WARNING - The following packages will be removed...
Package                                                                Packager 
        Repository
-------                                                                -------- 
        ----------
centos-logos-80.5-2.el8.x86_64                                         CentOS 
Buildsys  @AppStream
centos-logos-httpd-80.5-2.el8.noarch                                   CentOS 
Buildsys  @AppStream
centos-linux-release-8.3-1.2011.el8.noarch                             CentOS 
Buildsys  @BaseOS
centos-linux-repos-8-2.el8.noarch                                      CentOS 
Buildsys  @BaseOS
rhn-client-tools-2.8.16-13.module_el8.1.0+211+ad6c0bc7.x86_64          CentOS 
Buildsys  @AppStream
python3-rhn-client-tools-2.8.16-13.module_el8.1.0+211+ad6c0bc7.x86_64  CentOS 
Buildsys  @AppStream
python3-rhnlib-2.8.6-8.module_el8.1.0+211+ad6c0bc7.noarch              CentOS 
Buildsys  @AppStream
Continue with the system conversion? [y/n]: y
...
WARNING - Only packages signed by CentOS Linux are to be reinstalled. Red Hat 
support won't be provided for the following third party packages:
Package                                              Packager              
Repository
-------                                              --------              
----------
certbot-1.11.0-1.el8.noarch                          Fedora Project        @epel
convert2rhel-0.15-1.el8.noarch                       N/A                   
@System
ganglia-3.7.2-33.el8.x86_64                          Fedora Project        @epel
google-chrome-stable-88.0.4324.146-1.x86_64          Chrome Linux Team     
@google-chrome-64
zfs-release-1-8.1.noarch                             N/A                   
@@commandline
... and more
Continue with the system conversion? [y/n]: y
...
[02/04/2021 09:56:06] TASK - [Convert: Subscription Manager - Install] 
**************************
[02/04/2021 09:56:06] CRITICAL - The 
/usr/share/convert2rhel/subscription-manager directory does not exist or is 
empty. Using the subscription-manager is not documented yet. Please use the 
--disable-submgr option. Read more about the tool usage in the article 
https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_articles_2360841&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=iel0E8JL_svyu_6W2ZUso-H4dxqnH78q5ZLs2Y3GXAU&s=juJeIzssALq8uliLKAAoGsvuo4IptowyO_g8EO7iuq4&e=
 .

Dead end?

In the comments section of 
https://urldefense.proofpoint.com/v2/url?u=https-3A__access.redhat.com_articles_2360841&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=iel0E8JL_svyu_6W2ZUso-H4dxqnH78q5ZLs2Y3GXAU&s=juJeIzssALq8uliLKAAoGsvuo4IptowyO_g8EO7iuq4&e=
  there is some information
on what to do next, with dates 1-3 Feb 2021 (i.e. fresh just now) and promises 
from a Red Hat person
about "We are working on changes that will not require you to pre-download any 
package except convert2rhel."

So dead end for now, until Red Hat update the instructions.

To be continued...?

-- 
Konstantin Olchanski
Data Acquisition Systems: The Bytes Must Flow!
Email: olchansk-at-triumf-dot-ca
Snail mail: 4004 Wesbrook Mall, TRIUMF, Vancouver, B.C., V6T 2A3, Canada

Reply via email to