OCS operator fails to install in 4.6

Solution Verified - Updated -

Issue

  • After deleting subscription and csv for ocs-operator it fails to install. Check the catalog pod logs it shows below error:
Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-storage", UID:"d350890f-3d9a-47e2-835b-58f35555e9a9", APIVersion:"v1", ResourceVersion:"1501975348", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: subscription awss3-operator-registry-original-community-operators-openshift-marketplace requires @existing/openshift-storage//awss3operator.1.0.0, subscription awss3-operator-registry-original-community-operators-openshift-marketplace exists, redhat-operators/openshift-marketplace/stable-4.6/ocs-operator.v4.6.15 and @existing/openshift-storage//awss3operator.1.0.0 provide ObjectBucketClaim (objectbucket.io/v1alpha1), subscription ocs-operator requires redhat-operators/openshift-marketplace/stable-4.6/ocs-operator.v4.6.15, subscription ocs-operator exists
  • Below error messages are seen :
....
2023-03-18T08:08:54.289976926Z I0318 08:08:54.289794       1 event.go:278] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-storage", UID:"d350890f-3d9a-47e2-835b-58f35555e9a9", APIVersion:"v1", ResourceVersion:"1501975348", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' constraints not satisfiable: subscription ocs-operator exists, no operators found matching the criteria of subscription ocs-operator
2023-03-18T08:08:54.307798588Z E0318 08:08:54.294212       1 queueinformer_operator.go:290] sync {"update" "openshift-operators"} failed: found more than one head for channel
2023-03-18T08:08:54.307798588Z I0318 08:08:54.295125       1 event.go:278] Event(v1.ObjectReference{Kind:"Namespace", Namespace:"", Name:"openshift-operators", UID:"15839ec0-39de-4280-a571-0cf669cc7369", APIVersion:"v1", ResourceVersion:"90095566", FieldPath:""}): type: 'Warning' reason: 'ResolutionFailed' found more than one head for channel

Environment

  • Openshift Container Platform
    • 4.6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content