Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-17032

OLM manual upgrade `techpreview` -> `1.4.x` does not work

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Critical
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: Camel-K-GA
    • Component/s: Camel-K
    • Labels:
      None

      Description

      As mentioned in https://issues.redhat.com/browse/ENTESB-17001?focusedCommentId=16427550&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-16427550 I try to do a `manual` cross-channel upgrade.

       

      I have installed Camel-K operator from the OCP UI with the `techpreview` channel:
      
      ➜  ~ oc get csv
      NAME                              DISPLAY                         VERSION   REPLACES                          PHASE
      red-hat-camel-k-operator.v1.3.3   Red Hat Integration - Camel K   1.3.3     red-hat-camel-k-operator.v1.3.2   Succeeded
      
      
      ➜  ~ oc edit subscriptions.operators.coreos.com red-hat-camel-k
      so we have
      Spec:
        Channel:                1.4.x
        Install Plan Approval:  Automatic
        Name:                   red-hat-camel-k
        Source:                 camel-k-source
        Source Namespace:       openshift-marketplace
        Starting CSV:           red-hat-camel-k-operator.v1.3.3
      
      
      ➜  ~ oc get csv                                                    
      NAME                              DISPLAY                         VERSION   REPLACES                          PHASE
      red-hat-camel-k-operator.v1.3.3   Red Hat Integration - Camel K   1.3.3     red-hat-camel-k-operator.v1.3.2   Replacing
      red-hat-camel-k-operator.v1.4.0   Red Hat Integration - Camel K   1.4.0     red-hat-camel-k-operator.v1.3.3   Failed
      
      
      ➜  ~ oc get csv red-hat-camel-k-operator.v1.4.0 -o yaml
      
          lastUpdateTime: "2021-07-20T12:31:34Z"
          message: 'install strategy failed: Deployment.apps "camel-k-operator" is invalid:
            spec.selector: Invalid value: v1.LabelSelector{MatchLabels:map[string]string{"app":"camel-k",
            "name":"camel-k-operator"}, MatchExpressions:[]v1.LabelSelectorRequirement(nil)}:
            field is immutable'
      
       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              stefanutti Antonin Stefanutti
              Reporter:
              jbouska Jan Bouska
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: