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

[ER1] Operator doesn't start upgrade because of: Could not convert some objects to runtime.Object

XMLWordPrintable

    • Fuse 7.5 Sprint 53 - Blockers

      When trying to upgrade from 7.4 to 7.5, operator doesn't start upgrade and prints this error msg over and over again:

      {"level":"info","ts":1570517300.6093464,"logger":"action","msg":"Starting upgrade of Syndesis resource","type":"check-updates","name":"app","currentVersion":"1.4","targetVersion":"1.5","type":"checkUpdate"}
      {"level":"error","ts":1570517300.6305645,"logger":"controller","msg":"Error reconciling","action":"*action.upgradeAction","phase":"Upgrading","error":"Could not convert some objects to runtime.Object","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/syndesisio/syndesis/install/operator/pkg/controller/syndesis.(*ReconcileSyndesis).Reconcile\n\tsrc/github.com/syndesisio/syndesis/install/operator/pkg/controller/syndesis/syndesis_controller.go:120\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\tsrc/github.com/syndesisio/syndesis/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      

      steps to reproduce:

      1. install 7.4 from 1.7 tag in fuse-online-install
      2. wait until its deployed
      3. docker run --entrypoint syndesis-operator -v $HOME/.kube:/tmp/kube:z quay.io/rh_integration/fuse-online-operator:1.5-5 install operator --config /tmp/kube/config --image quay.io/rh_integration/fuse-online-operator --tag 1.5-5 -n syndesis
      

      note that the quay.io/rh_integration/fuse-online-operator:1.5-5 is equivalent to registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-online-operator:1.5-5

              lgarciaac Luis GarcĂ­a Acosta
              avano@redhat.com Andrej Vano
              Andrej Vano Andrej Vano
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: