-
Notifications
You must be signed in to change notification settings - Fork 95
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
apimanager_status_reconciler.go: add debug logs #812
Conversation
Hi @ilargitxiki. Thanks for your PR. I'm waiting for a 3scale member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
It's me testing from an account without permissions :) |
Code Climate has analyzed commit 25aa184 and detected 0 issues on this pull request. View more on Code Climate. |
/ok-to-test |
Verification
1.6817183590378149e+09 DEBUG controllers.APIManager Status apimanagerAvailableCondition {"Status Reconciler": "3scale-test/apimanager-sample", "deploymentsAvailable": false, "defaultRoutesReady": false}
1.68171826334244e+09 DEBUG controllers.APIManager Status defaultRoutesReady: route not found {"Status Reconciler": "3scale-test/apimanager-sample", "expectedRouteHost": "master.apps.aucunnin.d3ys.s1.devshift.org"}
1.6817182633424456e+09 DEBUG controllers.APIManager Status defaultRoutesReady: route not found {"Status Reconciler": "3scale-test/apimanager-sample", "expectedRouteHost": "3scale.apps.aucunnin.d3ys.s1.devshift.org"}
1.6817182633424509e+09 DEBUG controllers.APIManager Status defaultRoutesReady: route not found {"Status Reconciler": "3scale-test/apimanager-sample", "expectedRouteHost": "3scale-admin.apps.aucunnin.d3ys.s1.devshift.org"}
Guessing the route comes up before an full reconcile so we will never hit this . |
Not merged My review stands it was #805 that merged |
If no issues are found, "defaultRouteReady: route not ready" should not be seen. That's when the route has not been accepted by Openshift. A common case of not being accepted is when the domain name has already been used.I hit that state when I re-used the same domain name in two different namespaces when deploying 3scale. The route created for backend was in "Not Ready" state and that log line showed up. It is easy to reproduce, just create a route with, let's say |
Ok so I created a second apimanager CR in the default namespace with the same wildcarddomain |
Crashing pods? That should be something else, out of the scope of this PR |
Ok created a dummy route to match the 3scale-admin, then deployed 3scale operator , see the debug error
|
No description provided.