-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
4.18, 4.19.0, 4.20.0
Our float parsing logic for olm.maxOpenShiftVersion has a bug related to floating-point math. For example:
- 4.18 (float) parsed to 4.18.0 (semver), but
- 4.19 (float) parsed to 4.20.0 (semver)
This PR resolves that bug, adds regression tests, and also does some slight refactoring to make the overall max OCP version logic easier to understand for maintainers.
This is reproducible on 4.19 using cluster-logging 6.2.2
Â
Â
- clones
-
OCPBUGS-56813 Component Readiness: [OLM] fix olm.maxOpenShiftVersion float parsing
-
- Verified
-
- is blocked by
-
OCPBUGS-56813 Component Readiness: [OLM] fix olm.maxOpenShiftVersion float parsing
-
- Verified
-
- is depended on by
-
OCPBUGS-56820 [release-4.18] OLMv1: faulty parsing of olm.maxOpenShiftVersion allows cluster upgrades when they should be blocked
-
- New
-
- links to