Linux

將 RHEL 7.6 版升級到 RHEL 8.4(離線)

  • August 15, 2021

我們正在嘗試將我們的 RHEL 伺服器 7.6 升級到 RHEL 8.4

作為

leapp preupgrade --no-rhsm --enablerepo BaseOS --enablerepo AppStream

但最後我們得到以下錯誤

============================================================
                    UPGRADE INHIBITED
============================================================

Upgrade has been inhibited due to the following problems:
   1. Inhibitor: The installed OS version is not supported for the in-place upgrade to RHEL 8
   2. Inhibitor: Detected loaded kernel drivers which have been removed in RHEL 8. Upgrade cannot proceed.
   3. Inhibitor: Missing required answers in the answer file
Consult the pre-upgrade report for details and possible remediation.

============================================================
                    UPGRADE INHIBITED
============================================================

知道如何從上述階段繼續嗎?

筆記:

/etc/leapp/files,我們設置以下文件

ls -ltr /etc/leapp/files
total 3100
-rw-r--r-- 1 root root   47708 Aug 15 12:55 unsupported_pci_ids.json
-rw-r--r-- 1 root root   20711 Aug 15 12:55 unsupported_driver_names.json
-rw-r--r-- 1 root root 3057300 Aug 15 12:55 pes-events.json
-rw-r--r-- 1 root root   39703 Aug 15 12:55 repomap.csv


more  /var/log/leapp/leapp-report.txt
Risk Factor: high (inhibitor)
Title: The installed OS version is not supported for the in-place upgrade to RHEL 8
Summary: The supported OS releases for the upgrade process:
RHEL-ALT 7.6
RHEL-SAPHANA 7.7
RHEL 7.9

抑製劑:安裝的作業系統版本不支持就地升級到 RHEL 8

您需要先升級到最新的 RHEL 7 次要版本 (7.9),請參閱Red Hat Enterprise Linux 支持的就地升級路徑(不同架構有一些例外,但我認為這些不適用於您,因為您得到了這個錯誤)。

抑制因素:答案文件中缺少必需的答案

檢查升級前報告leapp-report.txt並回答問題。請參閱升級文件第 3 章。查看升級前報告以了解更多詳細資訊。

抑製劑:檢測到已在 RHEL 8 中刪除的已載入核心驅動程序。升級無法繼續。

已刪除的驅動程序也在升級前報告中。檢查刪除了哪些驅動程序(此處rmmod提供完整列表)並在升級前解除安裝使用的模組。

引用自:https://unix.stackexchange.com/questions/664770