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

Apicurito UI cannot be accessed from standard route

    XMLWordPrintable

Details

    Description

      Images used:

      registry-proxy.engineering.redhat.com/rh-osbs/fuse7-fuse-apicurito:1.8-5                         
      registry-proxy.engineering.redhat.com/rh-osbs/fuse7-tech-preview-fuse-apicurito-operator:1.8-5
      

      Deploy resources used:

      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/crds/apicur.io_apicuritoes_crd.yaml
      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/operator.yaml
      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/crs/apicur_v1alpha1_apicurito_cr.yaml
      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/service_account.yaml
      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/role.yaml
      https://raw.githubusercontent.com/jboss-fuse/apicurio-operators/master/apicurito/deploy/role_binding.yaml
      

      All pods are running (Operator, Apicurito UI, Apicurito generator)
      but Apicurito cannot be accessed from the standard route (Application is not available)

      The operator log contains:

      {"level":"info","ts":1602163078.077195,"logger":"cmd","msg":"Go Version: go1.12.12"}
      {"level":"info","ts":1602163078.0772147,"logger":"cmd","msg":"Go OS/Arch: linux/amd64"}
      {"level":"info","ts":1602163078.0772183,"logger":"cmd","msg":"Version of operator-sdk: v0.15.0"}
      {"level":"info","ts":1602163078.0772212,"logger":"cmd","msg":"Version of apicurito operator: 7.8.0"}
      {"level":"info","ts":1602163078.0775032,"logger":"leader","msg":"Trying to become the leader."}
      {"level":"info","ts":1602163080.2364426,"logger":"leader","msg":"No pre-existing lock was found."}
      {"level":"info","ts":1602163080.240496,"logger":"leader","msg":"Became the leader."}
      {"level":"info","ts":1602163082.4291418,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":"0.0.0.0:8383"}
      {"level":"info","ts":1602163082.4351282,"logger":"cmd","msg":"Registering Components."}
      {"level":"info","ts":"2020-10-08T13:18:02.437352581Z","logger":"openshift-webconsole","msg":"Loading CR YAML samples."}
      {"level":"error","ts":"2020-10-08T13:18:02.437651714Z","logger":"openshift-webconsole","msg":"<nil>CR YAML folder is empty. It is not loaded."}
      {"level":"info","ts":1602163086.7833912,"logger":"cmd","msg":"failed to create or get service for metrics: &{{{%!w(string=) %!w(string=)} {%!w(string=) %!w(string=) %!w(string=) %!w(*int64=<nil>)} %!w(string=Failure) %!w(string=services \"apicurito-operator-metrics\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>) %!w(v1.StatusReason=Forbidden) %!w(*v1.StatusDetails=&{apicurito-operator-metrics  services  [] 0}) %!w(int32=403)}}"}
      {"level":"info","ts":1602163086.7834334,"logger":"cmd","msg":"Could not create metrics Service","error":"failed to create or get service for metrics: &{{{%!w(string=) %!w(string=)} {%!w(string=) %!w(string=) %!w(string=) %!w(*int64=<nil>)} %!w(string=Failure) %!w(string=services \"apicurito-operator-metrics\" is forbidden: cannot set blockOwnerDeletion if an ownerReference refers to a resource you can't set finalizers on: , <nil>) %!w(v1.StatusReason=Forbidden) %!w(*v1.StatusDetails=&{apicurito-operator-metrics  services  [] 0}) %!w(int32=403)}}"}
      {"level":"info","ts":1602163088.9383602,"logger":"cmd","msg":"Starting the Cmd."}
      {"level":"info","ts":1602163088.9386728,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
      {"level":"info","ts":1602163088.9388711,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"apicurito-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1602163089.0394037,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"apicurito-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1602163089.1414077,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"apicurito-controller"}
      {"level":"info","ts":1602163089.1422312,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"apicurito-controller","worker count":1}
      {"level":"info","ts":1602163089.1424193,"logger":"controller_apicurito","msg":"Reconciling Apicurito.","Request.Namespace":"apicurito","Request.Name":"apicurito"}
      {"level":"info","ts":1602163089.5468433,"logger":"controller_apicurito","msg":"","Request.Namespace":"apicurito","Request.Name":"apicurito","instances of ":"v1.Route","Will create ":2,"update ":0,"and delete":0}
      {"level":"error","ts":"2020-10-08T13:18:14.760020166Z","logger":"openshift-webconsole","msg":"consolelinks.console.openshift.io is forbidden: User \"system:serviceaccount:apicurito:apicurito\" cannot create resource \"consolelinks\" in API group \"console.openshift.io\" at the cluster scopeConsole link is not created."}
      {"level":"error","ts":"2020-10-08T13:18:14.765973391Z","logger":"openshift-webconsole","msg":"consolelinks.console.openshift.io is forbidden: User \"system:serviceaccount:apicurito:apicurito\" cannot create resource \"consolelinks\" in API group \"console.openshift.io\" at the cluster scopeConsole link is not created."}
      {"level":"info","ts":1602163094.766514,"logger":"comparator","msg":"Objects are not equal","deployed":{"app":"apicurito"},"requested":{"app":"apicurito","component":"apicurito-ui"}}
      {"level":"info","ts":1602163094.766634,"logger":"comparator","msg":"Resources are not equal","deployed":{"apiVersion":"route.openshift.io/v1","kind":"Route","namespace":"apicurito","name":"apicurito-ui"},"requested":{"apiVersion":"route.openshift.io/v1","kind":"Route","namespace":"apicurito","name":"apicurito-ui"}}
      {"level":"info","ts":1602163094.766741,"logger":"comparator","msg":"Objects are not equal","deployed":{"app":"apicurito"},"requested":{"app":"apicurito","component":"apicurito-ui"}}
      {"level":"info","ts":1602163094.7667665,"logger":"comparator","msg":"Resources are not equal","deployed":{"apiVersion":"route.openshift.io/v1","kind":"Route","namespace":"apicurito","name":"apicurito-generator"},"requested":{"apiVersion":"route.openshift.io/v1","kind":"Route","namespace":"apicurito","name":"apicurito-generator"}}
      {"level":"info","ts":1602163094.7673018,"logger":"controller_apicurito","msg":"","Request.Namespace":"apicurito","Request.Name":"apicurito","instances of ":"v1.Route","Will create ":0,"update ":2,"and delete":0}
      {"level":"info","ts":1602163094.805192,"logger":"controller_apicurito","msg":"","Request.Namespace":"apicurito","Request.Name":"apicurito","instances of ":"v1.ConfigMap","Will create ":1,"update ":0,"and delete":0}
      {"level":"info","ts":1602163094.924681,"logger":"controller_apicurito","msg":"","Request.Namespace":"apicurito","Request.Name":"apicurito","instances of ":"v1.Service","Will create ":2,"update ":0,"and delete":0}
      {"level":"info","ts":1602163095.130556,"logger":"controller_apicurito","msg":"","Request.Namespace":"apicurito","Request.Name":"apicurito","instances of ":"v1.Deployment","Will create ":2,"update ":0,"and delete":0}
      {"level":"info","ts":1602163095.2637246,"logger":"controller_apicurito","msg":"Reconciling Apicurito.","Request.Namespace":"apicurito","Request.Name":"apicurito"}
      

      Attachments

        Activity

          People

            cmiranda@redhat.com Claudio Miranda
            mmajerni@redhat.com Mario Majernik
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: