-
Bug
-
Resolution: Done
-
Major
-
1.0.0.Final
-
None
-
False
-
False
-
Undefined
-
-
---
-
---
-
-
2020 Week 52-03 (from Dec 21)
Kogito operator creates new Infinispan instance when user creates KogitoInfra CR like [1].
However since Infinispan 2.0.6 this Infinispan instance creation doesn't work. Kogito operator logs this error message:
{"level":"error","ts":1610700778.6774309,"logger":"controller-runtime.controller","msg":"Reconciler error","controller":"kogitoinfra-controller","name":"kogito-infinispan-infra","namespace":"infinispan-operator","error":"Infinispan.infinispan.org \"kogito-infinispan\" is invalid: spec.security.endpointEncryption.type: Unsupported value: \"\": supported values: \"Service\", \"service\", \"Secret\", \"secret\", \"None\"","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.1/pkg/internal/controller/controller.go:235\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:209\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).worker\n\t/home/jenkins/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.6.1/pkg/internal/controller/controller.go:188\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":"info","T":"2021-01-15T08:52:59.677Z","logger":"kogitoinfra_controller","msg":"Reconciling KogitoInfra for kogito-infinispan-infra in infinispan-operator"} {"level":"error","T":"2021-01-15T08:52:59.714Z","logger":"kogitoinfra_controller","msg":"Error occurs while creating kogito infinispan instance"} {"level":"warn","T":"2021-01-15T08:52:59.714Z","logger":"kogitoinfra_controller","msg":"Error while reconciling KogitoInfra: Infinispan.infinispan.org \"kogito-infinispan\" is invalid: spec.security.endpointEncryption.type: Unsupported value: \"\": supported values: \"Service\", \"service\", \"Secret\", \"secret\", \"None\""}
The difference seems to be caused by [2]
[1] https://github.com/kiegroup/kogito-cloud-operator/blob/master/examples/kogitoinfra-infinispan.yaml
[2] https://github.com/infinispan/infinispan-operator/pull/697
- relates to
-
KOGITO-4192 Error connecting KogitoInfra to Infinispan instance with None encryption
- Closed