Uploaded image for project: 'AMQ Broker'
  1. AMQ Broker
  2. ENTMQBR-6663

v7.9.4-opr-2: Most of the time the installation through operatorhub ends with ErrorPreventedResolution

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Critical
    • AMQ 7.9.4.OPR.4.GA
    • AMQ 7.9.4.OPR.2.GA
    • operator
    • None
    • False
    • None
    • False
    • Hide

      Most of the time I can reproduce the problem by uninstalling the operator (if it was installed successfully before) and then trying to install it again in the same namespace

      Show
      Most of the time I can reproduce the problem by uninstalling the operator (if it was installed successfully before) and then trying to install it again in the same namespace

    Description

      We're using 4.10 clusters and we noticed that most of the times the installation via operatorhub ends with ErrorPreventedResolution: no channel heads (entries not replaced by another entry) found in channel
      "7.x" of package "amq-broker-rhel8"

      We're using namespaced installation from the official redhat-operators catalogsource and this error is intermittent as sometimes the operator is installed correctly

      This is the subscription created:

      oc get subs amq-broker-rhel8 -o yaml
      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        creationTimestamp: "2022-05-17T11:57:27Z"
        generation: 1
        labels:
          operators.coreos.com/amq-broker-rhel8.avano-tnb-test-namespace: ""
        name: amq-broker-rhel8
        namespace: avano-tnb-test-namespace
        resourceVersion: "73548023"
        uid: 2e2d272f-2659-4b3f-826a-f520a948f462
      spec:
        channel: 7.x
        installPlanApproval: Automatic
        name: amq-broker-rhel8
        source: redhat-operators
        sourceNamespace: openshift-marketplace
        startingCSV: amq-broker-operator.v7.9.4-opr-2
      status:
        catalogHealth:
        - catalogSourceRef:
            apiVersion: operators.coreos.com/v1alpha1
            kind: CatalogSource
            name: certified-operators
            namespace: openshift-marketplace
            resourceVersion: "73532478"
            uid: 983328cf-7f1c-4c5e-81c7-7b28fe39a3c8
          healthy: true
          lastUpdated: "2022-05-17T11:57:27Z"
        - catalogSourceRef:
            apiVersion: operators.coreos.com/v1alpha1
            kind: CatalogSource
            name: community-operators
            namespace: openshift-marketplace
            resourceVersion: "73530648"
            uid: fa8dcfb2-66a3-49a4-9c2c-0d16ddd67beb
          healthy: true
          lastUpdated: "2022-05-17T11:57:27Z"
        - catalogSourceRef:
            apiVersion: operators.coreos.com/v1alpha1
            kind: CatalogSource
            name: redhat-marketplace
            namespace: openshift-marketplace
            resourceVersion: "73537815"
            uid: 049ea49b-7a69-4229-b741-a95626811e5d
          healthy: true
          lastUpdated: "2022-05-17T11:57:27Z"
        - catalogSourceRef:
            apiVersion: operators.coreos.com/v1alpha1
            kind: CatalogSource
            name: redhat-operators
            namespace: openshift-marketplace
            resourceVersion: "73540535"
            uid: 99591f11-f459-49f8-901e-3010ab977e0e
          healthy: true
          lastUpdated: "2022-05-17T11:57:27Z"
        conditions:
        - lastTransitionTime: "2022-05-17T11:57:27Z"
          message: all available catalogsources are healthy
          reason: AllCatalogSourcesHealthy
          status: "False"
          type: CatalogSourcesUnhealthy
        - message: no channel heads (entries not replaced by another entry) found in channel
            "7.x" of package "amq-broker-rhel8"
          reason: ErrorPreventedResolution
          status: "True"
          type: ResolutionFailed
        lastUpdated: "2022-05-17T11:57:27Z"
      

      Attachments

        1. amq-op.sh
          0.3 kB
        2. amq-sub.yaml
          0.2 kB
        3. BrokerOperatorReinstall.log
          24 kB
        4. BrokerOperatorUninstall.log
          25 kB
        5. FailInstall.log
          42 kB
        6. operatorgroup.yaml
          0.3 kB
        7. SuccessInstall.log
          24 kB

        Issue Links

          Activity

            People

              rhn-support-rkieley Roderick Kieley
              avano@redhat.com Andrej Vano
              Votes:
              2 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: