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

AMQ Broker operator install fails with "no channel heads (entries not replaced by another entry) found in channel"

XMLWordPrintable

    • False
    • None
    • False
    • Hide

      Install operator in a new namespace, then uninstall and try to reinstall it:

      oc new-project myproject
      oc apply -f operatorgroup.yaml
      oc apply -f amq-sub.yaml
      sleep 15
      oc delete sub -l operators.coreos.com/amq-broker-rhel8.myproject
      oc delete ip -l operators.coreos.com/amq-broker-rhel8.myproject
      oc delete csv -l operators.coreos.com/amq-broker-rhel8.myproject
      sleep 5
      oc apply -f amq-sub.yaml 

      operatorgroup.yaml:

      apiVersion: operators.coreos.com/v1
      kind: OperatorGroup
      metadata:
        name: example
        namespace: myproject
      spec:
        targetNamespaces:
          - myproject
      

      amq-sub.yaml:

      apiVersion: operators.coreos.com/v1alpha1
      kind: Subscription
      metadata:
        name: amq-broker-rhel8
      spec:
        channel: 7.x
        installPlanApproval: Automatic
        name: amq-broker-rhel8
        source: redhat-operators
        sourceNamespace: openshift-marketplace 
      Show
      Install operator in a new namespace, then uninstall and try to reinstall it: oc new -project myproject oc apply -f operatorgroup.yaml oc apply -f amq-sub.yaml sleep 15 oc delete sub -l operators.coreos.com/amq-broker-rhel8.myproject oc delete ip -l operators.coreos.com/amq-broker-rhel8.myproject oc delete csv -l operators.coreos.com/amq-broker-rhel8.myproject sleep 5 oc apply -f amq-sub.yaml operatorgroup.yaml: apiVersion: operators.coreos.com/v1 kind: OperatorGroup metadata:   name: example   namespace: myproject spec:   targetNamespaces:     - myproject amq-sub.yaml: apiVersion: operators.coreos.com/v1alpha1 kind: Subscription metadata:   name: amq-broker-rhel8 spec:   channel: 7.x   installPlanApproval: Automatic   name: amq-broker-rhel8   source: redhat-operators   sourceNamespace: openshift-marketplace

      Installing AMQ Broker operator fails with condition:

        - 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 

            rhn-support-rkieley Roderick Kieley
            bszeti@redhat.com Balazs Szeti
            Votes:
            1 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: