-
Bug
-
Resolution: Done
-
Major
-
0.6.0
-
2019 Week 47-49 (from Nov 18)
I cam accross 2 errors when trying to install the operator via CLI (and no OLM).
First, the operator pod does not start because it has a mandatory dependency on Infinispan Operator and the CLI does not install it.
{"level":"info","ts":1574171987.6412103,"logger":"controller-runtime.controller","msg":"Starting EventSource","controller":"kogitoinfra-controller","source":"kind source: /, Kind="} {"level":"error","ts":1574171991.2372475,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"Infinispan.infinispan.org","error":"no matches for kind \"Infinispan\" in version \"infinispan.org/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tkogito-cloud-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\tkogito-cloud-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:88\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Watch\n\tkogito-cloud-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:122\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller/kogitoinfra.add\n\tkogito-cloud-operator/pkg/controller/kogitoinfra/kogitoinfra_controller.go:74\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller/kogitoinfra.Add\n\tkogito-cloud-operator/pkg/controller/kogitoinfra/kogitoinfra_controller.go:46\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller.AddToManager\n\tkogito-cloud-operator/pkg/controller/controller.go:27\nmain.main\n\tkogito-cloud-operator/cmd/manager/main.go:129\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:203"} {"level":"error","T":"2019-11-19T13:59:51.237Z","logger":"cmd","msg":"no matches for kind \"Infinispan\" in version \"infinispan.org/v1\""}
Second, after installing the Infinispan Operator, the error has changed and this time it seems that the CLI does not install the kogitoinfra crds.
{"level":"error","ts":1574173748.4278996,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"KogitoInfra.app.kiegroup.org","error":"no matches for kind \"KogitoInfra\" in version \"app.kiegroup.org/v1alpha1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\tkogito-cloud-operator/vendor/github.com/go-logr/zapr/zapr.go:128\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\tkogito-cloud-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:88\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Watch\n\tkogito-cloud-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:122\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller/kogitoinfra.add\n\tkogito-cloud-operator/pkg/controller/kogitoinfra/kogitoinfra_controller.go:63\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller/kogitoinfra.Add\n\tkogito-cloud-operator/pkg/controller/kogitoinfra/kogitoinfra_controller.go:46\ngithub.com/kiegroup/kogito-cloud-operator/pkg/controller.AddToManager\n\tkogito-cloud-operator/pkg/controller/controller.go:27\nmain.main\n\tkogito-cloud-operator/cmd/manager/main.go:129\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:203"} {"level":"error","T":"2019-11-19T14:29:08.427Z","logger":"cmd","msg":"no matches for kind \"KogitoInfra\" in version \"app.kiegroup.org/v1alpha1\""}
- is caused by
-
KOGITO-94 Integrate Infinispan Operator with Kogito Data Index controller
- Closed
- is related to
-
KOGITO-634 Error applying kogitoinfra CRD in OpenShift 3
- Closed