Bug 1989796
Summary: | the same bundle is in output of opm alpha diff | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | kuiwang |
Component: | OLM | Assignee: | Eric Stroczynski <estroczy> |
OLM sub component: | OLM | QA Contact: | kuiwang |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | estroczy, jlanford |
Version: | 4.9 | ||
Target Milestone: | --- | ||
Target Release: | 4.9.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | https://github.com/openshift/operator-framework-olm/pull/163 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-10-18 17:44:27 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: |
Description
kuiwang
2021-08-04 02:57:51 UTC
As I understand `opm diff`, it will include full bundles in the output if anything is different for those bundles between each index. I expect that mta-operator:v0.0.5 showed up in the diff because it replaces v0.0.4 in index-1, but not in index-2-1 I expect that cockroachdb-operator:5.0.3 showed up in the diff because it has olm.bundle.object properties in index-1, but not in index-2-1 @jlanford is correct, as per the enhancement proposal: https://github.com/operator-framework/enhancements/blob/master/enhancements/catalog-data-transfer-reduction.md#diff-algorithm However the command docs say only bundles not in the old ref are included, so I'll update them to reflect reality. @estroczy, thanks for clarification Now https://github.com/operator-framework/operator-registry/pull/735 is in upstream Please make it merged in downstream, and I will change it to verified. Thanks We need to the fix on downstream and then verify it. Now the fix is not on downstream, so change it back to Assigned. verified. LGTM -- [root@preserve-olm-env operator-framework-olm]# opm alpha diff --help Diff a set of old and new catalog references ("refs") to produce a declarative config containing only packages channels, and versions not present in the old set, and versions that differ between the old and new sets. This is known as "latest" mode. These references are passed through 'opm render' to produce a single declarative config. [root@preserve-olm-env operator-framework-olm]# opm version Version: version.Version{OpmVersion:"edcddea0f", GitCommit:"edcddea0f2b6344bc388b746078d6ae81dfbf1f8", BuildDate:"2021-08-16T01:32:12Z", GoOs:"linux", GoArch:"amd64"} [root@preserve-olm-env operator-framework-olm]# -- 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.9.0 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:3759 |