-
Notifications
You must be signed in to change notification settings - Fork 68
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
All controllers log with controllerKind "SuperStream" #404
Comments
It's because SuperStream is the last controller to start. For example, in my quick test, when moving the Shovel controller to the last (swap the block of SuperStream and Shovel): https://github.com/rabbitmq/messaging-topology-operator/blob/main/main.go#L214-L234 You get controllerKind "Shovel" instead |
It's only an issue with 1.17.
|
This is currently fixed in controller-runtime master branch kubernetes-sigs/controller-runtime#1907. We can wait til their next release. I will mark this issue as blocked for now and leave it open as a reminder for us. |
Not an issue anymore after controller runtime update: #406 See
|
New version cut with updated controller-runtime: https://github.com/rabbitmq/messaging-topology-operator/releases/tag/v1.7.1. Closing this issue |
Describe the bug
{"level":"info","ts":1655722814.3733497,"msg":"Successfully declared queue","controller":"superstream","controllerGroup":"rabbitmq.com","controllerKind":"SuperStream","queue":{"name":"qq-example","namespace":"rabbitmq-system"},"namespace":"rabbitmq-system","name":"qq-example","reconcileID":"a17695c7-8dc2-4b4c-a254-bb7b4a74606f","queue":"qq"}
{"level":"info","ts":1655722814.3779905,"msg":"Finished reconciling","controller":"superstream","controllerGroup":"rabbitmq.com","controllerKind":"SuperStream","queue":{"name":"qq-example","namespace":"rabbitmq-system"},"namespace":"rabbitmq-system","name":"qq-example","reconcileID":"a17695c7-8dc2-4b4c-a254-bb7b4a74606f"}
Impacted version:
1.7.0
. All previous versions log in a slightly different format and are not impacted.To Reproduce
Deploy latest
1.7.0
operator, create a non SuperStream CR and see the log lineExpected behavior
ControllerKind should be the actual controller kind name
Fix
This is currently fixed in controller-runtime master branch kubernetes-sigs/controller-runtime#1907. We can wait til their next release. I will mark this issue as blocked for now and leave it open as a reminder for us.
The text was updated successfully, but these errors were encountered: