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

Apicurito operator repeatedly throws error when deploying apicurito

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • None
    • fuse-7.3
    • Apicurito, Prod
    • None
    • % %

      What I'm doing:

      For community image it works ok, but for prod image the operator constantly throws this error in its logs:

      {"level":"info","ts":1554968336.1012907,"logger":"helm.controller","msg":"Reconciled release","namespace":"apicurito","name":"apicurito","apiVersion":"apicur.io/v1alpha1","kind":"Apicurito","release":"apicurito-a7tpm8tgdyq3am71fj2be96pw"}
      {"level":"error","ts":1554968336.1044202,"logger":"kubebuilder.controller","msg":"Reconciler error","controller":"apicurito-controller","request":"apicurito/apicurito","error":"the server could not find the requested resource","stacktrace":"github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/github.com/go-logr/zapr/zapr.go:128\ngithub.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:215\ngithub.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:158\ngithub.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil.func1\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:133\ngithub.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:134\ngithub.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait.Until\n\t/go/src/github.com/operator-framework/helm-app-operator-kit/helm-app-operator/vendor/k8s.io/apimachinery/pkg/util/wait/wait.go:88"}
      {"level":"info","ts":1554968337.2001772,"logger":"helm.controller","msg":"Reconciled release","namespace":"apicurito","name":"apicurito","apiVersion":"apicur.io/v1alpha1","kind":"Apicurito","release":"apicurito-a7tpm8tgdyq3am71fj2be96pw"}
      

      it spawns the necessary things in the namespace:

      ➤  apicurito/operator/deploy  master ⚑  :: oc get all -n apicurito    
      NAME                                      READY     STATUS    RESTARTS   AGE
      pod/apicurito-operator-856ffb67d8-kj67r   1/1       Running   0          14m
      pod/apicurito-ui-1-5h7mk                  1/1       Running   0          13m
      pod/apicurito-ui-1-mchpg                  1/1       Running   0          13m
      
      NAME                                   DESIRED   CURRENT   READY     AGE
      replicationcontroller/apicurito-ui-1   2         2         2         13m
      
      NAME                   TYPE        CLUSTER-IP      EXTERNAL-IP   PORT(S)   AGE
      service/apicurito-ui   ClusterIP   172.30.165.47   <none>        80/TCP    14m
      
      NAME                                 DESIRED   CURRENT   UP-TO-DATE   AVAILABLE   AGE
      deployment.apps/apicurito-operator   1         1         1            1           14m
      
      NAME                                            DESIRED   CURRENT   READY     AGE
      replicaset.apps/apicurito-operator-856ffb67d8   1         1         1         14m
      
      NAME                                              REVISION   DESIRED   CURRENT   TRIGGERED BY
      deploymentconfig.apps.openshift.io/apicurito-ui   1          2         2         config,image(apicurito-ui:latest)
      
      NAME                                          DOCKER REPO                              TAGS      UPDATED
      imagestream.image.openshift.io/apicurito-ui   172.30.1.1:5000/apicurito/apicurito-ui   latest    13 minutes ago
      
      NAME                                 HOST/PORT                                   PATH      SERVICES       PORT      TERMINATION   WILDCARD
      route.route.openshift.io/apicurito   apicurito-apicurito.192.168.99.100.nip.io             apicurito-ui   <all>     edge          None
      
      

      and the UI works, so I don't know it that's a serious problem or not

      lgarciaac do you have any idea what might be wrong?

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

                Created:
                Updated:
                Resolved: