Uploaded image for project: 'Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces) '
  1. Red Hat OpenShift Dev Spaces (formerly CodeReady Workspaces)
  2. CRW-2166

codeready-operator container failed to deploy because there was no matches for kind "CheClusterBackup"

XMLWordPrintable

    • False
    • False
    • undefined

      CRW 2.11.0.ER-08-13 failed to deploy codeready-operator container on OCP 4.7 because of readiness probe failed: connection refused:

      codeready-operator container logs
      {"level":"info","ts":1629126450.964695,"msg":"Binary info ","Go version":"go1.15.14"}
      {"level":"info","ts":1629126450.9648032,"msg":"Binary info ","OS":"linux","Arch":"amd64"}
      {"level":"info","ts":1629126450.964812,"msg":"Address ","Metrics":":60000"}
      {"level":"info","ts":1629126450.9648182,"msg":"Address ","Probe":":6789"}
      {"level":"info","ts":1629126450.9648235,"msg":"Operator is running on ","Infrastructure":"OpenShift v4.x"}
      I0816 15:07:32.018585       1 request.go:655] Throttling request took 1.045506808s, request: GET:https://172.30.0.1:443/apis/console.openshift.io/v1alpha1?timeout=32s
      {"level":"info","ts":1629126453.7264636,"logger":"controller-runtime.metrics","msg":"metrics server is starting to listen","addr":":60000"}
      time="2021-08-16T15:07:36Z" level=info msg="Use 'terminationGracePeriodSeconds' 20 sec. from operator deployment."
      {"level":"info","ts":1629126456.4993513,"logger":"setup","msg":"starting manager"}
      time="2021-08-16T15:07:36Z" level=info msg="Set up process signal handler"
      I0816 15:07:36.499640       1 leaderelection.go:243] attempting to acquire leader lease crw-crwctl/e79b08a4.org.eclipse.che...
      {"level":"info","ts":1629126456.4999025,"logger":"controller-runtime.manager","msg":"starting metrics server","path":"/metrics"}
      I0816 15:07:53.834901       1 leaderelection.go:253] successfully acquired lease crw-crwctl/e79b08a4.org.eclipse.che
      {"level":"info","ts":1629126473.83512,"logger":"controller","msg":"Starting EventSource","reconcilerGroup":"org.eclipse.che","reconcilerKind":"CheClusterRestore","controller":"checlusterrestore-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1629126473.8352244,"logger":"controller","msg":"Starting EventSource","reconcilerGroup":"org.eclipse.che","reconcilerKind":"CheClusterBackup","controller":"checlusterbackup-controller","source":"kind source: /, Kind="}
      {"level":"info","ts":1629126473.835151,"logger":"controller","msg":"Starting EventSource","reconcilerGroup":"org.eclipse.che","reconcilerKind":"CheCluster","controller":"checluster","source":"kind source: /, Kind="}
      I0816 15:07:54.885499       1 request.go:655] Throttling request took 1.045098817s, request: GET:https://172.30.0.1:443/apis/metal3.io/v1alpha1?timeout=32s
      {"level":"error","ts":1629126476.5943813,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"CheClusterRestore.org.eclipse.che","error":"no matches for kind \"CheClusterRestore\" in version \"org.eclipse.che/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/che-operator/vendor/github.com/go-logr/zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:117\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:143\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:184\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/che-operator/vendor/sigs.k8s.io/controller-runtim...
      {"level":"error","ts":1629126480.8340654,"logger":"controller-runtime.source","msg":"if kind is a CRD, it should be installed before calling Start","kind":"CheClusterBackup.org.eclipse.che","error":"no matches for kind \"CheClusterBackup\" in version \"org.eclipse.che/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/che-operator/vendor/github.com/go-logr/zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/source.(*Kind).Start\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/source/source.go:117\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start.func1\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:143\nsigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/internal/controller/controller.go:184\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/...
      {"level":"error","ts":1629126480.8341506,"logger":"controller-runtime.manager","msg":"error received after stop sequence was engaged","error":"no matches for kind \"CheClusterBackup\" in version \"org.eclipse.che/v1\"","stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/che-operator/vendor/github.com/go-logr/zapr/zapr.go:132\nsigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).engageStopProcedure.func1\n\t/che-operator/vendor/sigs.k8s.io/controller-runtime/pkg/manager/internal.go:521"}
      {"level":"error","ts":1629126506.5946796,"logger":"setup","msg":"problem running manager","error":"[no matches for kind \"CheClusterRestore\" in version \"org.eclipse.che/v1\", failed waiting for all runnables to end within grace period of 30s: context deadline exceeded]","errorCauses":[{"error":"no matches for kind \"CheClusterRestore\" in version \"org.eclipse.che/v1\""},{"error":"failed waiting for all runnables to end within grace period of 30s: context deadline exceeded"}],"stacktrace":"github.com/go-logr/zapr.(*zapLogger).Error\n\t/che-operator/vendor/github.com/go-logr/zapr/zapr.go:132\nmain.main\n\t/che-operator/main.go:237\nruntime.main\n\t/usr/lib/golang/src/runtime/proc.go:204"}
      

      codeready-operator image: "quay.io/crw/crw-2-rhel8-operator@sha256:387e19bef5aec19a0229d0d61ed5c197e6aaf1bb3b199ce748f3329d3e683cba"

       

      Error hasn't been reproduced on QE OCP 3.11.

              abazko Anatolii Bazko
              dnochevn Dmytro Nochevnov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: