Skip to content
This repository has been archived by the owner on Feb 22, 2022. It is now read-only.

If we delete the old cr with the propagation policy "orphan", and IMMEDIATELY create the new CR, we will run into the following issue. #76

Open
houshengbo opened this issue Jan 22, 2020 · 0 comments

Comments

@houshengbo
Copy link

Describe the bug

{"level":"error","ts":"2020-01-22T16:52:31.083Z","logger":"eventing_operator.knativeeventing-controller","caller":"controller/controller.go:376","msg":"Reconcile error","commit":"90ee8aa","knative.dev/controller":"knativeeventing-controller","error":"ServiceAccount \"eventing-controller\" is invalid: [metadata.ownerReferences.apiVersion: Invalid value: \"\": version must not be empty, metadata.ownerReferences.kind: Invalid value: \"\": kind must not be empty, metadata.ownerReferences.name: Invalid value: \"\": name must not be empty]","stacktrace":"knative.dev/eventing-operator/vendor/knative.dev/pkg/controller.(*Impl).handleErr\n\t/home/prow/go/src/knative.dev/eventing-operator/vendor/knative.dev/pkg/controller/controller.go:376\nknative.dev/eventing-operator/vendor/knative.dev/pkg/controller.(*Impl).processNextWorkItem\n\t/home/prow/go/src/knative.dev/eventing-operator/vendor/knative.dev/pkg/controller/controller.go:362\nknative.dev/eventing-operator/vendor/knative.dev/pkg/controller.(*Impl).Run.func2\n\t/home/prow/go/src/knative.dev/eventing-operator/vendor/knative.dev/pkg/controller/controller.go:310"}
{"level":"info","ts":"2020-01-22T16:52:31.083Z","logger":"eventing_operator.knativeeventing-controller","caller":"controller/controller.go:363","msg":"Reconcile failed. Time taken: 5.0000143s.","commit":"90ee8aa","knative.dev/controller":"knativeeventing-controller","knative.dev/traceid":"ca2cfdab-e7a2-448c-b528-30281a2fb001","knative.dev/key":"knative-eventing/knative-eventing"}
{"level":"info","ts":"2020-01-22T16:52:31.084Z","logger":"eventing_operator.knativeeventing-controller.event-broadcaster","caller":"record/event.go:258","msg":"Event(v1.ObjectReference{Kind:\"Eventing\", Namespace:\"knative-eventing\", Name:\"knative-eventing\", UID:\"c61fc418-98dc-4cb8-96cd-242485d3c9a3\", APIVersion:\"operator.knative.dev/v1alpha1\", ResourceVersion:\"53832\", FieldPath:\"\"}): type: 'Warning' reason: 'InternalError' ServiceAccount \"eventing-controller\" is invalid: [metadata.ownerReferences.apiVersion: Invalid value: \"\": version must not be empty, metadata.ownerReferences.kind: Invalid value: \"\": kind must not be empty, metadata.ownerReferences.name: Invalid value: \"\": name must not be empty]","commit":"90ee8aa","knative.dev/controller":"knativeeventing-controller"}
{"level":"info","ts":"2020-01-22T16:52:31.084Z","logger":"eventing_operator.knativeeventing-controller","caller":"knativeeventing/knativeeventing.go:112","msg":"Reconciling Eventing","commit":"90ee8aa","knative.dev/controller":"knativeeventing-controller","Request.Namespace":"knative-eventing","Request.Name":"knative-eventing","status":{"conditions":[{"type":"InstallSucceeded","status":"Unknown","lastTransitionTime":"2020-01-22T16:51:37Z"},{"type":"Ready","status":"False","lastTransitionTime":"2020-01-22T16:51:41Z","reason":"Manifest Installation","message":"ServiceAccount \"eventing-controller\" is invalid: [metadata.ownerReferences.apiVersion: Invalid value: \"\": version must not be empty, metadata.ownerReferences.kind: Invalid value: \"\": kind must not be empty, metadata.ownerReferences.name: Invalid value: \"\": name must not be empty]"}]}}
{"level":"info","msg":"Merging","diff":"{\"rules\":[]}"}

Expected behavior
A clear and concise description of what you expected to happen.

To Reproduce
Steps to reproduce the behavior.

Knative release version
The Knative version, where you find this issue.

Additional context
Add any other context about the problem here such as proposed priority

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant