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

Install operator installs custom resource as well

    XMLWordPrintable

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • fuse-7.8-GA
    • fuse-7.8-GA
    • Fuse Online
    • None

    Description

      this breaks our automation as it expects that there is no CR after install operator

      With 1.11.0-20200921, when using:

      docker run --rm --entrypoint syndesis-operator -v $HOME/.kube/config:/tmp/kube/config:z docker.io/syndesis/syndesis-operator:1.11.0-20200921 install cluster --config /tmp/kube/config --namespace avano-syndesis
      cluster resources were installed successfully
      docker run --rm --entrypoint syndesis-operator -v $HOME/.kube/config:/tmp/kube/config:z docker.io/syndesis/syndesis-operator:1.11.0-20200921 install operator --config /tmp/kube/config --namespace avano-syndesis
      operator was installed successfully
      

      the operator also creates the CR:

      oc logs -f syndesis-operator-1-qjh5l                         
      {"level":"info","ts":1600758482.1597128,"logger":"cmd","msg":"Go Version: go1.13.7"}
      {"level":"info","ts":1600758482.1598077,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
      {"level":"info","ts":1600758482.1598115,"logger":"cmd","msg":"Version of operator-sdk: v0.17.0+git"}
      {"level":"info","ts":1600758482.1598144,"logger":"cmd","msg":"Syndesis Operator Version: 1.11.0-20200921"}
      {"level":"info","ts":1600758482.1598177,"logger":"cmd","msg":"Syndesis Operator Image: syndesis/syndesis-operator"}
      {"level":"info","ts":1600758482.1598203,"logger":"cmd","msg":"Syndesis Build Time: 2020-09-21T01:18:00-0400"}
      I0922 07:08:03.212765       1 request.go:621] Throttling request took 1.025333441s, request: GET:https://172.30.0.1:443/apis/project.openshift.io/v1?timeout=32s
      {"level":"info","ts":1600758487.4380338,"logger":"leader","msg":"Trying to become the leader."}
      {"level":"info","ts":1600758490.064795,"logger":"leader","msg":"No pre-existing lock was found."}
      {"level":"info","ts":1600758490.0792985,"logger":"leader","msg":"Became the leader."}
      {"level":"info","ts":1600758492.6842632,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"0.0.0.0:8383"}
      {"level":"info","ts":1600758492.6847947,"logger":"cmd","msg":"registering resource schemes."}
      {"level":"info","ts":1600758492.78214,"logger":"versions","msg":"updating syndesis api","version from":"v1alpha1","version to":"v1beta1","from name":"","from version":"","to name":"app","to version":""}
      I0922 07:08:13.893085       1 request.go:621] Throttling request took 1.0432678s, request: GET:https://172.30.0.1:443/apis/machine.openshift.io/v1beta1?timeout=32s
      {"level":"info","ts":1600758498.1088455,"logger":"metrics","msg":"Metrics Service object created","Service.Name":"syndesis-operator-metrics","Service.Namespace":"avano-syndesis"}
      {"level":"info","ts":1600758500.74939,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
      {"level":"info","ts":1600758500.7493572,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"syndesis-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1600758500.8502142,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"syndesis-controller"}
      {"level":"info","ts":1600758500.8502858,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"syndesis-controller","worker count":1}
      {"level":"info","ts":1600758500.85068,"logger":"action","msg":"Syndesis resource initialized","type":"initialize","name":"app","version":"1.11.0-20200921"}
      {"level":"info","ts":1600758500.8700953,"logger":"controller","msg":"syndesis resource changed in the meantime, requeue and rerun in 5 seconds","name":"app"}
      {"level":"info","ts":1600758500.8701916,"logger":"action","msg":"installing Syndesis resource","type":"install","name":"app"}
      {"level":"info","ts":1600758503.9571803,"logger":"action","msg":"resource created","type":"install","kind":"ImageStream","name":"syndesis-s2i","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758503.9743583,"logger":"action","msg":"resource created","type":"install","kind":"Secret","name":"syndesis-server-secret","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758503.996271,"logger":"action","msg":"resource created","type":"install","kind":"Secret","name":"syndesis-global-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.0118325,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-default","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.0444074,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.0766292,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-integration","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.1084898,"logger":"action","msg":"resource created","type":"install","kind":"ServiceAccount","name":"syndesis-prometheus","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.1950858,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-server-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.2554026,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-ui","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.3726113,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-ui","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.4180107,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-ui-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.465178,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.5627232,"logger":"action","msg":"resource created","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.6013336,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-meta","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.624164,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-meta-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.682823,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-oauthproxy","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.747884,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-oauthproxy","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.849805,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758504.9083586,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.3206768,"logger":"action","msg":"resource created","type":"install","kind":"Role","name":"syndesis-editor","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.427334,"logger":"action","msg":"resource created","type":"install","kind":"RoleBinding","name":"syndesis-server-editor","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.6094813,"logger":"action","msg":"resource created","type":"install","kind":"Role","name":"syndesis-viewer","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.7400663,"logger":"action","msg":"resource created","type":"install","kind":"RoleBinding","name":"syndesis-prometheus-viewer","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.8834155,"logger":"action","msg":"resource created","type":"install","kind":"Role","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758505.9838161,"logger":"action","msg":"resource created","type":"install","kind":"RoleBinding","name":"syndesis-server","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.0068288,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-prometheus-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.0664952,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-prometheus","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.0972455,"logger":"action","msg":"resource created","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-prometheus","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.1441758,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-prometheus","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.1592605,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-db-metrics-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.181,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-sampledb-config","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.1999545,"logger":"action","msg":"resource created","type":"install","kind":"ConfigMap","name":"syndesis-db-conf","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.2882726,"logger":"action","msg":"resource created","type":"install","kind":"Service","name":"syndesis-db","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.3080416,"logger":"action","msg":"resource created","type":"install","kind":"PersistentVolumeClaim","name":"syndesis-db","namespace":"avano-syndesis"}
      {"level":"info","ts":1600758506.3483405,"logger":"action","msg":"resource created","type":"install","kind":"DeploymentConfig","name":"syndesis-db","namespace":"avano-syndesis"}
      I0922 07:08:27.398694       1 request.go:621] Throttling request took 1.04253377s, request: GET:https://172.30.0.1:443/apis/route.openshift.io/v1?timeout=32s
      {"level":"info","ts":1600758509.815944,"logger":"action","msg":"Syndesis resource installed","type":"install","name":"app"}
      
      

      Attachments

        Activity

          People

            parichar@redhat.com Paul Richardson
            avano@redhat.com Andrej Vano
            Andrej Vano Andrej Vano
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: