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

Panic when even number of proto files are available in appplication

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.4.0.Final
    • 1.4.0.Final
    • Operator
    • None
    • False
    • False
    • Undefined
    • Hide

      Deploy process-quarkus-example with persistence enabled.

      Show
      Deploy process-quarkus-example with persistence enabled.
    • ---
    • ---

      When Kogito application contains even number of proto files, for example 2, the Kogito operator crash with error:

      2021-03-01T12:56:54.730+0100	DPANIC	kogitoruntime_controllers.DEBUG	odd number of arguments passed as key-value pairs for logging	{"name": "example-quarkus", "namespace": "ksuta-test", "ignored key": ["demo.orders.proto", "persons.proto"]}
      github.com/go-logr/zapr.handleFields
      	/home/karel/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:106
      github.com/go-logr/zapr.(*infoLogger).Info
      	/home/karel/go/pkg/mod/github.com/go-logr/zapr@v0.1.1/zapr.go:70
      github.com/kiegroup/kogito-cloud-operator/core/logger.(*Logger).Debug
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/core/logger/logger.go:29
      github.com/kiegroup/kogito-cloud-operator/controllers.(*runtimeDeployerHandler).getProtobufData
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/controllers/runtime_deployer.go:177
      github.com/kiegroup/kogito-cloud-operator/controllers.(*runtimeDeployerHandler).createProtoBufConfigMap
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/controllers/runtime_deployer.go:141
      github.com/kiegroup/kogito-cloud-operator/controllers.(*runtimeDeployerHandler).OnObjectsCreate
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/controllers/runtime_deployer.go:94
      github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).onObjectsCreate
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/core/kogitoservice/deployer_resources.go:132
      github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).createRequiredResources
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/core/kogitoservice/deployer_resources.go:102
      github.com/kiegroup/kogito-cloud-operator/core/kogitoservice.(*serviceDeployer).Deploy
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/core/kogitoservice/deployer.go:142
      github.com/kiegroup/kogito-cloud-operator/controllers.(*KogitoRuntimeReconciler).Reconcile
      	/home/karel/src/github.com/kiegroup/kogito-cloud-operator/controllers/kogitoruntime_controller.go:113
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler
      	/home/karel/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:244
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem
      	/home/karel/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:218
      sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker
      	/home/karel/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.3/pkg/internal/controller/controller.go:197
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil.func1
      	/home/karel/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:155
      k8s.io/apimachinery/pkg/util/wait.BackoffUntil
      	/home/karel/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:156
      k8s.io/apimachinery/pkg/util/wait.JitterUntil
      	/home/karel/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:133
      k8s.io/apimachinery/pkg/util/wait.Until
      	/home/karel/go/pkg/mod/k8s.io/apimachinery@v0.18.8/pkg/util/wait/wait.go:90
      
      

              ksuta Karel Suta
              ksuta Karel Suta
              Karel Suta Karel Suta
              Karel Suta Karel Suta
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: