Bug 1992809

Summary: OLM reporting our and other operators are not compatible
Product: OpenShift Container Platform Reporter: Jason Montleon <jmontleo>
Component: OLMAssignee: Kevin Rizza <krizza>
OLM sub component: OLM QA Contact: Jian Zhang <jiazha>
Status: CLOSED DUPLICATE Docs Contact:
Severity: unspecified    
Priority: unspecified CC: rjohnson
Version: 4.8   
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-12 12:18:35 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 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 ***