-
Sub-task
-
Resolution: Not a Bug
-
Minor
-
None
-
None
-
None
-
False
-
False
-
-
Testable
The parent issue RHELC-1592 has the label that triggered autocreation of this subtask to track the relative story point estimation for the integration test part of the issue.
The parent issue description at the time of creation of this issue was:
convert2rhel is failing when trying to use {{convert2rhel analyse on a CentOS 7.9 system where}}
- kernel is not up to date
- needs a proxy to access to the web
- has access to a local RHEL 8 mirror
- is not registered in subscription manager
- convert2rhel was launched as:
# CONVERT2RHEL_SKIP_KERNEL_CURRENCY_CHECK=1 CONVERT2RHEL_ALLOW_UNAVAILABLE_KMODS=1 convert2rhel analyze --enablerepo=rhel8* --enablerepo=ep
el8* --no-rhsm
- it failed :
[2024-05-31T15:51:47+0000] TASK - [Prepare: Validate the yum transaction] *****************************
Loaded plugins: fastestmirror, langpacks
Enabling RHEL repositories:
rhel8*
epel8*
Adding CentOS Linux packages to the yum transaction set.
Package dnf-utils is obsoleted by yum-utils, trying to install yum-utils-4.0.21-25.el8.noarch instead
Resolving the dependencies of the packages in the yum transaction set.
ERROR - (ERROR) VALIDATE_PACKAGE_MANAGER_TRANSACTION::UNEXPECTED_ERROR - Unhandled exception caught
Description: Unhandled exception was caught: Invalid version flag: if
Please file a bug at https://issues.redhat.com/ to have this fixed or a specific error message added.
Traceback: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py", line 572, in run
action.run()
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/pre_ponr_changes/transaction.py", line 49, in run
validate_transaction=True,
File "/usr/lib/python2.7/site-packages/convert2rhel/utils.py", line 244, in wrapper
raise process.exception
MiscError: Invalid version flag: if Diagnosis: N/A
Remediations: N/A
- it ends:
========== Error (Must fix before conversion) ==========
(ERROR) VALIDATE_PACKAGE_MANAGER_TRANSACTION::UNEXPECTED_ERROR - Unhandled exception caught
Description: Unhandled exception was caught: Invalid version flag: if
Please file a bug at https://issues.redhat.com/ to have this fixed or a specific error message added.
Traceback: Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/_init_.py", line 572, in run
action.run()
File "/usr/lib/python2.7/site-packages/convert2rhel/actions/pre_ponr_changes/transaction.py", line 49, in run
validate_transaction=True,
File "/usr/lib/python2.7/site-packages/convert2rhel/utils.py", line 244, in wrapper
raise process.exception
MiscError: Invalid version flag: if Diagnosis: N/A
Remediations: N/A
- convert2rhel is the latest version:
# rpm -qi convert2rhel
Name : convert2rhel
Version : 1.7.1
Release : 1.el7
Architecture: noarch
Install Date: Fri 31 May 2024 10:07:38 AM CEST
Group : Unspecified
Size : 1066390
License : GPLv3+
Signature : RSA/SHA256, Mon 04 Mar 2024 05:50:57 PM CET, Key ID 199e2f91fd431d51
Source RPM : convert2rhel-1.7.1-1.el7.src.rpm
Build Date : Mon 04 Mar 2024 04:58:20 PM CET