converting to RHEL8...

2021-02-01 Thread Konstantin Olchanski
Welcome to my "convert to RHEL8" blog. As you might know, I have been running
Red Hat, SL and CentOS machines for about 25 years now. Lacking SL-8,
latest incarnation of this series is CentOS-8 and now powers-that-be
instruct us to use RHEL-8 instead. So,

Here we go. Conversion from CentOS-8 to RHEL-8 in 5 easy steps.

Main announcement of "16 free RHEL subscriptions" per "developer":
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com_en_blog_new-2Dyear-2Dnew-2Dred-2Dhat-2Denterprise-2Dlinux-2Dprograms-2Deasier-2Dways-2Daccess-2Drhel-3Fsource-3Dblogchannel-26channel-3Dblog_channel_red-2Dhat-2Denterprise-2Dlinux&d=DwIDAw&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=IBWdeVmMPbkgwCr8Ir6R307eFH3-2aZ9vYnQ7mEhhHM&s=Nr6cQ40qpd7tUZVaiCs5XQ0MyOB6xi3VeKjzLmSVuYQ&e=
 

I do have a RedHat developer account. A few weeks ago, there was nothing there,
as of a few days ago, there is a "1 active subscriptions" page, as of today,
there is a "using 0 out of 16 entitlements" page. (I do not see any
email notices about all this activity and I do not see any blog messages
about this. So communications can be improved).

I also see a link to download RHEL8 ISO and DVD images, I did not try it yet.

So far so good.

BTW, when logging into the RedHat developer account, there is a number
of click-through agreements to "agree" with. Read them. If you
do not like them, tough!

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=
 

They start with "hire Red Hat to do the job" (fair is fair, nothing better
than expert help!), and move to the Convert2RHEL tool.

This tool, at 
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_oamg_convert2rhel_&d=DwIDAw&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=IBWdeVmMPbkgwCr8Ir6R307eFH3-2aZ9vYnQ7mEhhHM&s=abbG4Y8cEtfUdozsmDGSszrCG5MueYPy9xL-1FiW348&e=
 , does not appear to be
an official Red Hat or CentOS product and I see only one author/maintainer 
listed,
from Vsetín/Czech Republic. A tool directly developed and maintained by 
RedHat/CentOS
would have been much preferred, especially by those worrying about 
"supply-chain" integrity.

convert2rhel-0.15-1.el8.noarch.rpm from github is not signed, not even by the 
author,
so the chain of trust going from "everything signed by centos" to "everything 
is signed by redhat"
is not preserved. The possibility of downloading and running a trojaned 
conversion
script is not eliminated.

Next, I see this: "Known issues: UEFI-based systems cannot currently be 
converted to RHEL. (BZ#1899314)",
I am not sure if my CentOS-8 test system uses UEFI or Legacy boot, but I am not 
worries
about this, fixing "broken grub" boot problems is routine. As likely as not I 
will
replace the grub2 boot loader with syslinux, which is much more stable and also 
easy to debug.

Next, I do not see in the instructions the step for obtaining and installing
a Red Hat subscription activation key. I assume I get the activation key
somewhere in my Red Hat developer account, but I did not find the button
to do this yet, and I do not know what to do with the activation key anyway.

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


Re: converting to RHEL8...

2021-02-03 Thread Nico Kadel-Garcia
On Mon, Feb 1, 2021 at 3:26 PM Konstantin Olchanski  wrote:
>
> Welcome to my "convert to RHEL8" blog. As you might know, I have been running
> Red Hat, SL and CentOS machines for about 25 years now. Lacking SL-8,
> latest incarnation of this series is CentOS-8 and now powers-that-be
> instruct us to use RHEL-8 instead. So,
>
> Here we go. Conversion from CentOS-8 to RHEL-8 in 5 easy steps.

Identically named RPM's do not necessarily have identical contents. To
do a really *thorough* switch, you need to reinstall *everything*. I
used to publish scripts for this, for switching from RHEL to CentOS to
Scientific Linux and other combinations.

Nico Kadel-Garcia


Re: converting to RHEL8...

2021-02-04 Thread Konstantin Olchanski
On Thu, Feb 04, 2021 at 02:24:57AM -0500, Nico Kadel-Garcia wrote:
>
> > Here we go. Conversion from CentOS-8 to RHEL-8 in 5 easy steps.
> 
> Identically named RPM's do not necessarily have identical contents. To
> do a really *thorough* switch, you need to reinstall *everything*.
>

So you recommend as last step of conversion to run this:

foreach $rpm {
yum reinstall $rpm
}

I suspect this is unnecessary, but you are right, one will have a mongrel system
unless it is done. But do you know of any case where it makes a practical 
difference?
Even way back when?

>
> I used to publish scripts for this, for switching from RHEL to CentOS to
> Scientific Linux and other combinations.
> 

Time to dust them off, I guess.

-- 
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


Re: converting to RHEL8...

2021-02-04 Thread Konstantin Olchanski
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  
--enablerepo  --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...
PackagePackager 
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


Re: converting to RHEL8...

2021-02-04 Thread RL
If in doubt, i always did a fresh install, so never had a messup. 
Conversion? Never ever. Dot.


I am running SL7.9 of FermiLab  now. Im sure RH will continue to share 
updates. There is no spilt milk, why cry?


If needed, i will have a follower OS prepared in good time ready to 
switch to. (Checkouts with VirtualBox since a long time).


Where to go later? Dont think it will be debian then; I read DistroWatch 
now and then


Regards,
Rainer

### 
--

On 2/4/21 7:07 PM, Konstantin Olchanski wrote:

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  
--enablerepo  --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...
PackagePackager 
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."


Re: converting to RHEL8...

2021-02-04 Thread Ching Him Leung
I have not tried RHEL yet, but I have some success converting from CentOS 8 to 
Springdale 8 on a VM. Here are some instruction I found on rocky linux forum

dnf update -y
rpm -e --nodeps centos-backgrounds centos-indexhtml centos-gpg-keys 
centos-linux-release centos-linux-repos centos-logos
rpm -ivh \

http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-appstream-8-0.sdl8.2.noarch.rpm
 \

http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-core-8-0.sdl8.2.noarch.rpm
 \

http://springdale.princeton.edu/data/springdale/8/x86_64/os/BaseOS/Packages/springdale-release-8.3-0.42.el8.x86_64.rpm
dnf distro-sync -y

the distro-sync will reinstall every package 

Ching Him


Re: converting to RHEL8...

2021-02-04 Thread Yasha Karant
From:  https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.math.ias.edu_&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=pOM6wQMzgedRsg4HzlewGm9N_84-75QBg_hgYJfrr1w&s=NcdRyRcfQFX1_79q-H0uCKsdNlYen2foB1NlJWJ0IZo&e= 


DVD
i386x86_64
8.3 TBA TBA

End excerpt.

Thus, it appears only an install from the web is available, not the 
ability to create local images (e.g., on bootable optical media or 
bootable USB flash drive).  For reasons of both throughput limitations 
as well as network interruptions, I prefer to do a "fresh" install from 
local media.  Is there a mechanism short of duplicating an entire distro 
web site of producing such an image for Springdale 8 EL?


On 2/4/21 1:42 PM, Ching Him Leung wrote:

I have not tried RHEL yet, but I have some success converting from CentOS 8 to 
Springdale 8 on a VM. Here are some instruction I found on rocky linux forum

dnf update -y
rpm -e --nodeps centos-backgrounds centos-indexhtml centos-gpg-keys 
centos-linux-release centos-linux-repos centos-logos
rpm -ivh \
 
https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Dappstream-2D8-2D0.sdl8.2.noarch.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=pOM6wQMzgedRsg4HzlewGm9N_84-75QBg_hgYJfrr1w&s=teKmwheq9PspWJqF-7s-hVdM9iwSHxGsr3JZTYaG6Ks&e=
  \
 
https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Dcore-2D8-2D0.sdl8.2.noarch.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=pOM6wQMzgedRsg4HzlewGm9N_84-75QBg_hgYJfrr1w&s=kaVaMeFFDryVppcy5dc3QLVQUDuMzYVhz9RWa9YVXhY&e=
  \
 https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Drelease-2D8.3-2D0.42.el8.x86-5F64.rpm&d=DwICaQ&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=pOM6wQMzgedRsg4HzlewGm9N_84-75QBg_hgYJfrr1w&s=7By4jw_wwesZCou0Vx0df-b8uQHXMOvtjhBpkU_HCQ0&e= 
dnf distro-sync -y


the distro-sync will reinstall every package

Ching Him



Re: converting to RHEL8...

2021-02-04 Thread Konstantin Olchanski
These instructions are insecure, set you up for a supply-chain attack:

a) RPMs are loaded over plain "http" (no "https")
b) RPM signature is not checked

A more secure sequence would:

- wget 
https://urldefense.proofpoint.com/v2/url?u=https-3A__somewhere_rpm-2Dsignature-2Dkey&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=Bwvu8ORtdwu_qqgSySYBdSQ5VFU2sSZyj1XlHQ96Gz4&s=OuX1i3RoFfYAZJrzTBCVE8ywgKYMw1puabTsB1I4ljM&e=
 
- independantly verify this signature
- rpm import it
- rpm check signature before installing (or use yum, confirm package signature 
is enabled)


K.O.


On Thu, Feb 04, 2021 at 03:42:31PM -0600, Ching Him Leung wrote:
> I have not tried RHEL yet, but I have some success converting from CentOS 8 
> to Springdale 8 on a VM. Here are some instruction I found on rocky linux 
> forum
> 
> dnf update -y
> rpm -e --nodeps centos-backgrounds centos-indexhtml centos-gpg-keys 
> centos-linux-release centos-linux-repos centos-logos
> rpm -ivh \
> 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Dappstream-2D8-2D0.sdl8.2.noarch.rpm&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=Bwvu8ORtdwu_qqgSySYBdSQ5VFU2sSZyj1XlHQ96Gz4&s=3awxciVrCSZEziaUehriWnMttfwlCRKuMKjepx6bbz0&e=
>   \
> 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Dcore-2D8-2D0.sdl8.2.noarch.rpm&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=Bwvu8ORtdwu_qqgSySYBdSQ5VFU2sSZyj1XlHQ96Gz4&s=xBX0ndIbr0GKnXILKqPO-qmzF3uRMRJoqW64SxEgvjE&e=
>   \
> 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__springdale.princeton.edu_data_springdale_8_x86-5F64_os_BaseOS_Packages_springdale-2Drelease-2D8.3-2D0.42.el8.x86-5F64.rpm&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=Bwvu8ORtdwu_qqgSySYBdSQ5VFU2sSZyj1XlHQ96Gz4&s=EB5q0Mf4XnrLhTF5rmgjfjnR71LWhzI4xDHIRPwvwx8&e=
>  
> dnf distro-sync -y
> 
> the distro-sync will reinstall every package 
> 
> Ching Him

-- 
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


Re: converting to RHEL8...

2021-02-04 Thread Konstantin Olchanski
On Thu, Feb 04, 2021 at 01:59:08PM -0800, Yasha Karant wrote:
> 
> Thus, it appears only an install from the web is available, not the
> ability to create local images (e.g., on bootable optical media or
> bootable USB flash drive).  For reasons of both throughput
> limitations as well as network interruptions, I prefer to do a
> "fresh" install from local media.  Is there a mechanism short of
> duplicating an entire distro web site of producing such an image for
> Springdale 8 EL?
> 

Off-topic here. Please take it to the Springdale support forum.

-- 
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


Re: converting to RHEL8...

2021-02-07 Thread Konstantin Olchanski
On Thu, Feb 04, 2021 at 10:07:43AM -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...

Updated version of convert2rhel is out. RPM still not signed.

[root@daqlabpc ~]# rpm -vh --upgrade convert2rhel-0.16-1.el8.noarch.rpm 
...
[root@daqlabpc ~]# convert2rhel 
...
WARNING - By continuing you accept this EULA.
Continue with the system conversion? [y/n]: y
...
Running the 'rpm -Va' command which can take several minutes. 
... ... ... (no kidding. but it is a slow computer)
[02/07/2021 10:01:17] TASK - [Convert: List third-party packages] 
***
WARNING - Only packages signed by CentOS Linux are to be reinstalled. Red Hat 
support won't be provided for the following third party packages:
certbot-1.11.0-1.el8.noarch  Fedora Project@epel
ganglia-3.7.2-33.el8.x86_64  Fedora Project@epel
zfs-release-1-8.1.noarch N/A   
@@commandline
...
Continue with the system conversion? [y/n]: y
...
WARNING - The following packages will be removed...
Package
Vendor/Packager  Repository
---
---  --
centos-logos-80.5-2.el8.x86_64 CentOS 
Buildsys  @AppStream
centos-logos-httpd-80.5-2.el8.noarch   CentOS 
Buildsys  @AppStream
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
...
[02/07/2021 10:04:34] 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.
...
[02/07/2021 10:04:49] TASK - [Convert: Subscription Manager - Replace] 
**
Removing non-RHEL subscription-manager packages.
Upon continuing, we will uninstall the following subscription-manager pkgs:

Package  Vendor/Packager  
Repository
---  ---  
--
dnf-plugin-subscription-manager-1.27.16-1.el8.x86_64 CentOS Buildsys  
@BaseOS
python3-subscription-manager-rhsm-1.27.16-1.el8.x86_64   CentOS Buildsys  
@BaseOS
subscription-manager-1.27.16-1.el8.x86_64CentOS Buildsys  
@BaseOS
subscription-manager-rhsm-certificates-1.27.16-1.el8.x86_64  CentOS Buildsys  
@BaseOS
Continue with the system conversion? [y/n]: y
...
[02/07/2021 10:05:50] TASK - [Convert: Install RHEL certificates for RHSM] 
**
Installing RHEL certificate to the system.

[02/07/2021 10:05:50] TASK - [Convert: Subscription Manager - Subscribe system] 
*
Building subscription-manager command ... 
... activation key not found, username and password required
...
Username: hah...@hahaha.example.com (email address as usename will not work!)
...
Password: letmein
...
Registering system by running subscription-manager command ... 
Registering to: subscription.rhsm.redhat.com:443/subscription
HTTP error (401 - Unauthorized): Invalid username or password. To create a 
login, please visit 
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.redhat.com_wapps_ugc_register.html&d=DwIBAg&c=gRgGjJ3BkIsb5y6s49QqsA&r=gd8BzeSQcySVxr0gDWSEbN-P-pgDXkdyCtaMqdCgPPdW1cyL5RIpaIYrCn8C5x2A&m=rPpmkxaspgfc9oWErBJ6ENXC7F1bGr0WF49JwjMUCNg&s=CT3gIQCVO3HZE3pYHadDsBlSsh0IytjibeQ9PyxBbjY&e=
 
...
Username: enter user name from "you are logged in as", no the email address
...
Password: letmein
...
Registering system by running subscription-manager command ... 
Registering to: subscription.rhsm.redhat.com:443/subscription
The system has been registered with ID: ...
The registered system name is: daqlabpc.triumf.ca
...
Manually select subscription appropriate for the conversion
...
Enter number of the chosen subscription: 1 (the only one availab