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

Pod is never created when deploying source files

XMLWordPrintable

    • False
    • False
    • Hide

      Install Kogito Operator 1.11.1
      Get kogito-examples 1.11.x

      $ kogito deploy process-timer-quarkus ./process-timer-quarkus/src/main/resources --image-runtime quay.io/kiegroup/kogito-runtime-jvm-nightly:1.11 --image-s2i quay.io/kiegroup/kogito-builder-nightly:1.11 --replicas 1 --runtime quarkus
      Show
      Install Kogito Operator 1.11.1 Get kogito-examples 1.11.x $ kogito deploy process-timer-quarkus ./process-timer-quarkus/src/main/resources --image-runtime quay.io/kiegroup/kogito-runtime-jvm-nightly:1.11 --image-s2i quay.io/kiegroup/kogito-builder-nightly:1.11 --replicas 1 --runtime quarkus
    • 2021 Week 37-39 (from Sep 13)

      When building and deploying from source files, the application pod is never created.

      The KogitoRuntime does not contain any image information and the operator log keeps  showing a reconciler error, even when the build is finished and the imagestream is existing:

      {"level":"error","ts":1632842831.304606,"logger":"controller","msg":"Reconciler error","reconcilerGroup":"app.kiegroup.org","reconcilerKind":"KogitoRuntime","controller":"kogitoruntime","name":"process-timer-quarkus","namespace":"tradisso-test","error":"image not found","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/go/pkg/mod/github.com/go-logr/zapr@v0.2.0/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:246\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:218\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:197\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1\n\t/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:155\nk8s.io/apimachinery/pkg/util/wait.BackoffUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:156\nk8s.io/apimachinery/pkg/util/wait.JitterUntil\n\t/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:133\nk8s.io/apimachinery/pkg/util/wait.Until\n\t/go/pkg/mod/k8s.io/apimachinery@v0.20.4/pkg/util/wait/wait.go:90"}
      

      And the KogitoRuntime:

      spec: 
        monitoring: 
          path: /metrics 
          scheme: http 
        probes: 
          livenessProbe: {} 
          readinessProbe: {} 
          startupProbe: {} 
        replicas: 1 
        resources: {} 
        runtime: quarkus
      status: 
        cloudEvents: {} 
        conditions: 
          - lastTransitionTime: "2021-09-28T15:21:31Z" 
            message: "" 
            reason: NoPodAvailable 
            status: "False" 
            type: Deployed 
          - lastTransitionTime: "2021-09-28T15:21:31Z" 
            message: "" 
            reason: RequestedReplicasNotEqualToAvailableReplicas 
            status: "True" 
            type: Provisioning
      

              vajain Vaibhav Jain
              tradisso@redhat.com Tristan Radisson
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: