Trying to use convert2rhel but ....

Issues related to applications and software problems and general support
Post Reply
enigma131
Posts: 18
Joined: 2020/12/13 18:31:11

Trying to use convert2rhel but ....

Post by enigma131 » 2021/10/11 11:18:51

HI,
I'm trying to move to Redhat 8.4 from Centos 8.4.
I following this guide : https://www.linuxbabe.com/redhat/migrat ... ma-linux-8
but here:
LC_ALL=C sudo dnf -y install convert2rhel
Failed loading plugin "spacewalk": No module named 'up2date_client'
Convert2RHEL for OS 8 0.0 B/s | 0 B 00:00
Errors during downloading metadata for repository 'convert2rhel-for-rhel-8-rpms':
- Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/public/c ... repomd.xml [error setting certificate verify locations:
CAfile: /etc/rhsm/ca/redhat-uep.pem
CApath: none]
Error: Failed to download metadata for repo 'convert2rhel-for-rhel-8-rpms': Cannot download repomd.xml: Curl error (77): Problem with the SSL CA cert (path? access rights?) for https://cdn.redhat.com/content/public/c ... repomd.xml [error setting certificate verify locations:
CAfile: /etc/rhsm/ca/redhat-uep.pem
CApath: none]

Seems file /etc/rhsm/ca/redhat-uep.pem is missing, I'm surprised the guide is from August.
The registering for Redhat under the tutorial is OK, I've got my ID.
CentOs 8 to RHEL 8 migrated

enigma131
Posts: 18
Joined: 2020/12/13 18:31:11

Re: Trying to use convert2rhel but ....

Post by enigma131 » 2021/10/11 12:17:16

Responding to myself :
https://access.redhat.com/documentation ... rhel/index
This line is missing in the guide :
sudo curl --create-dirs -o /etc/rhsm/ca/redhat-uep.pem https://ftp.redhat.com/redhat/convert2r ... at-uep.pem
CentOs 8 to RHEL 8 migrated

enigma131
Posts: 18
Joined: 2020/12/13 18:31:11

Re: Trying to use convert2rhel but ....

Post by enigma131 » 2021/10/11 12:35:10

problem with converting now :
[10/11/2021 14:27:34] TASK - [Convert: Subscription Manager - Subscribe system] *****************
Building subscription-manager command ...
... activation key detected: xxxx
... organization detected
Registering the system using subscription-manager ...
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib64/python3.6/logging/__init__.py", line 996, in emit
stream.write(msg)
UnicodeEncodeError: 'ascii' codec can't encode character '\xe8' in position 143: ordinal not in range(128)
Call stack:
File "/sbin/subscription-manager", line 11, in <module>
load_entry_point('subscription-manager==1.28.13', 'console_scripts', 'subscription-manager')()
File "/usr/lib64/python3.6/site-packages/subscription_manager/scripts/subscription_manager.py", line 87, in main
return managercli.ManagerCLI().main()
File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 3310, in main
ret = CLI.main(self)
File "/usr/lib64/python3.6/site-packages/subscription_manager/cli.py", line 183, in main
return cmd.main()
File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 546, in main
return_code = self._do_command()
File "/usr/lib64/python3.6/site-packages/subscription_manager/managercli.py", line 1610, in _do_command
service_level=self.options.service_level,
File "/usr/lib64/python3.6/site-packages/rhsmlib/services/register.py", line 85, in register
facts_dict = self.facts.get_facts()
File "/usr/lib64/python3.6/site-packages/subscription_manager/facts.py", line 78, in get_facts
facts = collector.get_all()
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/all.py", line 40, in get_all
results.update(fact_collector.get_all())
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/host_collector.py", line 55, in get_all
firmware_info_dict = firmware_collector.get_all()
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/firmware_info.py", line 103, in get_all
firmware_info = self.get_firmware_info()
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/firmware_info.py", line 96, in get_firmware_info
firmware_info_dict = firmware_info_collector.get_all()
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/dmiinfo.py", line 93, in get_all
self.log_warnings(dmidecode)
File "/usr/lib64/python3.6/site-packages/rhsmlib/facts/dmiinfo.py", line 130, in log_warnings
log.warn(_("Error reading system DMI information: %s"), dmiwarnings, exc_info=True)
Message: 'Erreur lors de la lecture des informations DMI du syst\xe8me\xa0: %s'
Arguments: ('# SMBIOS implementations newer than version 2.7 are not\n# fully supported by this version of dmidecode.\n\n',)
'ascii' codec can't encode character '\xe8' in position 7: ordinal not in range(128)
System registration failed with return code = 70
Trying again - provide username and password.
Building subscription-manager command ...
... activation key detected: xxxx
... organization detected
Attempt 2 of 3: Registering the system using subscription-manager ...
'ascii' codec can't encode character '\u2019' in position 15: ordinal not in range(128)
System registration failed with return code = 70
Trying again - provide username and password.
Building subscription-manager command ...
... activation key detected: xxxx
... organization detected
Attempt 3 of 3: Registering the system using subscription-manager ...
'ascii' codec can't encode character '\u2019' in position 15: ordinal not in range(128)
System registration failed with return code = 70
Trying again - provide username and password.
CRITICAL - Unable to register the system through subscription-manager.
WARNING - Abnormal exit! Performing rollback ...

I'm not sur i put correctly my activationkey , how th get it ? (not see on page with organisation ID) https://access.redhat.com/management/activation_keys
CentOs 8 to RHEL 8 migrated

Post Reply

Return to “8 /8-Stream / 9-Stream - General Support”