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

Periodic reconciler error when KogitoInfra is deleted

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 0.17.0
    • 0.16.0
    • Operator
    • None
    • False
    • False
    • Undefined
    • Hide

      Install Kogito operator and Keycloak operator
      Create Keycloak KogitoInfra:

      apiVersion: app.kiegroup.org/v1alpha1
      kind: KogitoInfra
      metadata:
        name: keycloak
      spec:
        resource:
          apiVersion: keycloak.org/v1alpha1
          kind: Keycloak
      

      Wait until the Keycloak is installed
      Delete KogitoInfra
      Check Kogito operator log.

      Show
      Install Kogito operator and Keycloak operator Create Keycloak KogitoInfra: apiVersion: app.kiegroup.org/v1alpha1 kind: KogitoInfra metadata: name: keycloak spec: resource: apiVersion: keycloak.org/v1alpha1 kind: Keycloak Wait until the Keycloak is installed Delete KogitoInfra Check Kogito operator log.
    • ---
    • ---

      When user deletes KogitoInfra CR then Kogito operator periodically logs error:

      {"level":"error","ts":1601394096.121641,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kogitoinfra-controller","request":"ksuta-local-cucumber-7042/keycloak","error":"kogito Infra resource with name keycloak not found in namespace ksuta-local-cucumber-7042","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/home/ksuta/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/ksuta/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/ksuta/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/ksuta/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/ksuta/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/ksuta/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/ksuta/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/ksuta/go/pkg/mod/k8s.io/apimachinery@v0.18.3/pkg/util/wait/wait.go:90"}
      

              ksuta Karel Suta
              ksuta Karel Suta
              Tristan Radisson Tristan Radisson (Inactive)
              Tristan Radisson Tristan Radisson (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: