Uploaded image for project: 'OpenShift GitOps'
  1. OpenShift GitOps
  2. GITOPS-2251

Validation of Operator Upgrade Scenario

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Minor
    • None
    • None
    • Operator, Testing
    • 5
    • False
    • None
    • False
    • GITOPS Sprint 223, GITOPS Sprint 225

    Description

      While trying to install the Pipelines operator v1.7 after a successful upgrade test for Gitops operator (starting from GitOps v1.4.11 all the way upto v1.6 by switching the channels along the way), an error showed up:

      a unique replacement chain within a channel is required to determine the relative order between channel entries, but 2 replacement chains were found in channel "gitops-1.6" of package "openshift-gitops-operator": openshift-gitops-operator.v1.5.4...openshift-gitops-operator.v1.5.2, openshift-gitops-operator.v1.6.0

      This is trivial as the error goes away and operator gets installed eventually. Further investigation:

      This is the point where the error is coming from
      https://github.com/operator-framework/operator-lifecycle-manager/blob/67177c0c822f[…]262c6b4f54bebad17f/pkg/controller/registry/resolver/resolver.go
      Looks like OLM validates the above logic for all the operators together.

      Steps to Reproduce

      1. Install Pipeline operator on OCP 4.10 (Not sure about other versions)
      2. Install GitOps v1.4.11 by subscribing to gitops-1.4 channel
      3. Upgrade the operator to 1.5.z by switching the channel to gitops-1.5 and then to v1.6.0 by subscribing to gitops-1.6

      Attachments

        Activity

          People

            rhn-support-vab Varsha B
            rhn-support-vab Varsha B
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: