Releases: oamg/convert2rhel
Release 1.3.2
What's Changed
Bug Fixes 🐛
- [RHELC-1061, RHELC-1060, RHELC-1062] Fix package names with periods breaking conversion by @nikatbu in #855
New Contributors
Full Changelog: v1.3.1...v1.3.2
Release 1.3.1
Release 1.3.0 Swallowtail
Highlights
Enables a technical preview of our pre-conversion analyze command that is planned for full release in v1.4. This feature will look through the system and give any details about the system's known ideal state for conversion. It does not guarantee a fail-safe conversion but highlights areas that are common issues. The pre-conversion analysis command can be enabled by setting the CONVERT2RHEL_EXPERIMENTAL_ANALYSIS
environment variable to 1.
What's Changed
Enhancements 🎉
- [RHELC-724] Move adding of
NullHandler
to the root logger. by @abadger in #732 - [RHELC-869] Remove el6 related code by @SpyTec in #754
- [RHELC-667] Improve package version comparison by @pr-watson in #713
- [RHELC-667] Additional validation for package version comparison by @pr-watson in #762
- [RHELC-832] Add ability to do micro releases by @pr-watson in #752
- [RHELC-875] Porting out optparse to argparse by @r0x0d in #782
- [RHELC-750] Rewrite the log messages in
check_needed_repos_availability()
to not use "unsupported" by @Andrew-ang9 in #729 - [RHELC-751] Implement a pre-assessment tech preview by @abadger in #761
- [RHELC-901] Allow username and organization in the config file by @r0x0d in #826
- [RHELC-781, RHELC-821] Improve UX with SCA enabled: Don't require --pool or --auto-attach by @pr-watson in #814
Security Hardening 🔒
Bug Fixes 🐛
- [RHELC-885] Fix Ctrl + C during conversion not starting rollback during certain tasks by @r0x0d in #759
- RHSM: do not use the
force
D-Bus registration option by @ptoscano in #812 - [RHELC-1009] Fix the log message for invalid package detection by @pr-watson in #829
- [RHELC-1010] Handle empty arch in package information by @r0x0d in #828
- [RHELC-1003] Allow to skip kernel check even if packages are available by @wombelix in #817
- [RHELC-899] Prevent packages marked for update to reinstall by @r0x0d in #833
New Contributors
- @thrix made their first contribution in #811
- @ptoscano made their first contribution in #812
- @wombelix made their first contribution in #817
Full Changelog: v1.2...v1.3.0
Release 1.2 Jupiter
What's Changed
Enhancements 🎉
- [RHELC-858] Remove the RHEL 6 conversion capability by @r0x0d in #699
- [RHELC-861] Remove epel-6 target from the Packit configuration by @r0x0d in #706
- [RHELC-244] Allow overriding the inhibitor for incompatible kernel modules by @Andrew-ang9 in #613
- [RHELC-776] Remove a no longer necessary UEFI-related workaround for Oracle Linux 7 by @r0x0d in #668
- [RHELC-886] Always print a log message about an RHSM rollback by @bocekm in #717
- [RHELC-723] Remove RegistrationCommand.args property by @pr-watson in #681
- [RHELC-693] Verify that both the RHSM organization and activation key are being passed by @hosekadam in #563
- [RHELC-780] Improve logging and handling of RHSM facts by @r0x0d in #671
- [RHELC-882] Change the label of debug messages in a log file from FILE to DEBUG by @abadger in #722
- [RHELC-779] Remove unused
call_yum_cmd_w_downgrades function
by @r0x0d in #669 - [RHELC-778] Add a progress indicator for the main package replacement by @r0x0d in #709
- [RHELC-134] Clean yum cache of disabled repos by @pr-watson in #724
- [RHELC-854] Man/help page to mention config file location by @hosekadam in #710
- [RHELC-244] Rename unavailable kmod inhibitor envar by @bocekm in #745
- [RHELC-849, RHELC-850] Allow opting out of telemetry by @hosekadam in #723
Security Hardening 🔒
Bug Fixes 🐛
- [RHELC-745] Fix conversion with "LANGUAGE" envar by @Andrew-ang9 in #615
- [RHELC-890] De-duplicate log messages about imported GPG keys by @bocekm in #727
- [RHELC-892] Fix duplicate setting of locale by @abadger in #731
- [RHELC-891] Use
https
instead ofhttp
in the internet connection check by @r0x0d in #736 - [RHELC-829] Fix a traceback when checking if the latest kernel is loaded by @r0x0d in #687
- [RHELC-889] Make TASK log messages consistent by @bocekm in #726
- [RHELC-733] Get a correct partition number when adding a new UEFI bootloader entry by @Andrew-ang9 in #712
- [RHELC-752] Verify kernel boot files after conversion by @r0x0d in #721
Big thanks to our amazing QE team
New Contributors
- @pr-watson made their first contribution in #685
Full Changelog: v1.1...v1.2
Release 1.1 Matylda
Enhancements
- Merge yum transactions into a single one to detect issues early enough for a full rollback by @r0x0d in #528
- Collect breadcrumbs through RHSM custom facts by @r0x0d in #612
- Improve GPG key import and repository-related messages by @bocekm in #547
- Create a BackupController Framework and a rpm gpg key plugin by @abadger in #516
- Clean up new convert2rhel version check code by @Andrew-ang9 in #566
- Clean up unavailable kernel modules check code by @r0x0d in #469
- Improve internet connectivity check by @r0x0d in #587
- Add RHEL 8.6 among the supported EUS minor versions by @bocekm in #607
- Improve latest convert2rhel version check logging by @SpyTec in #649
- Improve failed conversion message by @SpyTec in #637
- Securely log convert2rhel command used by @SpyTec in #638
Bug fixes
- Handle unsuccessful repoquery call in kernel check by @r0x0d in #557
- Check if shim-x64 package is present on the system by @r0x0d in #572
- Fix permissions check for certificates by @abadger in #608
- Fix failing downloads of packages with a long name by @bocekm in #624
- Fix: allow CI systems to disable color by @SpyTec in #622
- Do not show output from
systemctl show
during systeminfo gathering by @abadger in #639 - Omit
exclude=
options from repoquery to not fail on checking that the kernel is up-to-date by @PicklesMcDougan in #641 - Fix the format of the message about unavailable kernel modules by @abadger in #651
- Allow but warn about deprecated env var by @abadger in #648
- Fix duplicated path in logs by @SpyTec in #658
- Skip latest kernel check on OL8.4 by @hosekadam in #589
- Fix for temporary gpg home dir race condition by @abadger in #655
- Backup all CentOS subscription-manager packages by @bocekm in #650
- Fix incorrect kernel signature check by @r0x0d in #623
- Install the redhat-uep.pem certificate if it is needed by @abadger in #642
- Do not disable RHSM repos before pkg backup by @hosekadam in #627
Big thanks to our amazing QE team
New Contributors
- @psss made their first contribution in #579
- @PicklesMcDougan made their first contribution in #641
Full Changelog: v1.0...v1.1
Release 1.0 Franklin
This marks our v1.0 release! There are no substantial changes here that decided for a 1.0 release. Instead, this has been a long time coming where we have thought about the stability of convert2rhel and when to make the major version jump. We will now follow a major.minor
version flow where every new major version we do will include breaking changes to the previous version.
Changes in this version include:
Enhancements
- Checking if a new version of convert2rhel is available (#415)
- Updating GRUB2 bootloader images (#417)
- Warning if multiple authentication sources are specified (#451)
- Improved log messages (#501, #499, #458)
Security hardening
- Introduced a user-customizable config file for passing RHSM credentials safely (#451, #562)
- Using dbus API for RHSM registration to safely pass the activation key (#540)
- Verifying GPG key for UBI and CentOS 6 Linux repositories (#505)
Deprecation
- Deprecated
-f
--password-from-file
parameter option (#451)
Bug fixes
- Fixed logging error with unavailable RHSM certificate (#447)
- Fixed gnome-documents-libs package conflict (#554)
- Fixed handling shim-x64 package protection on non-UEFI systems (#553)
- Fixed unknown tag in an rpm query (#389, #424)
- Clearing yum cache before first yum call (#398)
- Added missing eus_rhsm_repoids key into OS 6 config files (#539)
- Fixed Ansible playbook example for CentOS Linux 8 conversions (#534)
Release 0.26 Vivi
Changes in this version include:
Enhancements
- Support RHEL EUS version 8.4 (#458)
- Auto-attach subscription if only one is available (#385)
- Improve check for packages to update from (#491)
- Fix unavailable repos on CentOS Linux 8 in Ansible playbook (#467)
- Improve message on how to disable Secure Boot (#468)
- Update release mapping to 8.10 (#450)
- Improve clarity over a variety of logging and messages (#414)
- Untrack previously installed subscription manager packages (#393)
- Add (unsupported) possibility to convert from Rocky Linux 8 (#316)
- Add (unsupported) possibility to convert from AlmaLinux 8 (#348)
- Improve code stability of subprocess calls (#389)
- Add live kernel version checks and package status (#356)
Security hardening
- Prevent users on same system from gaining RHSM password through a process list (CVE-2022-0852) (#492)
- Use password file in Ansible playbook to prevent leaking password through a process list (CVE-2022-1662) (#493)
Bug fixes
- Fix KeyError when handling alphabetical characters in boot entries (#391)
- Fix installation of subscription manager packages on systems derived from RHEL 8 (#494)
- Exclude iwlax2xx-firmware dependency in Oracle Linux 8 (#483, #500)
- Prevent duplicate logging when getting package updates (#495)
- Prevent backing up specific package that is not available on latest minor version (#429)
- Fixed logs of previous runs being moved instead of copied (#481)
- Prevent user from not selecting a response when queried (#390)
- Fixed minor version not being added correctly when creating RHEL GRUB entry (#456)
Release 0.25 Little Mole
Changes in this version includes:
- Fix an issue with python3-cloud-what package missing preventing an RHSM registration on Oracle Linux 8 (#388)
- Fix yum distro-sync returning non-zero value when no change causing a conversion failure past the PONR on RHEL 8 derivatives (#346)
- Fix an issue with detection of gcc-c++ as a dependency causing a conversion failure past the PONR on Oracle Linux 7 (#374)
- Halt when unable to back up packages to ensure complete rollback (#358)
- Set LANG env var to C to prevent issues with RHSM registration with other than English locale (#386)
- Back up /etc/os-release file to not break registering to Red Hat Satellite after rerunning convert2rhel (#357, #384)
- Keep log of just the latest run of convert2rhel in /var/log/convert2rhel/convert2rhel.log and archive logs of the previous runs (#359, #375)
- Fix trailing '%s' in tainted kernel inhibitor message (#354)
- Avoid mutable types as default args (#373)
- Less verbose messages when backing up files (#350)
- Improve timestamp format reported in the breadcrumbs file /etc/migration-results (#382)
- Integration tests: Verify system is unregistered during rollback (#345)
- Integration tests: Verify non-english LANG env variables (#387)
- Integration tests: Fix non-supported kmods tests (#368)
Release 0.24 Arctic
Changes in this version include:
- Allow converting UEFI-based systems to RHEL 7 and 8 (#223)
- Fix python 2.6 incompatible code (#339)
- Improve the example Ansible playbook for conversions at scale(#336)
- Install pip as part of install-testing-deps role (#338)
- Integration tests: Add ansible role to set up custom repo (#342)
- Integration tests: Add one kernel test case scenario (#335)
- Integration tests: Add test using Satellite for conversion (#332)
- Integration tests: Add test using custom repos for conversion (#333)
- Integration tests: Move dependency check test to conversion directory (#328)
- Integration tests: Add test using activation key (#323)
- Integration tests: Add test that check variant help message (#330)
- Integration tests: Small improvements and refactors (#331)
Release 0.23 Santiago
Changes in this version include:
- Create /etc/migration-results with basic information about convert2rhel being executed (#324)
- Handle yum conflicts where pkg A depends on pkg B, B is being replaced but replacement for A is not available (#326)
- Inhibit the conversion only if loaded (not installed) kernel modules are not available in RHEL (#305)
- Remove temporary folder /var/lib/convert2rhel/ after successful conversion (#262)
- Allow converting Scientific Linux 7 (#308)
- Roll back the installation of an RHSM certificate (#203)
- Add LC=ALL to existing environment variables when calling shell commands instead of overriding them (#305)
- Improve handling yum transaction errors by expecting underscore in a pkg name (#325)
- Improve patching yum.conf so that it's not necessary to back up (#189)
- Introduce a new make
copr-build
command to create builds in Fedora Copr (#317) - Integration tests: Do not capture and print all stdout/err when a test fails (#327)
- Integration tests: Abstract away from the processor architecture of the system on which tests are executed (#334)
- Integration tests: Increase the time limit for a reboot to 600 seconds due to slower test systems in the cloud (#329)
- Integration tests: Use new TMT 'environment-file' option (#319)
- Integration tests: Limit the tests to run on relevant test systems only (#315)
- Integration tests: Set the timeout for tests from the default 5 min to 30 min (#309)