-
Notifications
You must be signed in to change notification settings - Fork 588
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error reconciling ClusterChannelProvisioner when dispatcher service is updated #649
Comments
Thanks for debugging this @neosab! Seems like a bug in controller-runtime. |
Here's an issue describing the CR bug: kubernetes-sigs/controller-runtime#214 |
Ah, I did see that issue in controller-runtime but I somehow thought it was closed as a non-issue. Good to know. |
lberk
added a commit
to lberk/eventing
that referenced
this issue
Jun 22, 2020
* update-ci makefile target: allow for release-next branch * Change file suffixes * Remove mirroring/mapping in update-ci.sh
Cali0707
pushed a commit
to Cali0707/eventing
that referenced
this issue
Jul 4, 2024
…st_1.12_ocp [release-v1.12] Updating RetryableHttp lib to latest
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Channel controllers (Kafka & in-memory) reconcile
ClusterChannelProvisioner
when the dispatcher service (owned by them) is updated.Actual Behavior
They run into an error
Could not find ClusterChannelProvisioner
during reconciliationin-memory-controller logs:
kafka controller logs
Steps to Reproduce the Problem
kafka-dispatcher
orin-memory-channel-dispatcher
Note: You can also notice this error when you just start the controller as a we receive two reconciliation request. First one is for the watched CCP object and that succeeds. The second one is triggered because of the owned dispatcher svc and this one would fail.
Additional Info
The root cause is the behavior with controller runtime's
EnqueueRequestForOwner
. The reconciliation request triggered because of a change to the owned object includes the namespace of the owned object i.e the namespace of the dispatcher service. So we get"request":"knative-eventing/kafka"
instead of"request":"/kafka"
. The same for in-memory channel controller.The text was updated successfully, but these errors were encountered: