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

CRD is not updated during the install cluster phase

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • fuse-7.9-GA
    • fuse-7.9-GA
    • Fuse Online
    • None
    • Hide

      Install Syndesis 1.12.0-20210414
      after that, install Syndesis by operator 1.12.0-20210419.

      Show
      Install Syndesis 1.12.0-20210414 after that, install Syndesis by operator 1.12.0-20210419.

    Description

      When there are some changes in Syndesis CRD, the operator doesn't update the CRD during the `install cluster` when the Syndesis CRD already exists in the cluster. That can results in error.
      E.g. when the Syndesis 1.12.0-20210419 is installed on the cluster where the Syndesis version 1.12.0-20210414 was installed before, the operator cannot find Syndesis app

      {"level":"error","ts":1618820865.42217,"logger":"controller","msg":"Error reconciling","action":"*action.initializeAction","phase":"","error":"syndesises.syndesis.io \"app\" not found","stacktrace":"sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).
      

      even though it is exist

      oc get syndesises.syndesis.io app -o yaml
      apiVersion: syndesis.io/v1beta2
      kind: Syndesis
      metadata:
        creationTimestamp: "2021-04-19T08:27:39Z"
        generation: 1
        managedFields:
        - apiVersion: syndesis.io/v1beta2
          fieldsType: FieldsV1
          fieldsV1:
            f:spec:
              .: {}
              f:addons: {}
            f:status: {}
          manager: syndesis-operator
          operation: Update
          time: "2021-04-19T08:27:39Z"
        name: app
        namespace: mkralik
        resourceVersion: "2285483"
        selfLink: /apis/syndesis.io/v1beta2/namespaces/mkralik/syndesises/app
        uid: 01ce1f7b-fcd0-44aa-8fa4-1bf309345085
      spec:
        addons: null
      status: null
      

      Attachments

        Activity

          People

            parichar@redhat.com Paul Richardson
            mkralik@redhat.com Matej Kralik
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: