Releases: oamg/leapp-repository
Releases · oamg/leapp-repository
Release 0.21.0
Packaging
- Start building for EL 9 in the upstream repository on COPR (#1169)
Upgrade handling
Fixes
- Add missing RHUI GCP config info for RHEL for SAP (#1253)
- Fix creation of the post upgrade report about changes in states of systemd services (#1210)
- Fix detection of valid sshd config with internal-sftp subsystem in Leapp (#1212)
- Fix evaluation of PES data (#1194)
- Fix failing "update-ca-trust" command caused by missing util-linux package (#1169)
- Fix handling of versions in RHUI configuration for ELS and SAP upgrades (#1240)
- Fix the parsing of the lscpu output (#1184, #1208)
- Fix the upgrade of systems using RHUI on AWS after changes in RHUI client package (#1178)
- Fix upgrade on aarch64 via RHUI on AWS (#1240)
- Handle a false positive GPG check error when TargetUserSpaceInfo is missing (#1269)
- Target by default always "GA" channel repositories unless a different channel is specified for the leapp execution (#1205)
- Update the default kernel cmdline (#1193, #1216)
- Update the device driver deprecation data, fixing invalid fields for some AMD CPUs (#1211)
- Wait for the storage initialization when /usr is on separate file system - covering SAN (#1218, #1219)
- [IPU 7 -> 8] Drop enforced tomcat removal for satellite when upgrading to RHEL 8.10 (#1243)
- [IPU 7 -> 8] Fix detection of bootable device on RAID (#1260)
- [IPU 8 -> 9] Inhibit the upgrade to RHEL 9.5 on ARM architecture due to incompatibility of the RHEL 8 bootloader and RHEL 9.5 kernel (#1270)
Enhancements
- [IPU 8 -> 9] Introduce upgrade path 8.10 -> 9.5 (#1245, #1246)
- Update leapp data files (#1280)
- Apply solutions for leftover rpms for all major upgrade paths - including experimental actors (#1199)
- Do not terminate the upgrade dracut module execution anymore if /sysroot/root/tmp_leapp_py3/.leapp_upgrade_failed exists (#1197)
- Improve set_systemd_services_states logging (#1213)
- Include leapp command execution and defined leapp envars inside leapp.db - (#1152)
- Introduce experimental upgrades in 'live' mode for the testing (#1248)
- Load obsoleted GPG keys from gpg-signatures.json file instead of hardcoding them (#1241)
- Several minor improvements in messages printed in console output (#1173, #1214, #1274)
- Several minor improvements in report and error messages (#1207, #1217, #1234, #1235, #1242)
- Sort lists in dnf-plugin-data for easier overview (#1231)
- [IPU 7 -> 8] Allow upgrade of content from ELS repositories (#1198)
- [IPU 7 -> 8] Inhibit the upgrade when Legacy GRUB is detected (#1206)
- [IPU 7 -> 8] Inhibit the upgrade when embedding area is small to prevent failed bootloader update (#1195)
- [IPU 8 -> 9] Enable EL 8 > 9 upgrades on Alibaba cloud (#1249)
- [IPU 8 -> 9] Enable EL 8 to 9 upgrade of Satellite/Foreman server (#1181)
- [IPU 9 -> 10] Introduced number of changes to enable IPU 9 -> 10 for testing (#1169)
- [IPU 9 -> 10] Prevent upgrading if NetworkManager is configured with dhcp=dhclient (#1268)
- [IPU 9 -> 10] Update URLs in reports to reflect the next planned major upgrade path (#1169, #1273)
Additional changes interesting for devels
- drop unused
packager
field from gpg-signatures.json (#1233) - [IPU 9 -> 10] make system_upgrade/common leapp repo Python 3.12 compatible
- [IPU 9 -> 10] introduced system_upgrade/el9toel10 leapp repo
New Contributors
- @tomasfratrik made their first contribution in #1186
- @renovate made their first contribution in #1228
- @mm0ran made their first contribution in #1252
- @dupliaka made their first contribution in #1263
- @mscherer made their first contribution in #1260
- @t184256 made their first contribution in #1278
- @lonicerae made their first contribution in #1274
Full Changelog: v0.20.0...v0.21.0
Release 0.20.0
Packaging
Upgrade handling
Fixes
- Detect changes in openssl default configuration file and restore it to the default to the target default during the upgrade to reduce risk of potential issues (#1131)
- Do not try to download data files anymore when missing as the service is obsoleted since the data is part of installed packages (#1120)
- Drop the invalid
tuv
target channel (#1130) - Fix handling of symlinks under /etc/pki when managing certificates (#1135, #1160, #1166)
- Fix semanage import issue (#1164)
- Fix the issue of going out of bounds in the isccfg parser (#1124)
- Fix traceback when saving the rhsm facts results and the /etc/rhsm/facts directory doesn’t exist yet (#1132)
- Handle the upgrade better when a proxy is configured in YUM/DNF configutations (#1143)
- Load all rpm repository substitutions that dnf knows about, not just releasever since repofiles may use the other substitutions too (#1134)
- Minor updates of generated reports (#1151)
- Print nice error msg when device and driver deprecation data is malformed (#1168)
- Report information about required manual steps after the upgrade when openssl-ibmca is installed (#1131)
- Update error messages and reports when installed upgrade data files are malformed or missing (#1120)
- [IPU 7 -> 8] Fix the upgrade of the RH Satellite server when tomcat is installed (#1150)
- [IPU 8 -> 9] Fix the upgrade from RHEL 8.9+ when the release is locked by subscription-manager (#1136, #1138)
Enhancements
- Update upgrade paths: (#1146, #1147, #1175)
- RHEL 7.9 -> 8.10, 8.8 (default: 8.10)
- RHEL with SAPAHA 7.9 -> 8.10, 8.8 (default: 8.8)
- RHEL w/o SAP HANA 8.8 -> 9.2
- RHEL w/o SAP HANA 8.10 -> 9.4
- Added possibility to define DNF configuration for the target system (#1143)
- Code cleaning: drop redundant and invalid NFS checks (#1127)
- Default to NO_RHSM mode when subscription-manager is not found (#1133)
- Detect customized configuration of dynamic linker (#1118)
- Detect possible unexpected RPM GPG keys has been installed during RPM transaction (#1101)
- Drop obsoleted upgrade paths that relates to releases: 8.6, 8.9, 9.0, 9.3 (#1175)
- Ignore Leapp related PES events (#1153)
- Introduce generic transition of systemd services states during the IPU (#1060, #1174)
- Introduce possibility to upgrade with local repositories (#1099)
- Introduced some changes getting us closer to possibility of IPU for Centos (Stream) systems (#1140)
- Report the upgrade customisations and modifications of the upgrade tooling (#1148)
- Simplify handling of upgrades on systems using RHUI, reducing the maintenance burden for cloud providers (#1057)
- Update the leapp upgrade data files - bump data stream to "3.0" (#1163, #1165, #1170)
- Unify breakpoints inside the upgrade initramfs for the easier troubleshooting (#1157)
- [IPU 8 -> 9] Enable upgrades RHEL 8 -> 9 using RHUI on Alibaba cloud (#1137, #1165, #1172)
Additional changes interesting for devels
- Introduced new functions returning a list of packages related to upgrade - see the rpms library (#1156)
- Make detection of installed signed packages distribution agnostic - covers RHEL & CentOS (#876)
- Model InstalledRedHatSignedRPM is deprecated, replaced by DistributionSignedRPM (#876)
New Contributors
- @SandakovMM made their first contribution in #1124
- @mkluson made their first contribution in #1130
- @abadger made their first contribution in #1161
Full Changelog: v0.19.0...v0.20.0
Release 0.19.0
Packaging
- Requires leapp-framework 5.0
Upgrade handling
Fixes
- Add el8toel9 actor to handle directory -> symlink with ruby IRB. (#1076)
- Do not try to update GRUB core on IBM Z systems (#1117)
- Fix failing upgrades with devtmpfs file systems specified in FSTAB (#1090)
- Fix the calculation of the required free space on each partitions/volume for the upgrade transactions (#1097)
- Fix the generation of the report about hybrid images (#1064)
- Handle correctly the installed certificates to allow upgrades with custom repositories using HTTPs with enabled SSL verification (#1106)
- Minor improvements and fixes of various reports (#1066, #1067, #1085)
- Update error messages about leapp data files to inform user how to obtain valid data files (#1121)
- Update links in various reports (#1062, #1086)
- Update the repomap data to cover changed repoids in RHUI Azure (#1087)
- [IPU 7 -> 8] Fix false positive report about invalid symlinks on RHEL 7 (#1052)
- [IPU 8 -> 9] Inhibit the upgrade when unsupported x86-64 microarchitecture is detected (#1059)
Enhancements
- Include updated leapp data files in the RPM (#1046, #1092, #1119)
- Update the set of supported upgrade paths (#1077):
- RHEL with SAP HANA 7.9 -> 8.6, 8.8 (default: 8.6)
- RHEL with SAP HANA 8.8 -> 9.2
- Introduce new upgrade paths:
- RHEL 7.9 -> 8.9 (default)
- RHEL 8.9 -> 9.3
- Correctly update grub2 when /boot resides on multiple devices aggregated in RAID (#1093, #1115)
- Enable upgrades for machines using RHUI on AlibabaCloud (#1088)
- Introduce possibility to add kernel drivers to initramfs (#1081)
- Redesign handling of information about kernel (booted and target) in preparation for new changes in RHEL 9 (#1107)
- Redesign source system overlay to use disk images backed by sparse files to optimize disk space consumption (#1097, #1103)
- Requires leapp-framework 5.0 (#1061, #1116)
- Use new leapp CLI API which provides better report summary output (#1061, #1116)
- [IPU 8 -> 9] Detect and report use of deprecated Xorg drivers (#1078)
- [IPU 8 -> 9] Introduce IPU for systems with FIPS enabled (#1053)
Additional changes interesting for devels
- Deprecated
GrubInfo.orig_device_name
field in theGrubInfo
model (replaced byGrubInfo.orig_devices
) (#1093) - Deprecated
InstalledTargetKernelVersion
model (replaced byInstalledTargetKernelInfo
) (#1107) - Deprecated
leapp.libraries.common.config.version.is_rhel_realtime
(check the type in msgKernelInfo
, fieldtype
) (#1107) - Deprecated
leapp.libraries.common.grub.get_grub_device()
(replaced byleapp.libraries.common.grub.get_grub_devices()
) (#1093) - Introduced new devel envar LEAPP_DEVEL_KEEP_DISK_IMGS=1 to skip the removal of the created disk images for OVL. That's sometimes handy for the debugging. (#1097)
New Contributors
- @jackorp made their first contribution in #1076
- @dkubek made their first contribution in #1059
- @Wecros made their first contribution in #1085
- @ofourdan made their first contribution in #1078
- @cdwertmann made their first contribution in #1089
- @jinkkkang made their first contribution in #1088
Full Changelog: v0.18.0...v0.19.0
Release 0.18.0
Packaging
- Requires cpio (#979)
- Requires python3-gobject-base, NetworkManager-libnm (#969)
- Bump leapp-repository-dependencies to 9 (#969, #979)
Upgrade handling
Fixes
- Add leapp RHUI packages to an allowlist to drop confusing reports (#995)
- Check only mounted XFS partitions (#1027)
- Detect the kernel-core RPM instead of kernel to prevent an error during post-upgrade phases (#1024)
- Disable the amazon-id DNF plugin on AWS during the upgrade stage to omit error messages during the upgrade process caused by missing network connection (#990)
- Do not create new *pyc files when running leapp after the DNF upgrade transaction (#1017)
- Enable upgrades on s390x when /boot is part of rootfs (#991)
- Extend the allow list of RHUI clients by azure-sap-apps to omit confusing report (#974)
- Filter out PES events unrelated for the used upgrade path and handle overlapping events (#1008)
- Fix scan of ceph volumes on systems without ceph-osd (#1011)
- Fix scan of ceph volumes when ceph-osd container is not found (#986)
- Fix systemd symlinks that become incorrect during the IPU (#972)
- Fix the check of memory (RAM) limits (#984)
- Fix the upgrade of IBM Z machines configured with ZFCP (#983)
- Ignore external accounts in /etc/passwd (#958)
- Inhibit the upgrade when entries in /etc/fstab cause overshadowing during the upgrade (#1009)
- Prevent leapp failures caused by re-run of leapp in the upgrade initramfs after previous failure, which causes additional confusing error message hiding original bugs (#996)
- Prevent the upgrade with RHSM when a baseos and an appstream target repositories are not discovered (#1001)
- RHUI(Azure) handle correctly various SAP images (#1037)
- Rework the network configuration handling and parse the configuration data properly (#969)
- Set RHSM release for non-ga and non-beta channels (#1033)
- Use the "grub" library to find the GRUB device (#989)
- [IPU 7 -> 8] Detect corrupted grubenv file (#1012)
- [IPU 7 -> 8] Ensure that rsyncd stays enabled if it is enabled prior the upgrade(#1043)
- [IPU 7 -> 8] Ensure that satellite metapackages are installed after the upgrade (#994)
- [IPU 7 -> 8] Ensure the device_cio_free service stays enabled on s390x after the upgrade (#977)
- [IPU 7 -> 8] Fixed checks for RHEL SAP IPU 7.9 -> 8.6 (#978)
- [IPU 7 -> 8] Fixed migration of ntp to chrony when the ntp service is masked (#966)
- [IPU 7 -> 8] Prevent the traceback during migration of sendmail configuration files when the package is not installed (#1041)
- [IPU 7 -> 8] Satellite: reindex all related databases to fix issues due to new locales in RHEL 8 (#1007, #1018)
- [IPU 7 -> 8] Use the correct domain name in SSSD reports (#1040)
- [IPU 8 -> 9] Added checks for RHEL SAP IPU 8.6 -> 9.0 (#978)
- [IPU 8 -> 9] CheckVDO: Ask user for the confirmation only on failures and undetermined devices (#961)
- [IPU 8 -> 9] Fix the kernel detection during initramfs creation for new kernel on RHEL 9.2+ (#1048)
- [IPU 8 -> 9] Fix the upgrade on Azure using RHUI for SAP Apps images (#975)
- [IPU 8 -> 9] Handle correctly firewalld version 0.8 (#963)
Enhancements
- Set new upgrade paths (#988): -- RHEL 7.9 -> 8.8, 8.6 (default: 8.8)
- RHEL 8.6 -> 9.0
- RHEL 8.8 -> 9.2
- Check that used leapp data are valid and compatible with the installed leapp-repository (#1003)
- Detect a proxy configuration in YUM/DNF and adjust an error msg on issues caused by the configuration (#914)
- Detect and report systemd symlinks that are broken before the upgrade (#972)
- Drop obsoleted upgrade paths (#1047)
- Improve remediation instructions for packages in unknown repositories (#1010)
- Improve the error message to guide users when discovered more space is needed (#956)
- Introduce --nogpgcheck option to skip checking of RPM signatures (#910)
- Introduced an option to use an ISO file as a target RHEL version content source (#979)
- Introduced possibility to specify what systemd services should be enabled/disabled on the upgraded system (#964)
- Map the target repositories also based on the installed content (#967)
- Provide common information about systemd services (#959)
- Register subscribed systems automatically to Red Hat Insights unless --no-insights-register is used (#1000)
- Remove obsoleted GPG keys provided by RH after the upgrade to prevent errors (#1022)
- Run upgrade process with checking RPM signatures by default (#910, #993, #1025)
- Save breadcrumbs results as RHSM facts (#1002)
- Small improvements in various reports (#1038, #1039, #1032)
- [IPU 8 -> 9] Detect CIFS also when upgrading from RHEL8 to RHEL9 (#1035)
- [IPU 8 -> 9] Detect RoCE on IBM Z machines and check the configuration is safe for the upgrade (#1030)
- [IPU 8 -> 9] Enable upgrades of RHEL 8 for SAP HANA to RHEL 9 on ppc64le (#1042)
- [IPU 8 -> 9] Improve the handling of blocklisted certificates (#992)
Additional changes interesting for devels
- Started work on bringing up networking inside the upgrade initramfs - currently available for testing and development purposes when LEAPP_DEVEL_INITRAM_NETWORK is set (#960)
- Add leapp debug tools to the upgrade initramfs - dracut upgrade module (#997)
- Enable disabling of DNF plugins in the dnfplugin library (#990)
New Contributors
- @rmetrich made their first contribution in #983
- @TomasTomecek made their first contribution in #848
- @jamacku made their first contribution in #957
- @bessonc made their first contribution in #1011
- @rjrelyea made their first contribution in #992
- @tdi2004 made their first contribution in #1030
Full Changelog: v0.17.0...v0.18.0
Release 0.17.0
Packaging
- Provide and require leapp-repository-dependencies 7 (#952)
- Provide
leapp-command(<CMD>)
for each CLI command provided by leapp-repository (#947) - Require dracut, kmod, procps-ng on RHEL 8+ (#952)
- Require leapp-framework >= 3.1 (#905, #927)
Upgrade handling
Fixes
- Do not create the upgrade bootloader entry when the dnf dry-run actor fails (#912)
- Do not inhibit in-place upgrades in case LUKS volumes are Ceph OSDs (#735)
- Fix & improve application of custom selinux rules to be less error prone and do not override changes done by RPM scriptlets (#925)
- Fix detection of deprecated devices (and drivers) regarding the PCI address (#881)
- Fix detection of deprecated kernel modules (#874)
- Fix the false positive NFS storage detection on NFS servers (#888)
- Fix the issues on systems with the LANGUAGE environment variable (#887)
- Fix the root directory scan to deal with non-utf8 filenames (#927)
- Skip comment lines when parsing the GRUB configuration file (#883)
- Stop propagating the “debug” and ”enforcing=0” kernel cmdline options into the target kernel cmdline options (#938, #950)
- [IPU 7 -> 8] Fix the upgrade of the Satellite server (#875, #878, #879 #890, #899, #916, 934)
- [IPU 7 -> 8] Fix SSSD: Prune old cache files (the format of data is incompatible) (#922)
- [IPU 8 -> 9] Enable the CRB repository for the upgrade only if enabled on the source system (#942)
- [IPU 8 -> 9] Drop obsoleted actor blocking upgrade on z16 (#892)
- [IPU 8 -> 9] Fix cloud provider detection on AWS (#920)
- [IPU 8 -> 9] Fix detention of the latest kernel on RHEL 8+ systems (#909)
- [IPU 8 -> 9] Fix issues caused by leapp artifacts from previous in-place upgrades (#889)
- [IPU 8 -> 9] Fix issues with false positive switch to emergency console during the upgrade (#906)
- [IPU 8 -> 9] Fix swap page size on aarch64 (#937, #948)
- [IPU 8 -> 9] Fix the VDO scanner to skip partitions unrelated to VDO and adjust error messages (#919)
Enhancements
- Add 8.7 & 9.1 Beta & GA product certificates (#891)
- Detect /var/lib/leapp being mounted in a non-persistent fashion (#921)
- Detect /var/lib/leapp mounted with the noexec option (#908)
- Improve the report msg when NFS partitions are discovered providing info about concrete mountpoints (#806)
- Inform about necessary migrations related to bacula-director (#896)
- [IPU 7 -> 8] The default upgrade path for RHEL SAP is 7.9 -> 8.6 (#939)
- [IPU 7 -> 8] Detect and fix missing newline at the end of /etc/default/grub (#945)
- [IPU 7 -> 8] Handle upgrades of SAP Apps systems on Azure (#926)
- [IPU 7 -> 8] Handle upgrades on RHUI Google Cloud (#897, #946)
- [IPU 8 -> 9] Support upgrade path RHEL 8.7 -> 9.0 and RHEL SAP 8.6 -> 9.0 (#903, #894)
- [IPU 8 -> 9] Add actors covering removal of NIS components on RHEL 9 (#851)
- [IPU 8 -> 9] Add checks for obsolete .NET versions (#867)
- [IPU 8 -> 9] Allow specifying the report schema v1.2.0 (#872)
- [IPU 8 -> 9] Check and handle upgrades with custom crypto policies (#898)
- [IPU 8 -> 9] Check and migrate OpenSSH configuration (#864, #860)
- [IPU 8 -> 9] Check and migrate multipath configuration the upgrade (#886)
- [IPU 8 -> 9] Check minimum memory requirements (#935)
- [IPU 8 -> 9] Enable Base and SAP In-place upgrades on Azure (#943)
- [IPU 8 -> 9] Enable in-place upgrades in Azure RHEL 8 base images using RHUI (#918)
- [IPU 8 -> 9] Handle upgrades of SAP systems on AWS (#924)
- [IPU 8 -> 9] Inhibit upgrade when NVIDIA driver is detected (#880)
- [IPU 8 -> 9] Migrate blocklisted CAs (#882)
- [IPU 8 -> 9] Migrate the OpenSSL configuration (#900)
- [IPU 8 -> 9] Report changes around SCP and SFTP (#863, #893)
Additional changes interesting for devels
- Extend LsblkEntry model in StorageInfo by kernel name and size of partition in bytes (#919)
- Mass refactoring: Fix imports in actors and libraries to follow project guidelines (#932)
- Mass refactoring: Replace use of deprecated
reporting.(Tags|Flags)
byreporting.Groups
(#932) - PESEventScanner actor has been fully refactored (#856, #941)
- Use library function is_inhibitor to check for failures (#905)
New Contributors
- @tmds made their first contribution in #867
- @nielsdg made their first contribution in #880
- @asm0deuz made their first contribution in #735
- @thimslugga made their first contribution in #920
- @matejmatuska made their first contribution in #921
- @ekohl made their first contribution in #929
- @pcahyna made their first contribution in #896
- @alexxa made their first contribution in #939
- @mkulik-rh made their first contribution in #851
Full Changelog: v0.16.0...v0.17.0
Release 0.16.0
Packaging
- Requires leapp-framework >= 2.2
- Bump leapp-framework-dependencies to 5
Upgrade handling
Fixes
- Fallback to /etc/leapp/repos.d if missing config option instead of using cwd (#849)
- Filter out unrelated PES data for the particular IPU path (#789)
- Fix bug with existing symlink when migrating YUM configuration files (#811)
- Fix creating invalid answerfile in "authselectcheck" actor (#748)
- Fix generating of instructions/data for the leapp DNF plugin during the IPU (#754)
- Fix generating the target initramfs when additional files and dracut modules are requested to be added (#838)
- Fix getting device attribute through udev on Python 3 (#758)
- Fix parsing of sysctl output (#793)
- Fix processing of merge events from PES data (#768, #825)
- Fix random crashes when printing DNF output (#745)
- Fix scanning "/etc/default/grub" with empty line (#845)
- Fix scanning information about mounted devices (#711)
- Fix severities in the "targetuserspacecreator" actor (#751)
- Fix the "rerun" command after adding the "--channel" option (#750)
- Fix the execution order for the dnf dry run actor (#801)
- Skip checking the flavor and target_version upon leapp --resume (#781)
- Use more accurate tense in the SELinux messaging (#614)
Enhancements
- Introduce IPU for RHEL 8 to RHEL 9 \o/
- New upgrade paths for RHEL with SAP HANA (#834)
- Changed upgrade paths:
- RHEL 7.9 -> [8.4, 8.6] (default: 8.6)
- RHEL 8.6 -> 9.0
- RHEL with SAP 7.9 -> [8.2, 8.6] (default: 8.2)
- RHEL with SAP 8.6 -> 9.0
- Add 8.6, 9.0 Beta & GA product certificates (#776, #794)
- Add detection of enabled YUM & DNF plugins (#703)
- Bind the /run/lock dir into the container in the upgrade initramfs env (#831)
- Enable RHEL 8 to RHEL 9 upgrades on RHUI for AWS (#828)
- Enhance handling selinux related stuff for 8 to 9 upgrade (#749)
- Generalize checking of device drivers (#835)
- Improve the performance of the leapp execution for "pre first reboot" phases (#741)
- Introduce DNFWorkarounds to register scripts to be executed before DNF run (#841)
- Introduce DNF modularity support (#672, #799)
- Introduce the --report-schema option to control the version of the generated report format (#696)
- Introduce the --target option to specify the version of the target system (#780)
- Provide the LEAPP_IPU_IN_PROGRESS envar during the IPU (#830)
- [IPU 7 -> 8]: Add CUPS actors - cupsscanner, cupscheck, cupsmigrate (#181)
- [IPU 7 -> 8]: Convert restrictions with IPv6 mask in "migratentp" actor (#756)
- [IPU 7 -> 8]: Handle upgrading Satellite instances (#733)
- [IPU 7 -> 8]: Warn about docker deprecation when installed
- [IPU 7 -> 8]: Zipl: Inhibit if boot entries share the same kernel image (#816)
- [IPU 7 -> 8]: bind configuration check (#521)
- [IPU 8 -> 9]: Add actor that ensures ifcfg files work in el9 (#839)
- [IPU 8 -> 9]: Add actor that scans for deprecated network settings (#842)
- [IPU 8 -> 9]: Add inhibitor FirewalldCheckServiceTftpClient (#792)
- [IPU 8 -> 9]: Add inihibtor FirewalldCheckAllowZoneDrifting (#777)
- [IPU 8 -> 9]: Add kpatch actor to handle live kernel patching during IPU (#837)
- [IPU 8 -> 9]: Add mariadbcheck actor to link upgrade documentation (#836)
- [IPU 8 -> 9]: Add postgresqlcheck actor to link upgrade documentation (#802)
- [IPU 8 -> 9]: Add scan & checks for VDO devices (#821)
- [IPU 8 -> 9]: Apply a new way of disabling SELinux (#769)
- [IPU 8 -> 9]: Check SSSD configuration for changes in RHEL9 and report them (#732)
- [IPU 8 -> 9]: Check the existence of the custom network-scripts (#729)
- [IPU 8 -> 9]: Provide upgrade inhibitor for ipa-server (#765)
Additional changes interesting for devels
- Move target release and flavor specification to a separate lib (#753)
- Refactor "transactionworkarounds" actor and fix tests (#759)
- Several actors moved to the system_upgrade/common repository (#800, #803, #805, #833)
New Contributors
- @liangwen12year made their first contribution in #729
- @flo-renaud made their first contribution in #765
- @brianjmurrell made their first contribution in #811
- @fila43 made their first contribution in #802
- @r0x0d made their first contribution in #832
- @jshimkus-rh made their first contribution in #821
- @sm00th made their first contribution in #837
- @evgeni made their first contribution in #733
- @PeterMocary made their first contribution in #846
Release 0.15.0
Packaging
- Add dependency on
dnf-command(config-manager)
(#701) - Added a dependency on leapp as the new rpm provides leapp commands (#701, #)
- Bumped leapp-repository-dependencies to 6 (#701)
- Provides the leapp-upgrade capability, so users can install all packages just by the
yum install leapp-upgrade
command (#701) - Support building on RHEL 8 systems: leapp-upgrade-el8toel9 (#701)
- The leapp-repository rpm has been renamed to leapp-upgrade-el7toel8 for RHEL 7 (#701)
Upgrade handling
Fixes
- Check all devices (not only PCI devices) for possible removed drivers (#666)
- Do not exclude repoids enabled via the --enablerepo option (#623)
- Enforce the
en_US.utf-8
locale when running leapp to prevent various issues when a different locale is used on the system (#706) - Enhance the check of required free space on disk for the upgrade (#734)
- Fix XFS ftype=0 workaround when "non-XFS" rootfs is present (#674)
- Fix detection of XFS partitions without ftype (#678)
- Fix handling of /etc/yum.repos.d directory for RHUI (#730)
- Fix handling of issues when fetching leapp data files
- Fix incorrect mapping of RHEL repositories (#714)
- Fix invalid detection of RHEL-ALT on RHEL 8 systems
- Fix the detection of NFS partitions in /etc/fstab (#712)
- Fix the report message when multiple NICs with ethX names are present (#640)
- Introduce the LEAPP_NO_NETWORK_RENAMING environment variable to leave management of NICs names on user when set to '1'; fixes e.g. problems with bonding configuration (#721)
- Various Python3 compatibility fixes in regards to prepare for IPU 8 -> 9 (#680, #679, #681, #688)
Enhancements
- Changed supported upgrade path for RHEL with SAP: RHEL with SAP 7.9 -> 8.2
- Add PostgresqlCheck actor for basic reporting about PostgresSQL changes (#136)
- Add multiple attempts to fetch data from server and increased the timeout to improve the experience on systems with unstable network connection
- Add possibility to influence creation of targetuserspace container, upgrade initramfs, and target initramfs (#517)
- Add the scandasd actor to check if DASD is used on s390x arch (#517)
- Enable upgrades for SAP on AWS & Azure using RHUI (#736, #739)
- Generate /etc/migration-results upon leapp preupgrade / upgrade execution to inform about status of the migration (#719)
- Improve the report message when BTRFS is detected (#727)
- Inhibit the upgrade if any CIFS entries found in /etc/fstab (#632)
- Inhibit the upgrade if any deprecated OpenSSH configuration options / directives are detected (#695)
- Inhibit the upgrade when multiple rescue boot entries exist on s390x (#700)
- Inhibit the upgrade when x32b and x64b versions of packages are installed (#628)
- Introduce hard preservation of leapp packages during the IPU (#701)
- Introduce new system of automatic mapping of RHEL repositories for the in-place upgrade based on the repomap.json file (#714)
- Introduce the --channel CLI option to specify the channel (e.g. eus) supposed to be used for the upgrade (#728)
- Report the problems with target repositories using inhibitors instead of error messages (#731)
- Restore the leapp environment variables on --resume execution after the reboot of the system (#724)
- Update (or create) the /etc/{yum,dnf}/var/releasever file if exists or RHUI is detected (#720)
Additional changes interesting for devels
- CLI: leapp CLI commands are now part of leapp-repository in the
commands
directory (#662) - Drop of RepositoriesMap and RepositoryMap models as these have been replaced by new 'private' models and it was no possible to keep the original functionality connected to connected to these old models (#714)
- Dropped possibility to upgrade from/to HTB systems (HTB doesn't exist anymore)
- Introduced the LEAPP_DEVEL_USE_PERSISTENT_PACKAGE_CACHE envar for development and testing purposes to speed up the process, but use of the envar could end with some issues when the cached data is not fresh (#725)
- Introduced many changes as preparation for the IPU 8 -> 9
- Introduced the upgrade/common leapp repository: contains fundamental parts generic for all IPUs
- Introduced the upgrade/el8toel9 leapp repository: contains stuff related just for IPU 8 -> 9; depends on the upgrades/common repository
- The upgrade/el7toel8 leapp repository contains only stuff related to IPU 7 -> 8
- Makefile: introduce the
fast_lint
target to run linters just on files different from master (#722) - The InstalledRPM model is extended by module:stream data (#667)
- config library: introduce
get_target_major_version
andget_source_major_version
functions - fetch library: the
fetch_or_read
function allows to specify the file encoding (#717) - mounting library: add the remove_tree isolated action (#517)
- testutils library: CurrentActorMocked: implemented the get_actor_file_path method (#517)
Release 0.14.0
Packaging
- Added dependency on python-requests on RHEL 7
Upgrade handling
Fixes
- Fix migration of Quagga to FRR on 8.4
Enhancements
- Changed supported upgrade paths:
RHEL-ALT 7.6 -> 8.4
RHEL 7.9 -> 8.4
RHEL with SAP 7.7 -> 8.2 (unchanged) - Download the leapp data from cloud.redhat.com automatically
when no data are present locally (and system is registered) - Inhibit the upgrade if the system uses any drivers dropped
from the target system
Additional changes interesting for devels
- added possibility of dumping leapp archive via serial console
(undocumented yet) - Add the fetch shared library
- Add PCIDevice model representing PCI devices
- Add RestrictedPCIDevices representing restricted PCI devices
Release 0.13.0
Packaging
- Bump required leapp-framework capability to 1.4 (#642)
Upgrade handling
Fixes
- Fix comparison of the newest installed and booted kernel (#600)
- Fix remediation command for ipa-server removal (#617)
- Fix crash due to missing network interfaces during upgrade phases (#625)
- Fix error with /boot/efi existing on non-EFI systems (#627)
- Fix false positive detection of issue in /etc/default/grub that led into GRUB prompt (#587)
- Fix syntax error in upgrade script (#619)
- Inhibit upgrade with mount options in fstab that break mounting on RHEL 8 (#639)
- Inhibit upgrade on s390x machines with /boot on a separate partition (#641)
- Inhibit upgrade if multiple kernel-debug pkgs are installed (#599)
- Remove the initial-setup package to avoid it asking for EULA acceptance during upgrade (#626)
- Remove the leapp-resume service after the FirstBoot phase to prevent kill of the leapp process on
systemctl daemon-reload
(#611)
Enhancements
- Add upgrade support for SAP HANA (own upgrade path) (#503)
- Allow upgrade with SCA enabled manifest (#615)
- Add actors to migrate Quagga to FRR (#467)
- Add stable uniq Key id for every dialog (#618)
- Respect the kernel-rt package (#600)
Additional changes interesting for devels
- Add a possibility to overwrite virtualenv name using
$VENVNAME
(#613) - Update product certificates for RHEL 8.3 GA and 8.4 Beta/HTB (#624)
Related leapp release: https://github.com/oamg/leapp/releases/tag/v0.12.0
Release 0.12.0
Packaging
- Require new leapp framework capability 1.3
- Fix python macro error in spec file
Upgrade handling
Fixes
- Do not inhibit if winbind or wins is used in nsswitch.conf (as the issue is fixed in RHEL 8.2)
- Do not remove java from the upgrade transaction
- Fix handling of events with same initial releases and input packages
- Fix storing of logs from initramfs
- Fix traceback on repos with a mirrorlist or metalink
- Make sure "default.target.wants" dir exists
- authselect: Fix mkhomedir issues after authselect conversion
Enhancements
- Enable upgrades on AWS and Azure
- Check usage of removed/deprecated leapp env vars
- Improve remediation instructions for HA clusters
Additional changes interesting for devels
- Deprecated the GrubDevice model (use
get_grub_device()
function instead) - Deprecated the UpdateGrub model (use
get_grub_device()
function instead) - Deprecated
leapp.libraries.common.testutils.logger_mocked.warn()
to be consistent with Python upsrteam decision