Bug 1992809 - OLM reporting our and other operators are not compatible
Summary: OLM reporting our and other operators are not compatible
Keywords:
Status: CLOSED DUPLICATE of bug 1992677
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: OLM
Version: 4.8
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Kevin Rizza
QA Contact: Jian Zhang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-11 18:48 UTC by Jason Montleon
Modified: 2021-08-12 12:18 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-08-12 12:18:35 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jason Montleon 2021-08-11 18:48:44 UTC
Description of problem:
We are seeing, starting with 4.8.4, a message that states:

"Cluster operator operator-lifecycle-manager cannot be upgraded between minor versions: The following operators block OpenShift upgrades: Operator advanced-cluster-management.v2.3.0 in namespace open-cluster-management is not compatible with OpenShift versions greater than 4.8.0,Operator crane-operator.v1.5.1 in namespace openshift-migration is not compatible with OpenShift versions greater than 4.8.0"

Version-Release number of selected component (if applicable):


How reproducible:
The message appeared while upgrading to 4.8.4 and is appearing while upgrading to 4.8.5

Steps to Reproduce:
1. Install Crane 1.5.1 on OpenShift
2. Upgrade to 4.8.4
3. Upgrade to 4.8.5...

Actual results:
Despite the warning the cluster finished upgrading to 4.8.4 fine and did not stop me from initiating an upgrade to 4.8.5, which is still in progress.

Expected results:
No warning.

Additional info:
We added a max version of v4.8 for 1.5.1 because it is still using v1beta1 CRDs. We will release 1.6.0 with v1 CRDs prior to the release of 4.9.

https://github.com/konveyor/mig-operator/blob/release-1.5.1/deploy/olm-catalog/bundle/manifests/crane-operator.v1.5.1.clusterserviceversion.yaml#L8

If we're not supposed to specify this as vX.Y can get an explanation of how to include all 4.8 versions while excluding 4.9 and above?

Comment 1 Kevin Rizza 2021-08-12 12:18:35 UTC
OLM is only preventing minor version upgrades. This error message is just incorrectly formatted. Closing as a duplicate of 1992677

https://bugzilla.redhat.com/show_bug.cgi?id=1992677

*** This bug has been marked as a duplicate of bug 1992677 ***


Note You need to log in before you can comment on or make changes to this bug.