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

ER1 deployment complains about invalid meta persistent volume claim

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • None
    • fuse-7.6-ER1
    • Fuse Online, Prod

      After overriding the images via ENV variables, the deployment is stuck and complaining about the pvc for meta pod:

      {"level":"info","ts":1579089359.248346,"logger":"cmd","msg":"Go Version: go1.12.12"}
      {"level":"info","ts":1579089359.2484808,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
      {"level":"info","ts":1579089359.2484972,"logger":"cmd","msg":"Version of operator-sdk: v0.10.0+git"}
      {"level":"info","ts":1579089359.2485273,"logger":"cmd","msg":"Syndesis Operator Version: 1.6"}
      {"level":"info","ts":1579089359.248544,"logger":"cmd","msg":"Syndesis Operator Image: registry.redhat.io/fuse7/fuse-online-operator"}
      {"level":"info","ts":1579089359.2513764,"logger":"leader","msg":"Trying to become the leader."}
      {"level":"info","ts":1579089359.340441,"logger":"leader","msg":"No pre-existing lock was found."}
      {"level":"info","ts":1579089359.3446522,"logger":"leader","msg":"Became the leader."}
      {"level":"info","ts":1579089359.3805165,"logger":"cmd","msg":"registering resource schemes."}
      {"level":"info","ts":1579089359.385354,"logger":"kubebuilder.controller","msg":"Starting EventSource","controller":"syndesis-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1579089359.4373233,"logger":"metrics","msg":"Metrics Service object created","Service.Name":"syndesis-operator-metrics","Service.Namespace":"avano-syndesis"}
      {"level":"info","ts":1579089359.5377676,"logger":"kubebuilder.controller","msg":"Starting Controller","controller":"syndesis-controller"}
      {"level":"info","ts":1579089359.6392126,"logger":"kubebuilder.controller","msg":"Starting workers","controller":"syndesis-controller","worker count":1}
      {"level":"info","ts":1579089359.6394694,"logger":"action","msg":"Syndesis resource initialized","type":"initialize","name":"app","version":"1.6"}
      {"level":"info","ts":1579089359.645328,"logger":"action","msg":"Installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1579089360.0165014,"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":1579089360.0270548,"logger":"action","msg":"resource created","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089360.04404,"logger":"action","msg":"resource created","type":"install","kind":"Secret","name":"syndesis-server-secret","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089360.0488439,"logger":"action","msg":"resource created","type":"install","kind":"Secret","name":"syndesis-global-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089360.1567829,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-default","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089360.5507529,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089360.9507513,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-integration","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089361.3554056,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-prometheus","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089361.7503886,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-server-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089362.1740067,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-ui","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089362.550509,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-ui","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089362.954196,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-ui-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089363.3710089,"logger":"action","msg":"resource created","type":"install","kind":"ImageStream","name":"jboss-amq-63","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089363.7651217,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"broker-amq-tcp","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089364.19396,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"broker-amq","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089364.6429935,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089364.949264,"logger":"action","msg":"Failed to create or replace resource","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"error","ts":1579089364.949317,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"PersistentVolumeClaim \"syndesis-meta\" is invalid: spec.resources[storage]: Invalid value: \"0\": must be greater than zero","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":1579089364.9495072,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"syndesis-controller","request":"avano-syndesis/app","error":"PersistentVolumeClaim \"syndesis-meta\" is invalid: spec.resources[storage]: Invalid value: \"0\": must be greater than zero","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":1579089365.9498072,"logger":"action","msg":"Installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1579089365.9671247,"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":1579089368.4928784,"logger":"action","msg":"resource updated","type":"install","kind":"DeploymentConfig","name":"broker-amq","namespace":"avano-syndesis"}
      {"level":"info","ts":1579089368.9490814,"logger":"action","msg":"Failed to create or replace resource","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"error","ts":1579089368.9491346,"logger":"controller","msg":"Error reconciling","action":"*action.installAction","phase":"Installing","error":"PersistentVolumeClaim \"syndesis-meta\" is invalid: spec.resources[storage]: Invalid value: \"0\": must be greater than zero","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. have syndesis-pull-secret with credentials to quay in your namespace
      2. docker run --entrypoint syndesis-operator -v $HOME/.kube:/tmp/kube:z quay.io/rh_integration/fuse-online-operator:1.6-5 install operator --namespace avano-syndesis --config /tmp/kube/config --image quay.io/rh_integration/fuse-online-operator --tag 1.6-5
      3. oc set env dc/syndesis-operator SERVER_IMAGE=quay.io/rh_integration/fuse-ignite-server:1.6-10
      4. oc set env dc/syndesis-operator UI_IMAGE=quay.io/rh_integration/fuse-ignite-ui:1.6-1
      5. oc set env dc/syndesis-operator S2I_IMAGE=quay.io/rh_integration/fuse-ignite-s2i:1.6-2
      6. oc set env dc/syndesis-operator META_IMAGE=quay.io/rh_integration/fuse-ignite-meta:1.6-10
      7. create a minimal syndesis CR

            opiske Otavio Piske
            avano@redhat.com Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: