Ce contenu n'est pas disponible dans la langue sélectionnée.
Chapter 8. Troubleshooting conversions
This chapter lists troubleshooting resources and tips.
8.1. Troubleshooting resources Copier lienLien copié sur presse-papiers!
To help you troubleshoot issues that can occur during the conversion process, review the log messages that you can find in the console and log files.
- Console Output
-
By default, only info, warning, error, and critical log level messages are printed to the console output by the
Convert2RHELutility. To also print debug messages, use the--debugoption with theconvert2rhelcommand. - Logs
-
The
/var/log/convert2rhel/convert2rhel.logfile lists debug, info, warning, error, and critical messages. -
The
/var/log/convert2rhel/rpm_va.logfile lists all package files on the unconverted system that a user has modified. Therpm -Vacommand generates this output. It is run automatically unless you use the--no-rpm-vaoption with theconvert2rhelcommand.
-
The
8.2. Fix dependency errors Copier lienLien copié sur presse-papiers!
During a conversion from a different Linux distribution to RHEL, you can install certain packages without some of their dependencies.
Prerequisites
- You have successfully completed the conversion to RHEL. See Converting to a RHEL system for more information.
Procedure
Identify dependencies errors:
# yum check dependenciesIf the command displays no output, no further actions are required.
-
To fix dependency errors, reinstall the affected packages. During this operation, the
yumutility automatically installs missing dependencies. If the repositories that are available on the system do not have required dependencies, install those packages manually.
8.3. Known issues and limitations Copier lienLien copié sur presse-papiers!
Learn about known issues and limitations that can occur during the conversion.
- Conversion with Red Hat Content Delivery Network (CDN) or Satellite through the Red Hat Subscription Manager (RHSM)
Systems that connect to the Internet by using an HTTP proxy server cannot convert using Red Hat CDN or Satellite through RHSM by using the command line. To work around this problem, enable HTTP proxy for yum and then configure the HTTP proxy for RHSM:
- Configure yum to use an HTTP proxy. For more information, see the Red Hat Knowledgebase solution How to enable proxy settings for yum command on RHEL?
Install the
subscription-managerpackage:Download the Red Hat GPG key:
# curl -o /etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release https://security.access.redhat.com/data/fd431d51.txtInstall a repository file for the
client-toolsrepository that has thesubscription-managerpackage:For conversions to RHEL 7:
# curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-7-server.repoFor conversions to RHEL 8:
# curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-8.repoFor conversions to RHEL 9:
# curl -o /etc/yum.repos.d/client-tools.repo https://cdn-public.redhat.com/content/public/repofiles/client-tools-for-rhel-9.repo
If you are converting to an earlier version of RHEL 8, for example, RHEL 8.5, update the
$releasevervalue in the client-tools repository:# sed -i 's%\$releasever%<release_version>%' /etc/yum.repos.d/client-tools.repoReplace release_version with the correct release version, for example
8.5or8.10.Install the following subscription-manager packages:
# yum -y install subscription-manager subscription-manager-rhsm-certificates
- Configure HTTP proxy for RHSM. For more information, see the Red Hat Knowledgebase solution How to configure HTTP Proxy for Red Hat Subscription Management.
Register the system with RHSM:
# subscription-manager register --org <organization_id> --activationkey <activation_key>Replace organization_id and activation_key with the organization ID and activation key from the Red Hat Customer Portal.
-
Remove the organization ID and activation key from the
/etc/convert2rhel.inifile. Perform the conversion to RHEL:
# convert2rhel
- Conversion of UEFI systems with Secure Boot
UEFI systems with Secure Boot enabled are not supported for conversion. To work around this issue, complete the following steps:
- Disable Secure Boot before the conversion. For more information, see the Red Hat Knowledgebase solution convert2rhel fails on UEFI systems with Secure Boot enabled.
- Perform the conversion to RHEL.
If converting from Oracle Linux 7 or Alma Linux 8, install the
shim-x64package:# yum install -y shim-x64Re-enable Secure Boot.
8.4. Obtaining support Copier lienLien copié sur presse-papiers!
If you experience problems during the conversion, notify Red Hat so that these problems can be addressed.
If you are experiencing problems during the conversion, raise a Support case of Severity 3 or Severity 4 level only. For more details, see Production Support Terms of Service.
Prerequisites
-
The
sospackage is installed. You must use this package to generate ansosreportthat the Red Hat Support team requires when you open a support case.
Procedure
To obtain support, perform either of the following steps:
Open a support case:
-
Select the appropriate version of RHEL as the product, and attach an
sosreportfrom your system. Generate an
sosreporton your system:# sosreportNote that you can leave the case ID empty.
-
Select the appropriate version of RHEL as the product, and attach an
Submit a bug report:
-
Open a bug, select the appropriate version of RHEL as the product, and select
convert2rhelas the component.
-
Open a bug, select the appropriate version of RHEL as the product, and select