我们正在尝试将 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
答案1
抑制剂:安装的操作系统版本不支持就地升级到 RHEL 8
您需要先升级到最新的 RHEL 7 次要版本(7.9),请参阅Red Hat Enterprise Linux 支持的就地升级路径(不同的体系结构有一些例外,但我认为这些不适用于您,因为您收到了此错误)。
抑制剂:答案文件中缺少必需的答案
检查升级前报告leapp-report.txt
并回答问题。查看升级文档第 3 章 查看升级前报告更多细节。
抑制剂:检测到加载的内核驱动程序已在 RHEL 8 中删除。升级无法继续。
升级前报告中也包含已删除的驱动程序。检查哪些驱动程序被删除(完整列表可用这里rmmod
)并卸载升级前使用的模块。