-
Bug
-
Resolution: Done
-
Normal
-
None
Correct order (main)
[04/04/2023 15:04:03] TASK - [Convert: Remove packages containing .repo files] ****************** Searching for packages containing .repo files or affecting variables in the .repo files: centos-release .................................. 1 WARNING - The following packages will be removed... Package Vendor/Packager Repository ------- --------------- ---------- centos-release-7-9.2009.1.el7.centos.x86_64 CentOS updates Backing up centos-release-7-9.2009.1.el7.centos.x86_64. [04/04/2023 15:04:03] DEBUG - Downloading the centos-release-7-9.2009.1.el7.centos.x86_64 package. [04/04/2023 15:04:03] DEBUG - Calling command 'yumdownloader -v --destdir=/var/lib/convert2rhel/backup centos-release-7-9.2009.1.el7.centos.x86_64' Successfully downloaded the centos-release-7-9.2009.1.el7.centos.x86_64 package. [04/04/2023 15:04:04] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/centos-release-7-9.2009.1.el7.centos.x86_64.rpm Removing package: centos-release-7-9.2009.1.el7.centos.x86_64 [04/04/2023 15:04:04] DEBUG - Calling command 'rpm -e --nodeps centos-release-7-9.2009.1.el7.centos.x86_64' [04/04/2023 15:04:04] DEBUG - Successfully removed 1 packages
Order in pre-check branch
[04/04/2023 18:10:21] TASK - [Convert: Remove packages containing .repo files] ****************** Searching for packages containing .repo files or affecting variables in the .repo files: centos-release .................................. 1 Backing up centos-release-7-9.2009.1.el7.centos.x86_64. [04/04/2023 18:10:21] DEBUG - Downloading the centos-release-7-9.2009.1.el7.centos.x86_64 package. [04/04/2023 18:10:21] DEBUG - Calling command 'yumdownloader -v --destdir=/var/lib/convert2rhel/backup centos-release-7-9.2009.1.el7.centos.x86_64' Successfully downloaded the centos-release-7-9.2009.1.el7.centos.x86_64 package. [04/04/2023 18:10:23] DEBUG - Path of the downloaded package: /var/lib/convert2rhel/backup/centos-release-7-9.2009.1.el7.centos.x86_64.rpm Removing package: centos-release-7-9.2009.1.el7.centos.x86_64 [04/04/2023 18:10:23] DEBUG - Calling command 'rpm -e --nodeps centos-release-7-9.2009.1.el7.centos.x86_64' WARNING - Successfully removed the following 1 packages: Package Vendor/Packager Repository ------- --------------- ---------- centos-release-7-9.2009.1.el7.centos.x86_64 CentOS updates
Acceptance Criteria
- Fix the order of logging for this action