Elasticsearch Operator stuck in Pending state with duplicate ClusterServiceVersion in RHOCP 4

Solution Verified - Updated -

Issue

  • Elasticsearch Operator stuck in Pending state with Duplicate ClusterServiceVersion

    NAME                                           DISPLAY                             VERSION                 REPLACES                                       PHASE
    elasticsearch-operator.4.6.0-202102042059.p0   OpenShift Elasticsearch Operator    4.6.0-202102042059.p0   elasticsearch-operator.4.6.0-202101300140.p0   Pending
    elasticsearch-operator.4.6.0-202102130420.p0   OpenShift Elasticsearch Operator    4.6.0-202102130420.p0   elasticsearch-operator.4.6.0-202102042059.p0   Pending
    
  • Operator logs shows the below error:

    time="2021-02-25T15:49:30Z" level=info msg="couldn't ensure RBAC in target namespaces" csv=elasticsearch-operator.4.6.0-202102042059.p0 error="no owned roles found" id=9C4bG namespace=openshift-operators-redhat phase=Pending
    E0225 15:49:30.619645       1 queueinformer_operator.go:290] sync {"update" "openshift-operators-redhat/elasticsearch-operator.4.6.0-202102042059.p0"} failed: no owned roles found
    time="2021-02-25T15:49:31Z" level=info msg="requirements were not met" csv=elasticsearch-operator.4.6.0-202102042059.p0 id=JjOA/ namespace=openshift-operators-redhat phase=Pending
    time="2021-02-25T15:49:31Z" level=info msg="couldn't ensure RBAC in target namespaces" csv=elasticsearch-operator.4.6.0-202102042059.p0 error="no owned roles found" id=dhqug namespace=openshift-operators-redhat phase=Pending
    

Environment

  • Red Hat OpenShift Container Platform (RHOCP)
    • 4
  • Red Hat Operators Operators

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