Skip to content

Chapter04 - opendata-hub-operator-controller-manager crashloopbackoff #13

Description

@LucianoBatista

After apply the odh-subscription.yaml, I'm getting some errors on the pod. Could someone help me?

kubectl logs opendatahub-operator-controller-manager-bff48cb67-c6wpq -n operators -f
2023-05-13T16:31:40.886Z	INFO	controller.kfdef-controller	Starting Controller	{"reconciler group": "kfdef.apps.kubeflow.org", "reconciler kind": "KfDef"}
2023-05-13T16:31:40.987Z	INFO	controllers.KfDef	Adding finalizer	{"kfdef-finalizer.kfdef.apps.kubeflow.org": "ml-workshop/opendatahub-ml-workshop"}
2023-05-13T16:31:41.340Z	ERROR	controller-runtime.source	if kind is a CRD, it should be installed before calling Start	{"kind": "DeploymentConfig.apps.openshift.io", "error": "no matches for kind \"DeploymentConfig\" in version \"apps.openshift.io/v1\""}
2023-05-13T16:31:41.340Z	INFO	controller.secret-generator-controller	Starting workers	{"reconciler group": "", "reconciler kind": "Secret", "worker count": 1}
2023-05-13T16:31:41.346Z	INFO	controllers.KfDef	Adding finalizer	{"kfdef-finalizer.kfdef.apps.kubeflow.org": "ml-workshop/opendatahub-ml-workshop"}
I0513 16:31:42.488515       1 request.go:668] Waited for 1.048971907s due to client-side throttling, not priority and fairness, request: GET:https://10.96.0.1:443/apis/node.k8s.io/v1?timeout=32s
2023-05-13T16:31:43.289Z	ERROR	controller-runtime.source	if kind is a CRD, it should be installed before calling Start	{"kind": "BuildConfig.build.openshift.io", "error": "no matches for kind \"BuildConfig\" in version \"build.openshift.io/v1\""}
2023-05-13T16:31:43.289Z	ERROR	controller.kfdef-controller	Could not wait for Cache to sync	{"reconciler group": "kfdef.apps.kubeflow.org", "reconciler kind": "KfDef", "error": "failed to wait for kfdef-controller caches to sync: no matches for kind \"DeploymentConfig\" in version \"apps.openshift.io/v1\""}
sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller).Start
	/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/internal/controller/controller.go:234
sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).startRunnable.func1
	/opt/app-root/src/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.10.0/pkg/manager/internal.go:696
2023-05-13T16:31:43.289Z	INFO	controller.secret-generator-controller	Shutdown signal received, waiting for all workers to finish	{"reconciler group": "", "reconciler kind": "Secret"}
2023-05-13T16:31:43.289Z	INFO	controller.secret-generator-controller	All workers finished	{"reconciler group": "", "reconciler kind": "Secret"}
2023-05-13T16:31:43.289Z	ERROR	error received after stop sequence was engaged	{"error": "leader election lost"}
runtime.goexit
	/usr/lib/golang/src/runtime/asm_amd64.s:1571
2023-05-13T16:31:43.290Z	ERROR	error received after stop sequence was engaged	{"error": "context canceled"}
runtime.goexit
	/usr/lib/golang/src/runtime/asm_amd64.s:1571
2023-05-13T16:31:43.290Z	ERROR	error received after stop sequence was engaged	{"error": "context canceled"}
runtime.goexit
	/usr/lib/golang/src/runtime/asm_amd64.s:1571
2023-05-13T16:31:43.290Z	ERROR	setup	problem running manager	{"error": "failed to wait for kfdef-controller caches to sync: no matches for kind \"DeploymentConfig\" in version \"apps.openshift.io/v1\""}
runtime.goexit
	/usr/lib/golang/src/runtime/asm_amd64.s:1571

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions