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

TODO app is not installed even though it is enabled in the CR

XMLWordPrintable

      The TODO app is not installed even though it is enabled in the CR.

      docker run --entrypoint bash syndesis/syndesis-operator:latest -c "cat /usr/local/bin/syndesis-operator" > ./syndesis-operator
      chmod +x ./syndesis-operator
      oc login -u system:admin
      oc new-project syndesis
      ./syndesis-operator install cluster
      ./syndesis-operator grant -u developer
      oc login -u developer -p developer
      ./syndesis-operator install operator
      ./syndesis-operator install app --custom-resource ./my-cr.yml
      

      The operator pod contains following errors:

      {"level":"info","ts":1585147139.8235047,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"todo","namespace":"mkralik"}
      {"level":"info","ts":1585147139.8761268,"logger":"action","msg":"resource created","type":"install","kind":"Route","name":"todo","namespace":"mkralik"}
      {"level":"info","ts":1585147139.9202566,"logger":"action","msg":"resource created","type":"install","kind":"ImageStream","name":"todo","namespace":"mkralik"}
      {"level":"info","ts":1585147139.9840481,"logger":"action","msg":"failed to create or replace resource","type":"install","kind":"BuildConfig","name":"todo","namespace":"mkralik"}
      {"level":"error","ts":1585147139.9840825,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"BuildConfig in version \"v1\" cannot be handled as a BuildConfig: v1.BuildConfig.Spec: v1.BuildConfigSpec.CommonSpec: Strategy: v1.BuildStrategy.SourceStrategy: v1.SourceBuildStrategy.From: v1.ObjectReference.Name: ReadString: expects \" or n, but found {, error found in #10 byte of ...|\",\"name\":{\".Syndesis|..., bigger context ...|ceStrategy\":{\"from\":{\"kind\":\"DockerImage\",\"name\":{\".Syndesis.Addons.Todo.Image\":null}}},\"type\":\"Sour|...","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:126\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/circleci/project/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:256\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:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/circleci/project/install/operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:152\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:153\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/circleci/project/install/operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      {"level":"info","ts":1585147149.9846342,"logger":"action","msg":"installing Syndesis resource","type":"install","name":"app"}
      
      

      Version:

      Syndesis:
          2.0-SNAPSHOT
      Build ID:
          32579328-78b8-4308-9cd1-47769fad41bb
      Commit ID:
          1c654a2c676b0ed4e67e3f304af6851f63a666ee
      

              lgarciaac Luis GarcĂ­a Acosta
              mkralik@redhat.com Matej Kralik
              Martin Muzikar Martin Muzikar
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: