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

S2I image stream seems to be empty in productized operator image

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Blocker
    • None
    • fuse-7.6-ER1
    • Fuse Online, Prod
    • None
    • % %

    Description

      The operator should use images from registry.redhat.io (even if they are currently not there), but when using:

      docker run --entrypoint syndesis-operator -v $HOME/.kube:/tmp/kube:z quay.io/rh_integration/fuse-online-operator:1.6-5 install  --namespace avano-syndesis --config /tmp/kube/config --image quay.io/rh_integration/fuse-online-operator --tag 1.6-5
      

      (the quay.io images are just re-pushed from prod proxy to quay)

      the operator is deployed correctly, but the infra deployment is stuck (and retried indefinitely) with:

      {"level":"info","ts":1579088752.913977,"logger":"cmd","msg":"Go Version: go1.12.12"}
      {"level":"info","ts":1579088752.914051,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
      {"level":"info","ts":1579088752.9140558,"logger":"cmd","msg":"Version of operator-sdk: v0.10.0+git"}
      {"level":"info","ts":1579088752.9140596,"logger":"cmd","msg":"Syndesis Operator Version: 1.6"}
      {"level":"info","ts":1579088752.9140785,"logger":"cmd","msg":"Syndesis Operator Image: registry.redhat.io/fuse7/fuse-online-operator"}
      {"level":"info","ts":1579088752.916793,"logger":"leader","msg":"Trying to become the leader."}
      {"level":"info","ts":1579088753.0172956,"logger":"leader","msg":"No pre-existing lock was found."}
      {"level":"info","ts":1579088753.0204782,"logger":"leader","msg":"Became the leader."}
      {"level":"info","ts":1579088753.0527008,"logger":"cmd","msg":"registering resource schemes."}
      {"level":"info","ts":1579088753.0549407,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"syndesis-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1579088753.101087,"logger":"metrics","msg":"Metrics Service object created","Service.Name":"syndesis-operator-metrics","Service.Namespace":"avano-syndesis"}
      {"level":"info","ts":1579088753.2014184,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"syndesis-controller"}
      {"level":"info","ts":1579088753.302714,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"syndesis-controller","worker count":1}
      {"level":"info","ts":1579088753.3029435,"logger":"action","msg":"Syndesis resource initialized","type":"initialize","name":"app","version":"1.6"}
      {"level":"info","ts":1579088753.308768,"logger":"action","msg":"Installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1579088753.6928933,"logger":"action","msg":"Will bind sydnesis-db to persistent volume with criteria ","type":"install","volume-access-mode":"","volume-name":"","storage-class<span class="code-quote">":""}
      {"level":"info","ts":1579088753.711352,"logger":"action","msg":"Failed to create or replace resource","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"avano-syndesis"}
      {"level":"error","ts":1579088753.7114108,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"ImageStream.image.openshift.io \"syndesis-s2i\" is invalid: [[]: Internal error: imagestreams \"syndesis-s2i\" is invalid: spec.tags[latest].from.name: Invalid value: \"\": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[latest].from.name: Required value]","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"}
      {"level":"error","ts":1579088753.7115233,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"syndesis-controller","request":"avano-syndesis/app","error":"ImageStream.image.openshift.io \"syndesis-s2i\" is invalid: [[]: Internal error: imagestreams \"syndesis-s2i\" is invalid: spec.tags[latest].from.name: Invalid value: \"\": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[latest].from.name: Required value]","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\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:217\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"}
      {"level":"info","ts":1579088754.7117558,"logger":"action","msg":"Installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1579088754.7307692,"logger":"action","msg":"Will bind sydnesis-db to persistent volume with criteria ","type":"install","volume-access-mode":"","volume-name":"","storage-class<span class="code-quote">":""}
      {"level":"info","ts":1579088754.7346578,"logger":"action","msg":"Failed to create or replace resource","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"avano-syndesis"}
      {"level":"error","ts":1579088754.7346826,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"ImageStream.image.openshift.io \"syndesis-s2i\" is invalid: [[]: Internal error: imagestreams \"syndesis-s2i\" is invalid: spec.tags[latest].from.name: Invalid value: \"\": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[latest].from.name: Required value]","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"}
      {"level":"error","ts":1579088754.7347372,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"syndesis-controller","request":"avano-syndesis/app","error":"ImageStream.image.openshift.io \"syndesis-s2i\" is invalid: [[]: Internal error: imagestreams \"syndesis-s2i\" is invalid: spec.tags[latest].from.name: Invalid value: \"\": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[latest].from.name: Required value]","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\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:217\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"}
      {"level":"info","ts":1579088755.7350001,"logger":"action","msg":"Installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1579088755.7496524,"logger":"action","msg":"Will bind sydnesis-db to persistent volume with criteria ","type":"install","volume-access-mode":"","volume-name":"","storage-class<span class="code-quote">":""}
      {"level":"info","ts":1579088755.7530215,"logger":"action","msg":"Failed to create or replace resource","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"avano-syndesis"}
      {"level":"error","ts":1579088755.7530499,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"ImageStream.image.openshift.io \"syndesis-s2i\" is invalid: [[]: Internal error: imagestreams \"syndesis-s2i\" is invalid: spec.tags[latest].from.name: Invalid value: \"\": must be of the form <tag>, <repo>:<tag>, <id>, or <repo>@<id>, spec.tags[latest].from.name: Required value]","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"}
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            avano@redhat.com Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: