-
Bug
-
Resolution: Unresolved
-
Major
-
rhel-8.10.z
-
leapp-repository-0.22.0-5.el8_10
-
No
-
Moderate
-
rhel-upgrades
-
Pass
-
Automated
-
Unspecified
-
Unspecified
-
Unspecified
-
-
All
-
None
.What were you trying to do that didn't work?
While testing leapp for the CTC1, leapp started to traceback unexpectedly when a target version (--target) provided in an invalid format.
What is the impact of this issue to you?
Please provide the package NVR for which the bug is seen:
leapp-0.19.0-3.el8_10.noarch
leapp-upgrade-el8toel9-0.22.0-4.el8_10.noarch
How reproducible is this bug?:
Always
Steps to reproduce
- Install leapp
- run leapp preupgrade --no-rhsm --target {} with any target in invalid format ["9", "9.", "09.0", "1A", "abc", "A.B", "9.a", "8.4.bad"]
- observe the traceback
Expected results
Error: Unexpected format of target version: 9.a. The required format is 'X.Y' (major and minor version).
Actual results
leapp produces a traceback - e.g. ValueError: Versions have to be in the form of '<integer>.<integer>' but provided was '['8.10', '9.a']'
- is related to
-
RHEL-51072 Create inhibitor for unsupported target
-
- Closed
-
- links to
-
RHBA-2025:149816 leapp-repository bug fix update
- mentioned on
(1 mentioned on)