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

[Upgrade] Upgrade doesn't finish due to errors in operator

XMLWordPrintable

    • % %
    • ?
    • In progress
    • Hide

      in syndesis repository install 1.7.13 via tools/bin/syndesis install --project syndesis -y --test-support --tag 1.7.13
      use new syndesis binary to install new operator: ./syndesis install operator

      Show
      in syndesis repository install 1.7.13 via tools/bin/syndesis install --project syndesis -y --test-support --tag 1.7.13 use new syndesis binary to install new operator: ./syndesis install operator
    • Fuse 7.5 Sprint 52 - Bug fix

      When upgrading from 1.7.13 to latest, the upgrade never completes due to:

      {"level":"info","ts":1567144163.0370169,"logger":"action","msg":"Starting upgrade of Syndesis resource","type":"check-updates","name":"app","currentVersion":"1.7.13","targetVersion":"latest","type":"checkUpdate"}
      {"level":"info","ts":1567144163.3010595,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"syndesis-server","namespace":"syndesis"}
      {"level":"info","ts":1567144163.308098,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"syndesis-ui","namespace":"syndesis"}
      {"level":"info","ts":1567144163.4477048,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"syndesis-meta","namespace":"syndesis"}
      {"level":"info","ts":1567144163.851615,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"oauth-proxy","namespace":"syndesis"}
      {"level":"info","ts":1567144164.2480798,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"prometheus","namespace":"syndesis"}
      {"level":"info","ts":1567144164.6655104,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"postgres_exporter","namespace":"syndesis"}
      {"level":"info","ts":1567144165.0485091,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"syndesis"}
      {"level":"info","ts":1567144165.4459188,"logger":"action","msg":"resource updated","type":"install","kind":"Secret","name":"syndesis-oauth-proxy-cookie-secret","namespace":"syndesis"}
      {"level":"info","ts":1567144165.8459284,"logger":"action","msg":"resource updated","type":"install","kind":"Secret","name":"syndesis-server-secret","namespace":"syndesis"}
      {"level":"info","ts":1567144166.2458906,"logger":"action","msg":"resource updated","type":"install","kind":"Secret","name":"syndesis-global-config","namespace":"syndesis"}
      {"level":"info","ts":1567144166.67361,"logger":"action","msg":"resource updated","type":"install","kind":"ServiceAccount","name":"syndesis-default","namespace":"syndesis"}
      {"level":"info","ts":1567144167.0488646,"logger":"action","msg":"resource updated","type":"install","kind":"ServiceAccount","name":"syndesis-server","namespace":"syndesis"}
      {"level":"info","ts":1567144167.4486506,"logger":"action","msg":"resource updated","type":"install","kind":"ServiceAccount","name":"syndesis-integration","namespace":"syndesis"}
      {"level":"info","ts":1567144167.8483891,"logger":"action","msg":"resource updated","type":"install","kind":"ServiceAccount","name":"syndesis-prometheus","namespace":"syndesis"}
      {"level":"info","ts":1567144168.268403,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-ui","namespace":"syndesis"}
      {"level":"info","ts":1567144168.651495,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-ui","namespace":"syndesis"}
      {"level":"info","ts":1567144169.0455253,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-ui-config","namespace":"syndesis"}
      {"level":"info","ts":1567144169.4483821,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-db-metrics-config","namespace":"syndesis"}
      {"level":"info","ts":1567144169.886234,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-sampledb-config","namespace":"syndesis"}
      {"level":"info","ts":1567144170.2455776,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-db-conf","namespace":"syndesis"}
      {"level":"info","ts":1567144170.655435,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-db","namespace":"syndesis"}
      {"level":"info","ts":1567144171.0487568,"logger":"action","msg":"resource updated","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-db","namespace":"syndesis"}
      {"level":"info","ts":1567144171.4500504,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-db","namespace":"syndesis"}
      {"level":"info","ts":1567144171.851427,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-meta","namespace":"syndesis"}
      {"level":"info","ts":1567144172.2550168,"logger":"action","msg":"resource updated","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-meta","namespace":"syndesis"}
      {"level":"info","ts":1567144172.659046,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-meta","namespace":"syndesis"}
      {"level":"info","ts":1567144173.0466306,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-meta-config","namespace":"syndesis"}
      {"level":"info","ts":1567144173.4486995,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-oauthproxy","namespace":"syndesis"}
      {"level":"info","ts":1567144173.852013,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-oauthproxy","namespace":"syndesis"}
      {"level":"info","ts":1567144174.2901134,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-server","namespace":"syndesis"}
      {"level":"info","ts":1567144174.6699553,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-server","namespace":"syndesis"}
      {"level":"info","ts":1567144175.0480607,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-prometheus-agent-config","namespace":"syndesis"}
      {"level":"info","ts":1567144175.4467316,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-server-config","namespace":"syndesis"}
      {"level":"info","ts":1567144175.856575,"logger":"action","msg":"resource updated","type":"install","kind":"Role","name":"camel-k","namespace":"syndesis"}
      {"level":"info","ts":1567144176.275753,"logger":"action","msg":"resource updated","type":"install","kind":"RoleBinding","name":"camel-k","namespace":"syndesis"}
      {"level":"info","ts":1567144176.6581655,"logger":"action","msg":"resource updated","type":"install","kind":"Role","name":"syndesis-knative-reader","namespace":"syndesis"}
      {"level":"info","ts":1567144177.0762115,"logger":"action","msg":"resource updated","type":"install","kind":"RoleBinding","name":"syndesis-knative-reader","namespace":"syndesis"}
      {"level":"info","ts":1567144177.4854207,"logger":"action","msg":"resource updated","type":"install","kind":"Role","name":"syndesis-editor","namespace":"syndesis"}
      {"level":"info","ts":1567144177.8626363,"logger":"action","msg":"resource updated","type":"install","kind":"RoleBinding","name":"syndesis-server-editor","namespace":"syndesis"}
      {"level":"info","ts":1567144178.2730284,"logger":"action","msg":"resource updated","type":"install","kind":"Role","name":"syndesis-viewer","namespace":"syndesis"}
      {"level":"info","ts":1567144178.6594744,"logger":"action","msg":"resource updated","type":"install","kind":"RoleBinding","name":"syndesis-prometheus-viewer","namespace":"syndesis"}
      {"level":"info","ts":1567144179.0672038,"logger":"action","msg":"resource updated","type":"install","kind":"ConfigMap","name":"syndesis-prometheus-config","namespace":"syndesis"}
      {"level":"info","ts":1567144179.4483848,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"syndesis-prometheus","namespace":"syndesis"}
      {"level":"info","ts":1567144179.8477418,"logger":"action","msg":"resource updated","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-prometheus","namespace":"syndesis"}
      {"level":"info","ts":1567144180.2519736,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"syndesis-prometheus","namespace":"syndesis"}
      {"level":"info","ts":1567144180.648889,"logger":"action","msg":"resource updated","type":"install","kind":"Service","name":"todo","namespace":"syndesis"}
      {"level":"info","ts":1567144181.048591,"logger":"action","msg":"resource updated","type":"install","kind":"Route","name":"todo","namespace":"syndesis"}
      {"level":"info","ts":1567144181.4507086,"logger":"action","msg":"resource updated","type":"install","kind":"ImageStream","name":"todo","namespace":"syndesis"}
      {"level":"info","ts":1567144181.8519473,"logger":"action","msg":"resource updated","type":"install","kind":"BuildConfig","name":"todo","namespace":"syndesis"}
      {"level":"info","ts":1567144182.2495334,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"todo","namespace":"syndesis"}
      {"level":"info","ts":1567144193.9650168,"logger":"action","msg":"Syndesis resource already upgraded to version ","type":"upgrade","name":"app","targetVersion":"latest"}
      {"level":"error","ts":1567144193.9653878,"logger":"controller","msg":"Error reconciling","action":"*action.upgradeAction","phase":"Upgrading","error":"Object 'Kind' is missing in '{\"AllowLocalHost\":false,\"Debug\":false,\"EarlyAccess\":false,\"Images\":{\"ImageStreamNamespace\":\"\",\"KomodoImagesPrefix\":\"teiid\",\"OAuthProxyImagePrefix\":\"quay.io/openshift\",\"PostgresExporterImagePrefix\":\"wrouesnel\",\"PrometheusImagePrefix\":\"prom\",\"Support\":{\"OAuthProxy\":\"oauth-proxy\",\"OAuthProxyImage\":\"origin-oauth-proxy\",\"PostgresExporter\":\"postgres_exporter\",\"Postgresql\":\"postgresql\",\"Prometheus\":\"prometheus\"},\"Syndesis\":{\"Komodo\":\"syndesis-dv\",\"Rest\":\"syndesis-server\",\"S2i\":\"syndesis-s2i\",\"Ui\":\"syndesis-ui\",\"Upgrade\":\"syndesis-upgrade\",\"Verifier\":\"syndesis-meta\"},\"SyndesisImagesPrefix\":\"syndesis\"},\"Name\":\"fuse-ignite\",\"Ocp\":false,\"Oso\":false,\"ProductName\":\"syndesis\",\"Productized\":false,\"PrometheusRules\":\"\",\"Registry\":\"docker.io\",\"TagMajor\":\"latest\",\"TagMinor\":\"latest\",\"Tags\":{\"Komodo\":\"latest\",\"OAuthProxy\":\"v4.0.0\",\"PostgresExporter\":\"v0.4.7\",\"Postgresql\":\"9.5\",\"Prometheus\":\"v2.1.0\",\"Syndesis\":\"latest\",\"Upgrade\":\"latest\"},\"WithDockerImages\":false}'","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/circleci/project/install/operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/syndesisio/syndesis/install/operator/pkg/controller/syndesis.(*ReconcileSyndesis).Reconcile\n\t/home/circleci/project/install/operator/pkg/controller/syndesis/syndesis_controller.go:120\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/circleci/project/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\t/home/circleci/project/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      

      this error is thrown over and over again

        1. upgrade.log
          94 kB
        2. operator.log
          64 kB

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

                Created:
                Updated:
                Resolved: