Uploaded image for project: 'Kogito'
  1. Kogito
  2. KOGITO-3050

KogitoBuild sometimes is not launched whereas BuildConfig is created

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 0.14.0
    • 0.13.0
    • Operator
    • None
    • Hide

      $ kogito deploy dmn-quarkus-example "/tmp/kogito-examples745280863/dmn-quarkus-example/src/main/resources/Traffic Violation.dmn" --image-runtime quay.io/kiegroup/kogito-quarkus-jvm-ubi8-nightly:temp-master-tests --image-s2i quay.io/kiegroup/kogito-quarkus-ubi8-s2i-nightly:temp-master-tests --image-runtime quay.io/kiegroup/kogito-quarkus-jvm-ubi8-nightly:temp-master-tests --replicas 1 --runtime quarkus

      Show
      $ kogito deploy dmn-quarkus-example "/tmp/kogito-examples745280863/dmn-quarkus-example/src/main/resources/Traffic Violation.dmn" --image-runtime quay.io/kiegroup/kogito-quarkus-jvm-ubi8-nightly:temp-master-tests --image-s2i quay.io/kiegroup/kogito-quarkus-ubi8-s2i-nightly:temp-master-tests --image-runtime quay.io/kiegroup/kogito-quarkus-jvm-ubi8-nightly:temp-master-tests --replicas 1 --runtime quarkus
    • 2020 Week 31-33 (from Jul 27)

      Sometimes a build of KogitoBuild is never launched.

      Diff in logs:

      Success

       

      $ oc logs -f kogito-operator-6575747b7b-xmpfc | grep kogitobuild
      {"level":"info","ts":1597225830.9067895,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1597225831.0076022,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1597225831.108072,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1597225831.2084286,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"kogitobuild-controller"}
      {"level":"info","ts":1597225831.208521,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"kogitobuild-controller","worker count":1}
      {"level":"error","ts":1597225831.5375063,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kogitobuild-controller","request":"jenkins-cucumber-19b2/dmn-quarkus-example","error":"buildconfigs.build.openshift.io \"dmn-quarkus-example\" already exists","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/jenkins/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:90"}
      

       

      Error

      $ oc logs -f kogito-operator-6575747b7b-rglvd | grep kogitobuild {"level":"info","ts":1597225735.8889444,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="} {"level":"info","ts":1597225735.990396,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="} {"level":"info","ts":1597225736.0908535,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitobuild-controller","source":"kind source: /, Kind="} {"level":"info","ts":1597225736.1914275,"logger":"controller-runtime.controller","msg":"Starting Controller","controller":"kogitobuild-controller"} {"level":"info","ts":1597225736.29185,"logger":"controller-runtime.controller","msg":"Starting workers","controller":"kogitobuild-controller","worker count":1} {"level":"error","ts":1597225736.4741015,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kogitobuild-controller","request":"jenkins-cucumber-73c2/dmn-quarkus-example","error":"Error while creating Kogito ImageStreams: imagestreams.image.openshift.io \"custom-kogito-quarkus-ubi8-s2i-nightly\" already exists ","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/jenkins/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:90"} {"level":"error","ts":1597225737.6732566,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kogitobuild-controller","request":"jenkins-cucumber-73c2/dmn-quarkus-example","error":"buildconfigs.build.openshift.io \"dmn-quarkus-example\" already exists","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/jenkins/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:258\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:232\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.0/pkg/internal/controller/controller.go:211\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/home/jenkins/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:90"}
      

      Seems like the `reconcile` has some problems sometimes and never start the build.

      I joined also a full operator logs when it fails.

       

              rhn-support-zanini Ricardo Zanini
              tradisso@redhat.com Tristan Radisson
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: