- Requires leapp-framework 6.6+ - Initial implementation of upgrades on systems with configured Software RAID - Handle multipath device identification in upgrade environment - Fix upgrade incorrectly resuming during SELinux relabeling - Fix upgrades on systems with multiple LUKS devices - Fix upgrades for systems with /boot/efi on a Software RAID - Fix mount failures for FSTAB entries with the `nofail` option specified - Fix AVC errors triggered by registration to insight-client during the upgrade - Install the correct kernel for the source system kernel page size on ARM systems - Inhibit the upgrade when network devices configured with ifcfg files could depend on NM - Introduce rhui.obsolete_gpg_keys configuration option for the removal of obsoleted RPM GPG keys of RHUI Cloud providers - 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 - 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 - 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 - Fix upgrade crashing when dnf repofiles contain URL encoded characters - Resolves: RHEL-3289, RHEL-17842, RHEL-36249, RHEL-56040, RHEL-56176, RHEL-60060, RHEL-76846, RHEL-104384, RHEL-145136, RHEL-148631, RHEL-162192, RHEL-185508
49 lines
2.1 KiB
Diff
49 lines
2.1 KiB
Diff
From 7d576c6d427d748e43c71e9ee031f556810fbb36 Mon Sep 17 00:00:00 2001
|
|
From: Petr Stodulka <pstodulk@redhat.com>
|
|
Date: Tue, 10 Mar 2026 16:11:47 +0100
|
|
Subject: [PATCH 069/108] dnflibs.dnfplugin: Drop dead code:
|
|
_handle_transaction_err_msg_old
|
|
|
|
This function is not used anywhere anymore. Let's just remove it.
|
|
|
|
Signed-off-by: Petr Stodulka <pstodulk@redhat.com>
|
|
---
|
|
.../common/libraries/dnflibs/dnfplugin.py | 21 -------------------
|
|
1 file changed, 21 deletions(-)
|
|
|
|
diff --git a/repos/system_upgrade/common/libraries/dnflibs/dnfplugin.py b/repos/system_upgrade/common/libraries/dnflibs/dnfplugin.py
|
|
index 32407283..b0e10054 100644
|
|
--- a/repos/system_upgrade/common/libraries/dnflibs/dnfplugin.py
|
|
+++ b/repos/system_upgrade/common/libraries/dnflibs/dnfplugin.py
|
|
@@ -145,27 +145,6 @@ def backup_debug_data(context):
|
|
api.current_logger().warning('Failed to copy debugdata. Message: {}'.format(str(e)), exc_info=True)
|
|
|
|
|
|
-def _handle_transaction_err_msg_old(stage, xfs_info, err):
|
|
- # NOTE(pstodulk): This is going to be removed in future!
|
|
- message = 'DNF execution failed with non zero exit code.'
|
|
- details = {'STDOUT': err.stdout, 'STDERR': err.stderr}
|
|
-
|
|
- if 'more space needed on the' in err.stderr and stage != 'upgrade':
|
|
- # Disk Requirements:
|
|
- # At least <size> more space needed on the <path> filesystem.
|
|
- #
|
|
- article_section = 'Generic case'
|
|
- if xfs_info.present and xfs_info.without_ftype:
|
|
- article_section = 'XFS ftype=0 case'
|
|
-
|
|
- message = ('There is not enough space on the file system hosting /var/lib/leapp directory '
|
|
- 'to extract the packages.')
|
|
- details = {'hint': "Please follow the instructions in the '{}' section of the article at: "
|
|
- "link: https://access.redhat.com/solutions/5057391".format(article_section)}
|
|
-
|
|
- raise StopActorExecutionError(message=message, details=details)
|
|
-
|
|
-
|
|
def _handle_transaction_err_msg(err, is_container=False):
|
|
NO_SPACE_STR = 'more space needed on the'
|
|
if NO_SPACE_STR not in err.stderr:
|
|
--
|
|
2.54.0
|
|
|