Bug 1921778
| Summary: | Push to stage now failing with semver issues on old releases | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | kconner |
| Component: | OLM | Assignee: | Kevin Rizza <krizza> |
| OLM sub component: | OLM | QA Contact: | Bruno Andrade <bandrade> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | high | CC: | afield, fbrychta, gbaufake, krizza, nhale, tmoreira |
| Version: | 4.7 | ||
| Target Milestone: | --- | ||
| Target Release: | 4.8.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-07-27 22:37:10 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 4
Jian Zhang
2021-02-09 04:28:12 UTC
Hi Jian, So the problem that we ran into here is that there is one operator in the stage index that was using buildId as part of its versioning. So it was explicitly *not* using semantic versioning. This generally isn't a problem in replaces mode except in the case where bundles are batch added as a set into an index all at once (which happens either when you pass several bundles into an index add command or whenever using --overwrite-latest). So, this edge case is specifically when buildId is set on two bundles in a given channel and the version is otherwise identical. more detail here: https://github.com/operator-framework/operator-registry/pull/571#issue-563493254 Basically, the fix here is that we now consider buildId when attempting to internally decide what order to insert a set of bundles when more than one is passed in. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Moderate: OpenShift Container Platform 4.8.2 bug fix and security update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2438 |