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

Upgrade Fuse Online 7.9 -> 7.10 doesn't work on OCP 3.11

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • fuse-7.10-GA
    • fuse-7.10-GA
    • Fuse Online
    • None

    Description

      The upgrade from Fuse Online 7.9 to Fuse Online 7.10 doesn't work. The FO 7.10 operator has stuck on

      {"level":"error","ts":1632324727.2019875,"logger":"controller","msg":"Error reconciling","action":"action.checkUpdatesAction","phase":"Installed","error":"Syndesis.syndesis.io \"app\" is invalid: apiVersion: Invalid value: \"syndesis.io/v1beta2\": must be syndesis.io/v1beta3","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/remote-source/app/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:263\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/remote-source/app/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:235\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1.1\n\t/remote-source/app/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:198\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext.func1\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntilWithContext\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:185\nk8s.io/apimachinery/pkg/util/wait.UntilWithContext\n\t/remote-source/app/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:99"}
      

      The error message is a little bit confusing because when I look to the CR, there are correct v1beta3 api.

      apiVersion: syndesis.io/v1beta3
      kind: Syndesis
      metadata:
        creationTimestamp: "2021-09-22T15:25:55Z"
        generation: 1
        name: app
        namespace: mkralik
        resourceVersion: "3338367"
        selfLink: /apis/syndesis.io/v1beta3/namespaces/mkralik/syndesises/app
        uid: 610deee7-1bb9-11ec-8af7-fa163e11a5fa
      spec:
        addons:
          todo:
            enabled: true
        components:
          server:
            features:
              integrationLimit: 10
              integrationStateCheckInterval: 60
              maven:
                append: true
                repositories:
                  central: https://repo.maven.apache.org/maven2/
                  qe-repo: http://nexus.fuse-qe.eng.rdu2.redhat.com/repository/fuse-all
                  repo-02-redhat-ga: https://maven.repository.redhat.com/ga/
                  repo-03-jboss-ea: https://repository.jboss.org/nexus/content/groups/ea/
        demoData: true
        devSupport: false
        imageStreamNamespace: mkralik
        routeHostname: syndesis-mkralik.apps.0907-966.qe.rhcloud.com
      status:
        backup: {}
        phase: Installed
        version: fuse-ignite-upgrade-rhel-8-container-1.9
      

      CRD after deploy FO 7.10 operator

      apiVersion: apiextensions.k8s.io/v1beta1
      kind: CustomResourceDefinition
      metadata:
        annotations:
          controller-gen.kubebuilder.io/version: v0.3.0
        creationTimestamp: "2021-09-22T15:25:02Z"
        generation: 2
        labels:
          app: syndesis
        name: syndesises.syndesis.io
        resourceVersion: "3338432"
        selfLink: /apis/apiextensions.k8s.io/v1beta1/customresourcedefinitions/syndesises.syndesis.io
        uid: 41bf5288-1bb9-11ec-8af7-fa163e11a5fa
      spec:
        additionalPrinterColumns:
        - JSONPath: .status.phase
          description: The syndesis phase
          name: Phase
          type: string
        - JSONPath: .status.version
          description: The syndesis version
          name: Version
          type: string
        group: syndesis.io
        names:
          kind: Syndesis
          listKind: SyndesisList
          plural: syndesises
          singular: syndesis
        scope: Namespaced
        subresources:
          status: {}
        version: v1beta3
        versions:
        - name: v1beta3
          served: true
          storage: true
        - name: v1beta2
          served: false
          storage: false
        - name: v1beta1
          served: false
          storage: false
        - name: v1alpha1
          served: false
          storage: false
      status:
        acceptedNames:
          kind: Syndesis
          listKind: SyndesisList
          plural: syndesises
          singular: syndesis
        conditions:
        - lastTransitionTime: "2021-09-22T15:25:02Z"
          message: no conflicts found
          reason: NoConflicts
          status: "True"
          type: NamesAccepted
        - lastTransitionTime: null
          message: the initial names have been accepted
          reason: InitialNamesAccepted
          status: "True"
          type: Established
        storedVersions:
        - v1beta2
        - v1beta3
      

      Attachments

        Activity

          People

            cmiranda@redhat.com Claudio Miranda
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: