- Requires leapp-framework 6.6+ - Initial implementation of upgrades on systems with configured Software RAID - Include multipath related configuration in the upgrade environment - Fix upgrades on systems with multiple LUKS devices - Fix upgrades for systems with /boot/efi on a Software RAID - Fix upgrade crashing when dnf repofiles contain URL encoded characters - Fix mount failures for FSTAB entries with the `nofail` option specified - Fix upgrade incorrectly resuming during SELinux relabeling - Fix AVC SELinux warnings - LiveMode: Fix upgrade getting stuck when the `.leapp_upgrade_failed` file exists - LiveMode: Fix system version determination in the upgrade environment on CentOS Stream - Fix target system initramfs containing outdated configuration files in some circumstances - Inhibit the upgrade when network devices configured with ifcfg files could depend on NM - Ensure SELinux is set to permissive mode during the upgrade even when enforcing=1 is set on the kernel cmdline - Fix source and target distribution names in /etc/migration-results - Fix upgrades with the RealTime kernel on CentOS Stream - Install the correct kernel for the source system kernel page size on ARM systems - Introduce rhui.obsolete_gpg_keys configuration option for the removal of obsoleted RPM GPG keys of RHUI Cloud providers - Detect misconfigured kernel & systemd API mountpoints in FSTAB - Detect misconfigured /var/run on the source system - Unify behaviour of upgrades on systems with enabled CRB repositories and explicitly required CRB repositories by user during the upgrade - Drop the inconsistent report about the use of CRB (unsupported by Red Hat) repositories - Check and migrate the multipath configuration when possible - Fix unwanted suspend mode after 15min of inactivity after the upgrade on systems with graphical environment - Resolves: RHEL-111860, RHEL-115867, RHEL-121205, RHEL-147438, RHEL-148697, RHEL-151509, RHEL-154369, RHEL-154370, RHEL-156580, RHEL-161560, RHEL-161684, RHEL-174874
84 lines
2.8 KiB
Diff
84 lines
2.8 KiB
Diff
From b1bf3ce6175e007f304443830a49b641fe0aa96f Mon Sep 17 00:00:00 2001
|
|
From: Benjamin Marzinski <bmarzins@redhat.com>
|
|
Date: Wed, 18 Mar 2026 16:38:43 -0400
|
|
Subject: [PATCH 054/105] multipath: Add MultipathConfig9to10 and
|
|
MultipathConfFacts9to10
|
|
|
|
Add el9toel10 models to track the necessary configuration changes for
|
|
the upgrade from RHEL-9 to RHEL-10
|
|
|
|
Jira: RHEL-151509
|
|
---
|
|
.../el9toel10/models/multipath9to10.py | 59 +++++++++++++++++++
|
|
1 file changed, 59 insertions(+)
|
|
create mode 100644 repos/system_upgrade/el9toel10/models/multipath9to10.py
|
|
|
|
diff --git a/repos/system_upgrade/el9toel10/models/multipath9to10.py b/repos/system_upgrade/el9toel10/models/multipath9to10.py
|
|
new file mode 100644
|
|
index 00000000..19ef24cf
|
|
--- /dev/null
|
|
+++ b/repos/system_upgrade/el9toel10/models/multipath9to10.py
|
|
@@ -0,0 +1,59 @@
|
|
+from leapp.models import fields, Model
|
|
+from leapp.topics import SystemInfoTopic
|
|
+
|
|
+
|
|
+class MultipathConfig9to10(Model):
|
|
+ """
|
|
+ Model information about multipath configuration file important for the 9>10 upgrade path.
|
|
+ """
|
|
+ topic = SystemInfoTopic
|
|
+
|
|
+ pathname = fields.String()
|
|
+ """Config file path name"""
|
|
+
|
|
+ config_dir = fields.Nullable(fields.String())
|
|
+ """
|
|
+ Value of config_dir in the defaults section. None if not set.
|
|
+ Used both to track config lines that need commenting out and
|
|
+ to determine the actual directory location.
|
|
+ """
|
|
+
|
|
+ bindings_file = fields.Nullable(fields.String())
|
|
+ """
|
|
+ Value of bindings_file in the defaults section. None if not set.
|
|
+ Used both to track config lines that need commenting out and
|
|
+ to determine the actual file location for copying.
|
|
+ """
|
|
+
|
|
+ wwids_file = fields.Nullable(fields.String())
|
|
+ """
|
|
+ Value of wwids_file in the defaults section. None if not set.
|
|
+ Used both to track config lines that need commenting out and
|
|
+ to determine the actual file location for copying.
|
|
+ """
|
|
+
|
|
+ prkeys_file = fields.Nullable(fields.String())
|
|
+ """
|
|
+ Value of prkeys_file in the defaults section. None if not set.
|
|
+ Used both to track config lines that need commenting out and
|
|
+ to determine the actual file location for copying.
|
|
+ """
|
|
+
|
|
+ has_socket_activation = fields.Boolean(default=True)
|
|
+ """True if multipathd socket activation is enabled"""
|
|
+
|
|
+ has_dm_nvme_multipathing = fields.Boolean(default=False)
|
|
+ """True if DM NVMe multipathing is enabled"""
|
|
+
|
|
+ has_getuid = fields.Boolean(default=False)
|
|
+ """True if the getuid option is set anywhere in the multipath config"""
|
|
+
|
|
+
|
|
+class MultipathConfFacts9to10(Model):
|
|
+ """
|
|
+ Model representing information from multipath configuration files important for the 9>10 upgrade path.
|
|
+ """
|
|
+ topic = SystemInfoTopic
|
|
+
|
|
+ configs = fields.List(fields.Model(MultipathConfig9to10), default=[])
|
|
+ """List of multipath configuration files"""
|
|
--
|
|
2.54.0
|
|
|